Read

GET /api/circuits/{id}

Fetch a circuit

Path parameters

  • id string Required

Responses

  • 200 application/json

    Successful Response

    Hide response attributes Show response attributes object
    • name string Required

      Minimum length is 3, maximum length is 100.

    • id string Required

      Maximum length is 26.

  • 422 application/json

    Validation Error

    Hide response attribute Show response attribute object
    • detail array[object]
      Hide detail attributes Show detail attributes object
GET /api/circuits/{id}
curl \
 -X GET https://metropolitanacolombia.org/api/circuits/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "name": "string",
  "id": "string"
}
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}