- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Gets a TopicSubscription.
HTTP request
GET https://fcm.googleapis.com/v1/{name=projects/*/registrations/*/topicSubscriptions/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the topic subscription to retrieve. Format: projects/{project}/registrations/{registration}/topicSubscriptions/{topicSubscription} |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of TopicSubscription.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/firebase.messaginghttps://www.googleapis.com/auth/cloud-platform
For more information, see the OAuth 2.0 Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
cloudmessaging.topicSubscriptions.get
For more information, see the IAM documentation.