Get Product
Description
Get specified WebRTC Product.
Request
GET /v1/webrtc/products/:productId
Response
Successful response contains the following JSON formated body:
{
productId: string,
organizationId: string,
region: string,
name: string|null,
created: string,
tags: {
[key: string]: string
},
expired: boolean,
expiresAt: string|null,
configuredDevices: number,
publicKeys: {
id: string,
key: string
}[]
}
Response Status codes:
- 200 on success
Request headers
This request must have the following headers:
Authorization: bearer <ApiKey>
X-Nabto-Organization: <organizationId>
Example
Request
curl "https://api.cloud.nabto.com/v1/webrtc/products/:productId" \
-H "Authorization: Bearer <ApiKey>" \
-H "X-Nabto-Organization: <OrganizationId>"
Response
{
"productId": "pr-abcdefgh",
"organizationId": "or-lmnopqrs",
"region": "<region>",
"name": "friendly name",
"created": "2022-10-18T10:17:24.299Z",
"tags": {
"foo": "bar"
},
"expired": true,
"expiresAt": "2022-10-18T10:17:24.299Z",
"configuredDevices": 42,
"publicKeys": [{
"id": "<id>",
"key": "<key>"
}
,
...],
}