Add instruments endpoints for v3. We'll want the standard /v3/instruments and /v3/instruments/{instruments_id} and a /v3/manufacturers/{manufacturers_id}/instruments. We an build out the list resource with the following query params:
page
limit
bbox
radius + coordinates
monitor
The response model will look like this:
{
"id": 42,
"name": "FooBar",
"description": "this is a description about the instrument",
"manufacturer": {
"id": 1,
"name": "My Manufacturer"
},
"isMonitor": true,
"locationsCount": 1234
}
Where the manufacturer key should be the ManufacturersBase model.
Add instruments endpoints for v3. We'll want the standard /v3/instruments and /v3/instruments/{instruments_id} and a /v3/manufacturers/{manufacturers_id}/instruments. We an build out the list resource with the following query params:
page
limit
bbox
radius
+coordinates
monitor
The response model will look like this:
Where the
manufacturer
key should be theManufacturersBase
model.