GET api/WidevineProtectionInfoCredentials/{id}
Returns the credential with the specified ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of credentials to return. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
WidevineProtectionInfoCredentials| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The ID of the credentials. |
globally unique identifier |
None. |
| ProviderName |
The name of the provider. |
string |
Required Max length: 128 Min length: 1 |
| SigningKey |
The key to use for signing. |
Collection of byte |
Required Max length: 32 Min length: 32 |
| SigningIv |
The initialization vector to use for signing. |
Collection of byte |
Required Max length: 16 Min length: 16 |
Status Codes
All HTTP status codes must be expected, but the following status codes are the most probable:
- OK (200) - Credentials are found and returned.
- BadRequest (400) - The ID of credentials is invalid.
- NotFound (404) - Credentials with the specified ID are not found.
Response Formats
application/json, text/json
Sample:
{
"Id": "eb36ffd1-5c7b-4910-ab1d-8b33e94dec58",
"ProviderName": "sample string 2",
"SigningKey": "QEA=",
"SigningIv": "QEA="
}