In this article
Get Subscription Connection
Use this endpoint to view individual subscription connections
URL
https://api.digitalvault.cloud/subscriptionconnection/{{subscriptionconnection_id}}
Method
GET
Required IMS Scopes
subscription_write
URL Path Parameters
| Name | Description |
|---|---|
| id | Connection ID to retreive |
Request Header Parameters
| Property | Description | |
|---|---|---|
| Authentication | Bearer {access_token} required |
Retrieve access token |
Response Body Parameters
| Name | Description |
|---|---|
| id | For the connection object |
| subscriber | Principal to list as subscriber in prefixed-principal notation |
| Connection | JObject representing the connection to send notification to |
Errors
| Error | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Forbiden. Possible causes: You do not have access to this endpoint (scope) You do not have access to this connection |
Example
Request
GET https://api.digitalvault.cloud/subscriptionconnection/SOMESUBCONNID
Response
{
"id": "SOMESUBCONNID",
"subscriber": "sub:app:testApp1",
"connection": {
"type": "AzureEventHubSend",
"connectionString": "AZURE_EH_CONN_STR"
}