Return details of all Bikes, Models & Years

GET /bikes/all

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer(int32)
    • name string | null
    • image string | null
    • models array[object] | null
      Hide models attributes Show models attributes object
      • id integer(int32)
      • name string | null
      • image string | null
      • years array[object] | null
        Hide years attributes Show years attributes object
        • id integer(int32)
        • name string | null
        • mic string | null
        • image string | null
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
  • 429 application/json

    Too Many Requests

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
GET /bikes/all
curl \
 --request GET 'https://dealers.api.rg-racing.com/bikes/all'
Response examples (200)
[
  {
    "id": 42,
    "name": "string",
    "image": "string",
    "models": [
      {
        "id": 42,
        "name": "string",
        "image": "string",
        "years": [
          {
            "id": 42,
            "name": "string",
            "mic": "string",
            "image": "string"
          }
        ]
      }
    ]
  }
]
Response examples (401)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (429)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}