MoQ
MoQRelays
List relays
Get a relay
Create a relay
Update a relay
Delete a relay
ModelsExpand Collapse
RelayGetResponse object { config, created, modified, 3 more } Full relay details (no tokens).
Full relay details (no tokens).
RelayCreateResponse object { config, created, issuers, 3 more } Relay with its auto-created default token pair (one full-access
[publish, subscribe] and one [subscribe]-only), each with its one-time
secret, wrapped in the issuers envelope.
Relay with its auto-created default token pair (one full-access [publish, subscribe] and one [subscribe]-only), each with its one-time secret, wrapped in the issuers envelope.
config: object { upstreams }
issuers: array of object { cloudflare_tokens, issuer, type } Token collection (discriminated union on type). On create this
holds the auto-created default pair, each including its one-time
secret.
Token collection (discriminated union on type). On create this
holds the auto-created default pair, each including its one-time
secret.
RelayUpdateResponse object { config, created, modified, 3 more } Full relay details (no tokens).
Full relay details (no tokens).
MoQRelaysTokens
Create a token
List tokens
Revoke a token
ModelsExpand Collapse
TokenCreateResponse object { issuers } A relay’s token collection, keyed on issuer type (a discriminated
union). V1 ships exactly one arm (cloudflare_jwt). Clients iterate
issuers, switch on type, and ignore unknown types — that contract is
what makes adding or removing an arm non-breaking.
A relay’s token collection, keyed on issuer type (a discriminated
union). V1 ships exactly one arm (cloudflare_jwt). Clients iterate
issuers, switch on type, and ignore unknown types — that contract is
what makes adding or removing an arm non-breaking.
issuers: array of object { cloudflare_tokens, issuer, type }
TokenListResponse object { issuers } A relay’s token collection, keyed on issuer type (a discriminated
union). V1 ships exactly one arm (cloudflare_jwt). Clients iterate
issuers, switch on type, and ignore unknown types — that contract is
what makes adding or removing an arm non-breaking.
A relay’s token collection, keyed on issuer type (a discriminated
union). V1 ships exactly one arm (cloudflare_jwt). Clients iterate
issuers, switch on type, and ignore unknown types — that contract is
what makes adding or removing an arm non-breaking.