us.off-the-clock.push.getPushSettings
Whether this AppView sends Web Push, its VAPID public key, and the viewer's devices and push preferences (D63).
Details · query
| Kind | query |
|---|---|
| Authority | push.off-the-clock.us |
| Indexed |
Checks
Validunlimited-stringdefs.device.properties.hostNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.device.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.kindSetting.properties.kindNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.mutedSpaces.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.publicKeyNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"device": {
"description": "One of the viewer's subscriptions. The endpoint itself is never answered.",
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"host": {
"description": "The push service's host.",
"type": "string"
},
"id": {
"description": "An opaque name for the subscription, for unregisterPushSubscription.",
"type": "string"
},
"label": {
"description": "What the browser called itself, such as iPhone or Mac · Firefox.",
"maxLength": 64,
"type": "string"
},
"lastSuccessAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"id",
"host",
"createdAt"
],
"type": "object"
},
"kindSetting": {
"properties": {
"enabled": {
"type": "boolean"
},
"kind": {
"knownValues": [
"reply",
"mention",
"quote",
"rsvp",
"event-status",
"like",
"repost",
"vote"
],
"type": "string"
}
},
"required": [
"kind",
"enabled"
],
"type": "object"
},
"main": {
"description": "Whether this AppView sends Web Push, its VAPID public key, and the viewer's devices and push preferences (D63).",
"errors": [
{
"name": "NotSpaceMember"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"devices": {
"items": {
"ref": "#device",
"type": "ref"
},
"type": "array"
},
"kinds": {
"items": {
"ref": "#kindSetting",
"type": "ref"
},
"type": "array"
},
"mutedSpaces": {
"items": {
"description": "A pair's TID.",
"type": "string"
},
"type": "array"
},
"publicKey": {
"description": "The VAPID public key as base64url, the applicationServerKey browsers subscribe with; absent with push off.",
"type": "string"
},
"pushEnabled": {
"type": "boolean"
}
},
"required": [
"pushEnabled",
"devices",
"kinds",
"mutedSpaces"
],
"type": "object"
}
},
"type": "query"
}
},
"id": "us.off-the-clock.push.getPushSettings",
"lexicon": 1
}