Web push on this deck: the VAPID public key, or none when push is off
GET
/api/v1/push
const url = 'https://deck.example.com/api/v1/push';const options = {method: 'GET', headers: {cookie: 'qd_auth=<qd_auth>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://deck.example.com/api/v1/push \ --cookie qd_auth=<qd_auth>Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Web push on this deck: the VAPID public key a browser subscribes with, or none when push is off.
Media typeapplication/json
Web push on this deck: the VAPID public key a browser subscribes with, or none when push is off.
object
public_key
string | null
Example generated
{ "public_key": "example"}