Skip to content

Latest commit

 

History

History
66 lines (36 loc) · 1.97 KB

File metadata and controls

66 lines (36 loc) · 1.97 KB

\StateApi

All URIs are relative to http://localhost:8000/api

Method HTTP request Description
create_or_update_state POST /v1/state/create_or_update Create or update the state for a connection.
get_state POST /v1/state/get Fetch the current state for a connection.

create_or_update_state

crate::models::ConnectionState create_or_update_state(connection_state_create_or_update) Create or update the state for a connection.

Parameters

Name Type Description Required Notes
connection_state_create_or_update ConnectionStateCreateOrUpdate [required]

Return type

crate::models::ConnectionState

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_state

crate::models::ConnectionState get_state(connection_id_request_body) Fetch the current state for a connection.

Parameters

Name Type Description Required Notes
connection_id_request_body ConnectionIdRequestBody [required]

Return type

crate::models::ConnectionState

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]