http://api-motorcycle.makingdatameaningful.com/api/v1
Endpoint:
GET /specifications/{year}/{make}/{model}
Description: Retrieve specifications for a motorcycle by year, make, and model.
Endpoint:
GET /image/{id}/media
Description: Retrieve an image as media content by its ID.
Endpoint:
GET /image/{id}/link
Description: Retrieve an image link by its ID.
Endpoint:
GET /specifications/{make}/{model}
Description: Retrieve specifications for a motorcycle by make and model.
Endpoint:
GET /specifications/{id}
Description: Retrieve specifications for a motorcycle by its ID.
Endpoint:
GET /models/{make}
Description: Retrieve a list of models by make.
Endpoint:
GET /models/{make_id}/{year}
Description: Retrieve a list of models by make ID and year.
Endpoint:
GET /makes
Description: Retrieve a list of all motorcycle makes.
Endpoint:
GET /production-years/{model_id}
Description: Retrieve production years grouped by model ID.
Endpoint:
GET /categories
Description: Retrieve a list of all motorcycle categories.
Endpoint:
GET /specifications/group/{group}
Description: Retrieve specifications by group.
Endpoint:
``>
GET /models/{make_id}/{year}/{category}
**Description:** Retrieve a list of models by make ID, year, and category.
### 13. Get Models by Make ID and Category
**Endpoint:**
GET /models/{make_id}/{category}
**Description:** Retrieve a list of models by make ID and category.
---
## Example Requests
### Retrieve Specifications by Year, Make, Model
```bash
curl -X GET "http://api-motorcycle.makingdatameaningful.com/api/v1/specifications/2021/Yamaha/MT-07"
curl -X GET "http://api-motorcycle.makingdatameaningful.com/api/v1/image/12345/media"
curl -X GET "http://api-motorcycle.makingdatameaningful.com/api/v1/models/Yamaha"
Provide an API key as a header:
x-api-key: YOUR_API_KEY
All responses are returned in JSON format.
Errors are returned with appropriate HTTP status codes and a message describing the error.
If you need further customization or specific examples for each endpoint, feel free to ask!