跳转到主要内容
GET
GET /admin/api/context

授权

gproxy_session
string
cookie
必填

响应

Success

The whole answer.

callerKind
string
必填

apiKey, oauthGrant or session. A console only ever sees session; a script reading its own context sees which credential it presented.

scope
object | null
必填

What this request is acting as. null means the caller administers several scopes and named none — every other route answers 400 until one is named.

scopeHeader
string
必填

The header a session names its scope with, so a console does not have to hard-code it.

scopes
object[]
必填

Every scope this caller may act as. One entry for an instance administrator, one for an API key, one or more for a session.

sections
object[]
必填

The sections scope reaches, in navigation order. Empty while scope is null.

user
object
必填