Skip to content

Sessions #6

Description

@ztnel

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"
  ]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

endpointendpoint creation or modificationmodeldatabase model change

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions