All Verbs | /google/realtimenotice |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
message | query | GoogleRealTimeNotificationMessage | No | |
subscription | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
data | form | string | No | |
messageId | form | string | No | |
attributes | form | Object | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /google/realtimenotice HTTP/1.1
Host: tstsrvs.redhotpie.com.au
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
message:
{
data: String,
messageId: String,
attributes: {}
},
subscription: String
}