Authentication

Authentication is managed using HTTP authentication. Every request must include the Authorization HTTP header. Use your API token as the username, and X (or some otherwise bogus text) as the password (only the API token is used for authenticating API requests)

Token can be generated and revocated from the web interface of the WebServices.

Example using the authentication through curl:

curl -H 'Accept: application/json' -u 653638dc733afce75130303fe6e6010f63768af0:X https://dashboard.munic.io/api/v2/:api_endpoint
curl -H 'Accept: application/json' -H 'Content-type: application/json' -u 653638dc733afce75130303fe6e6010f63768af0:X https://dashboard.munic.io/api/v2/:api_endpoint -d '{JSON data}'

Pagination

Requests that return multiple items will be paginated to 30 items by default. You can specify further pages with the page parameter.

Resources

Obd informations
Visible Obd information

Resource Description
GET /api/vehicle/v1/makes/:make_name/models/:model_id/obds
GET /api/vehicle/v1/makes/:make_name/models/:model_id/obds/:ecu_name
POST /api/vehicle/v1/makes/:make_name/models/:module_id/obds Declare a new model
PUT /api/vehicle/v1/makes/:make_name/models/:module_id/obds Update a obd information

Vehicle manufacturers
Visible Make information

Resource Description
GET /api/vehicle/v1/makes List of manufacturer
GET /api/vehicle/v1/makes/:make_name
POST /api/vehicle/v1/makes Declare a new make
PUT /api/vehicle/v1/makes Update make