Skip to content

Returns information necessary for registering subscribing to push notifications with this handler

GET
/api/pushnotification/{type}/server-information

Authorizations

Parameters

Path Parameters

type*

the handler type

Typestring
Required

Responses

Successful

Samples

cURL
curl -X GET http://localhost/api/pushnotification/{type}/server-information
JavaScript
fetch("http://localhost/api/pushnotification/{type}/server-information")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/pushnotification/{type}/server-information");
Python
import requests
response = requests.get("http://localhost/api/pushnotification/{type}/server-information")
print(response.json())