Skip to content

com.atproto.temp.dereferenceScope

Lexicon Version: 1

Type: query

Allows finding the oauth permission scope from a reference

Parameters:

NameTypeReq’dDescriptionConstraints
scopestringThe scope reference (starts with ‘ref:‘)
Output:
  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
scopestringThe full oauth permission scope
Possible Errors:
  • InvalidScopeReference: An invalid scope reference was provided.

{
"lexicon": 1,
"id": "com.atproto.temp.dereferenceScope",
"defs": {
"main": {
"type": "query",
"description": "Allows finding the oauth permission scope from a reference",
"parameters": {
"type": "params",
"required": [
"scope"
],
"properties": {
"scope": {
"type": "string",
"description": "The scope reference (starts with 'ref:')"
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"scope"
],
"properties": {
"scope": {
"type": "string",
"description": "The full oauth permission scope"
}
}
}
},
"errors": [
{
"name": "InvalidScopeReference",
"description": "An invalid scope reference was provided."
}
]
}
}
}