In this article
Get Subscription Topic
Use this endpoint to view individual subscription topics
URL
https://{{HOST}}/subscriptiontopic/{{subscriptiontopic_id}}
Method
GET
Required IMS Scopes
- subscription_write
- apollo_write
URL Path Parameters
| Name | Description | Example | Type |
|---|---|---|---|
| id required |
Topic ID to retreive | GUID | string |
Request Header Parameters
| Type | Value | Description |
|---|---|---|
| Authorization required |
Bearer {access_token} | IMS access token |
| Content-Type required |
application/json | Content Type |
Example
Request
curl -X GET
'https://{{HOST}}/subscriptiontopic/SOMETOPICID'
-H 'Authorization: Bearer {access_token}'
Response
{
"id": "SOMETOPICID"
}
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 topic |
Response Body Parameters
| Name | Description | Schema |
|---|---|---|
| id | For the topic object | string |