GET /v3/modelos/{id}

Modelo.

Request

Path parameters

Name Type Constraints Descripción
id integer (int32) Required
Id del Modelo

Responses

HTTP-StatusCode 200

OK

Modelo when Accept: application/json application/vnd.autocosmos.entry+json text/json
{
  "Marca": "Ferrari",
  "Nombre": "F360",
  "Codename": "f360",
  "Carrocerias": [
    "convertible",
    "coupe"
  ],
  "Versiones": {
    "_links": {
      "rel1": {
        "href": "/v3/versiones/somevalue"
      },
      "rel2": {
        "href": "/v3/versiones/somevalue?param1={param1}&param2={param2}",
        "templated": true
      }
    }
  },
  "_links": {
    "rel1": {
      "href": "/v3/modelos/somevalue"
    }
  }
}
ModeloRef when Accept: application/vnd.autocosmos.ref+json
{
  "href": "/v3/modelos/somevalue",
  "title": "F360"
}

HTTP-StatusCode 404

El modelo, no existe.