GetPlatformApplicationAttributes
Written by
Updated at April 17, 2025
Gets the mobile push notification channel or in-browser push notification channel parameters.
HTTP request
POST https://notifications.yandexcloud.net/
Query parameters
Parameter | Description |
---|---|
Action |
string Required field. Operation type parameter. Value: GetPlatformApplicationAttributes . |
PlatformApplicationArn |
string Required field. Push notification channel ID. Example: arn:aws:sns::aoegtvhtp8ob********:app/GCM/test-cns-9990 . |
ResponseFormat |
string Response format. The possible values are:
|
Response
Successful response
If there are no errors, Cloud Notification Service returns the 200
HTTP code.
A successful response contains additional data in XML or JSON format depending on the specified ResponseFormat
parameter.
Data schema:
XML
JSON
<?xml version="1.0" encoding="UTF-8"?>
<GetPlatformApplicationAttributesResponseXML>
<ResponseMetadata>
<RequestId>string</RequestId>
</ResponseMetadata>
<GetPlatformApplicationAttributesResult>
<Attributes>
<entry>
<key>string</key>
<value>string</value>
</entry>
</Attributes>
</GetPlatformApplicationAttributesResult>
</GetPlatformApplicationAttributesResponseXML>
Where:
RequestId
: Request ID.Attributes
: Notification channel attributes. The following attributes are supported:ApplePlatformTeamID
: Developer ID, only when using a token.ApplePlatformBundleID
: App ID (bundle ID), only when using a token.AppleCertificateExpiryDate
: Certificate expiry date, only when using a certificate.
{
"ResponseMetadata": {
"RequestId": "string"
},
"GetPlatformApplicationAttributesResult": {
"Attributes": {
"Attribute": "string"
}
}
}
Where:
RequestId
: Request ID.Attributes
: Notification channel attributes. The following attributes are supported:ApplePlatformTeamID
: Developer ID, only when using a token.ApplePlatformBundleID
: App ID (bundle ID), only when using a token.AppleCertificateExpiryDate
: Certificate expiry date, only when using a certificate.Name
: Name of the mobile push notification channel.Description
: Description of the mobile push notification channel.Platform
: Platform for sending mobile push notifications:APNS
: Apple Push Notification service .APNS_SANDBOX
: Apple Push Notification service for app testing.FCM
: Firebase Cloud Messaging .HMS
: Huawei Mobile Services .WEB
: In-browser push notifications .
CreatedAt
: Date and time when the mobile push notification channel was created.
Error response
In case of an error, Cloud Notification Service returns a message with the appropriate HTTP code.
For a list of common error codes for all actions, see Errors.