GET /v3/colores/{id}

Color por Id.

Request

Path parameters

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

Responses

HTTP-StatusCode 200

OK

Color when Accept: application/json application/vnd.autocosmos.entry+json text/json
{
  "Nombre": "Blue",
  "HtmlColor": "#0000ff",
  "_links": {
    "rel1": {
      "href": "/v3/colores/somevalue"
    }
  }
}
ColorRef when Accept: application/vnd.autocosmos.ref+json
{
  "href": "/v3/colores/somevalue",
  "title": "Blue"
}

HTTP-StatusCode 404

El color, no existe.