Description
Endpoint
GET /v1/session/<id>
This resource is generated by the backend automatically on a capture without a session in the header. After the resource is created the session id is returned to the client so all subsequent captures can be linked with a session
PUT /v1/session/<id>
Used by the backend to append new captures to a session
DELETE /v1/session/<id>
removes a session instance
Model
Sessions will consist of a list of captures in the order they were taken. Only calibration-related captures are recorded by the backend.
{
"id": "dsajdksbadjba",
"created_at": "2021-07-11",
"updated_at": "2021-07-11",
"captures": [
"jljfkdljsfkld",
"dasbyduisadvu",
"kldsjdaidoahd",
"jljfkdljsfkld"
]
}
Description
Endpoint
GET
/v1/session/<id>This resource is generated by the backend automatically on a capture without a session in the header. After the resource is created the session id is returned to the client so all subsequent captures can be linked with a session
PUT
/v1/session/<id>Used by the backend to append new captures to a session
DELETE
/v1/session/<id>removes a session instance
Model
Sessions will consist of a list of captures in the order they were taken. Only calibration-related captures are recorded by the backend.
{ "id": "dsajdksbadjba", "created_at": "2021-07-11", "updated_at": "2021-07-11", "captures": [ "jljfkdljsfkld", "dasbyduisadvu", "kldsjdaidoahd", "jljfkdljsfkld" ] }