place.wisp.v2.privateSite.listShares
List share links for an owned private site. Never returns share tokens, only their non-secret display prefix.
Details · query
| Kind | query |
|---|---|
| Authority | privateSite.v2.wisp.place |
| Indexed |
Checks
Validunlimited-stringdefs.share.properties.labelNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.share.properties.shareIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.share.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.share.properties.tokenPrefixNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "List share links for an owned private site. Never returns share tokens, only their non-secret display prefix.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"shares": {
"items": {
"ref": "#share",
"type": "ref"
},
"type": "array"
}
},
"required": [
"shares"
],
"type": "object"
}
},
"parameters": {
"properties": {
"siteId": {
"format": "record-key",
"type": "string"
}
},
"required": [
"siteId"
],
"type": "params"
},
"type": "query"
},
"share": {
"properties": {
"audienceDid": {
"description": "Set when this link is restricted to a single account.",
"format": "did",
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"expiresAt": {
"format": "datetime",
"type": "string"
},
"label": {
"type": "string"
},
"lastUsedAt": {
"format": "datetime",
"type": "string"
},
"revokedAt": {
"format": "datetime",
"type": "string"
},
"shareId": {
"type": "string"
},
"status": {
"enum": [
"active",
"expired",
"revoked"
],
"type": "string"
},
"tokenPrefix": {
"description": "Non-secret leading fragment, for identification only.",
"type": "string"
}
},
"required": [
"shareId",
"tokenPrefix",
"createdAt",
"status"
],
"type": "object"
}
},
"id": "place.wisp.v2.privateSite.listShares",
"lexicon": 1
}