The account asking: by the session cookie the pages' login sets, or a service token. Nothing, for no one.
Output
application/jsonaccounts
array
Optional
The other accounts this browser is logged in to, which it can switch to without logging in again; absent when none.
actor
refdev.knotless.defs#actorView
Optional
The account asking; absent when no one is.
admin
boolean
Optional
Whether the account asking is one of this appview's operators, who moderate it and see how it is used; absent when not.
delegated
boolean
Optional
Whether this appview's gateway writes for the account asking, which delegated writes to it: collaborators push to its repositories through it, and runners land their merge queues. Absent when not.
login
boolean
Optional
Whether this appview's pages can log people in: it is an OAuth client, with a public URL.
spaces
boolean
Optional
Whether the account asking has a PDS with spaces, which private repositories live in; absent when no one asks, or this appview does not know yet.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "The account asking: by the session cookie the pages' login sets, or a service token. Nothing, for no one.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"accounts": {
"description": "The other accounts this browser is logged in to, which it can switch to without logging in again; absent when none.",
"items": {
"ref": "dev.knotless.defs#actorView",
"type": "ref"
},
"type": "array"
},
"actor": {
"description": "The account asking; absent when no one is.",
"ref": "dev.knotless.defs#actorView",
"type": "ref"
},
"admin": {
"description": "Whether the account asking is one of this appview's operators, who moderate it and see how it is used; absent when not.",
"type": "boolean"
},
"delegated": {
"description": "Whether this appview's gateway writes for the account asking, which delegated writes to it: collaborators push to its repositories through it, and runners land their merge queues. Absent when not.",
"type": "boolean"
},
"login": {
"description": "Whether this appview's pages can log people in: it is an OAuth client, with a public URL.",
"type": "boolean"
},
"spaces": {
"description": "Whether the account asking has a PDS with spaces, which private repositories live in; absent when no one asks, or this appview does not know yet.",
"type": "boolean"
}
},
"type": "object"
}
},
"type": "query"
}