MoQ
MoQRelays
List relays
client.moq.relays.list(RelayListParams { account_id, asc, created_after, 2 more } params, RequestOptionsoptions?): SinglePage<RelayListResponse { created, modified, name, uid } >
GET/accounts/{account_id}/moq/relays
Get a relay
client.moq.relays.get(stringrelayID, RelayGetParams { account_id } params, RequestOptionsoptions?): RelayGetResponse { config, created, modified, 3 more }
GET/accounts/{account_id}/moq/relays/{relay_id}
Create a relay
client.moq.relays.create(RelayCreateParams { account_id, name } params, RequestOptionsoptions?): RelayCreateResponse { config, created, issuers, 3 more }
POST/accounts/{account_id}/moq/relays
Update a relay
client.moq.relays.update(stringrelayID, RelayUpdateParams { account_id, config, name } params, RequestOptionsoptions?): RelayUpdateResponse { config, created, modified, 3 more }
PUT/accounts/{account_id}/moq/relays/{relay_id}
Delete a relay
client.moq.relays.delete(stringrelayID, RelayDeleteParams { account_id } params, RequestOptionsoptions?): RelayDeleteResponse | null
DELETE/accounts/{account_id}/moq/relays/{relay_id}
MoQRelaysTokens
Create a token
client.moq.relays.tokens.create(stringrelayID, TokenCreateParams { account_id, operations, expires_at, label } params, RequestOptionsoptions?): TokenCreateResponse { issuers }
POST/accounts/{account_id}/moq/relays/{relay_id}/tokens
List tokens
client.moq.relays.tokens.list(stringrelayID, TokenListParams { account_id } params, RequestOptionsoptions?): TokenListResponse { issuers }
GET/accounts/{account_id}/moq/relays/{relay_id}/tokens
Revoke a token
client.moq.relays.tokens.delete(stringjti, TokenDeleteParams { account_id, relay_id } params, RequestOptionsoptions?): TokenDeleteResponse { errors, messages, success }
DELETE/accounts/{account_id}/moq/relays/{relay_id}/tokens/{jti}