curl --request POST \
--url http://localhost:{port}/namespace/{namespace}/bigPeer/{big_peer_name}/app/{app_name}/provider \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"webhookUrl": "<string>"
},
"name": "<string>"
}
'{
"name": "<string>",
"appId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"authProviders": {}
}Add Auth Provider
Adds or updates an auth provider for a Big Peer app. If a provider with the same name already exists, it will be overwritten with the new provider config.
curl --request POST \
--url http://localhost:{port}/namespace/{namespace}/bigPeer/{big_peer_name}/app/{app_name}/provider \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"webhookUrl": "<string>"
},
"name": "<string>"
}
'{
"name": "<string>",
"appId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"authProviders": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.ditto.live/llms.txt
Use this file to discover all available pages before exploring further.
Body
Response
Auth provider successfully added or updated.
RFC 1123 DNS labels used for most Kubernetes resource names. Some resource types require their names to follow the DNS label standard as defined in [RFC 1123][rfc1123]. This means the name must: * contain at most 63 characters * contain only lowercase alphanumeric characters or '-' * start with an alphanumeric character * end with an alphanumeric character [rfc1123]: https://tools.ietf.org/html/rfc1123
1 - 63^[a-z0-9]([-a-z0-9]*[a-z0-9])?$UUID used to identify a BigPeerApp resource
Auth providers associated with a BigPeer App, to be used when authenticating devices against BigPeer Subscription.
Show child attributes
Show child attributes
Was this page helpful?