openOBD sessions are sessions that can be created to automate diagnostic routines using gRPC. The session allows direct communication with a vehicle, as well as interacting with the vehicle side technician through a user interface. A newly created session will have to be activated through gRPC before communication is possible. More information on openOBD and the available gRPC calls can be found at https://docs.openobd.com.
A function object provides information about a registered openOBD function.
| id | string <uuid> The identifier of the openOBD function. | ||||||
| description | string [ 1 .. 1500 ] characters Description as set by the function owner. | ||||||
| name | string [ 3 .. 255 ] characters Name as set by the function owner. | ||||||
| online | boolean Whether the function is currently available to be run. | ||||||
object (Money) Price that should be paid for a function invocation. | |||||||
| |||||||
| provider_id | string <uuid> The identifier of the provider that provides this function. | ||||||
| public | boolean Whether this function is available for other partners to execute. If set to false, this function can only invoked by the partner that registered the function. | ||||||
| supported_products | Array of strings <uuid> >= 0 items Supported products as set by the function owner. | ||||||
| supported_vehicles | Array of integers <int64> >= 0 items Supported vehicles as set by the function owner. | ||||||
| version | string [ 1 .. 50 ] characters Version as set by the function owner. Any string is allowed. E.g. '1.12.3a', 'beta', '21', etc. | ||||||
| visibility | string (FunctionVisibility) Determines where the function will be shown. Does not affect whether the function can be run or not.
| ||||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "name": "string",
- "online": true,
- "price": {
- "amount": 0,
- "currency": "EUR"
}, - "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44",
- "public": true,
- "supported_products": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "supported_vehicles": [
- 0
], - "version": "beta 1.12.3a (semi-production)",
- "visibility": "hidden"
}A session object provides information about the current state of an openOBD session.
| id | string <uuid> Identifier referencing this specific openOBD session. | ||||||||||||
| authentication_token | string Token required to be passed to the gRPC endpoint to activate the openOBD session. One time use only. | ||||||||||||
| created_at | string <date-time> Time when the session was created. | ||||||||||||
| grpc_endpoint | string <uri> Endpoint to communicate to when using gRPC. | ||||||||||||
| state | string The current state of the openOBD session.
|
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "authentication_token": "string",
- "created_at": "2019-08-24T14:15:22.651+0000",
- "state": "available"
}Get a list of openOBD sessions.
Retrieved all sessions.
An error occurred - see status code and problem response for more information.
{- "query": {
- "limit": 25
}, - "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "authentication_token": "string",
- "created_at": "2019-08-24T14:15:22.651+0000",
- "state": "available"
}
], - "total": 4
}Get info on an openOBD session.
Successful response.
| id | string <uuid> Identifier referencing this specific openOBD session. | ||||||||||||
| authentication_token | string Token required to be passed to the gRPC endpoint to activate the openOBD session. One time use only. | ||||||||||||
| created_at | string <date-time> Time when the session was created. | ||||||||||||
| grpc_endpoint | string <uri> Endpoint to communicate to when using gRPC. | ||||||||||||
| state | string The current state of the openOBD session.
|
An error occurred - see status code and problem response for more information.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "authentication_token": "string",
- "created_at": "2019-08-24T14:15:22.651+0000",
- "state": "available"
}Interrupt an openOBD session.
Successful response.
| id | string <uuid> Identifier referencing this specific openOBD session. | ||||||||||||
| authentication_token | string Token required to be passed to the gRPC endpoint to activate the openOBD session. One time use only. | ||||||||||||
| created_at | string <date-time> Time when the session was created. | ||||||||||||
| grpc_endpoint | string <uri> Endpoint to communicate to when using gRPC. | ||||||||||||
| state | string The current state of the openOBD session.
|
An error occurred - see status code and problem response for more information.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "authentication_token": "string",
- "created_at": "2019-08-24T14:15:22.651+0000",
- "state": "available"
}