All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
RelaySessionCreate | Post /v1/relays/sessions | Create a Relay Session |
RelaySessionDelete | Delete /v1/relays/sessions/{session_id} | Delete a Relay Session |
RelaySessionGet | Get /v1/relays/sessions/{session_id} | Get a Relay Session |
RelaySessionList | Get /v1/relays/sessions | List all Relay Sessions |
RelayUserAuthorize | Post /v1/relays/sessions:authorize-user | Authorize a user on a Relay Session |
RelayUserRevoke | Post /v1/relays/sessions:revoke-user | Remove a user on a Relay Session |
RelaySessionBaseResponse RelaySessionCreate(ctx, payload) Create a Relay Session
Create a relay session with users.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
payload | RelaySessionCreatePayload |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RelaySessionDelete(ctx, sessionId) Delete a Relay Session
Delete a relay session.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
sessionId | string |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RelaySessionBaseResponse RelaySessionGet(ctx, sessionId) Get a Relay Session
Retrieve the information for a relay session.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
sessionId | string |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RelaySessionListResponse RelaySessionList(ctx, ) List all Relay Sessions
List all the active relay sessions.
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RelaySessionUserBaseResponse RelayUserAuthorize(ctx, payload) Authorize a user on a Relay Session
Authorize a user on a Relay Session
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
payload | RelayUserAuthorizePayload |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RelaySessionBaseResponse RelayUserRevoke(ctx, payload) Remove a user on a Relay Session
Authorize a user on a Relay Session
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
payload | RelayUserRevokePayload |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]