space.highport.sites.getVisitorAccess

lexicons.highport.space

Documentation

The requesting visitor's access to the site serving this request: whether its members-only pages admit them. Served only at /_bard/xrpc/ on a Highport site, from the visitor's site session; never by highport.space. Uncacheable.

main query

The requesting visitor's access to the site serving this request: whether its members-only pages admit them. Served only at /_bard/xrpc/ on a Highport site, from the visitor's site session; never by highport.space. Uncacheable.

Output

Encodingapplication/json
member boolean Optional

Whether the site's members-only pages admit the signed-in visitor: true when they were confirmed at sign-in as a member of the space the site is in now. Absent when no visitor is signed in, and absent on a site with no members-only pages, where membership is never checked.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
View raw schema
{
  "description": "The requesting visitor's access to the site serving this request: whether its members-only pages admit them. Served only at /_bard/xrpc/ on a Highport site, from the visitor's site session; never by highport.space. Uncacheable.",
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "member": {
          "description": "Whether the site's members-only pages admit the signed-in visitor: true when they were confirmed at sign-in as a member of the space the site is in now. Absent when no visitor is signed in, and absent on a site with no members-only pages, where membership is never checked.",
          "type": "boolean"
        }
      },
      "type": "object"
    }
  },
  "type": "query"
}

Lexicon Garden

@