com.atproto.admin.getInviteCodes
GET/com.atproto.admin.getInviteCodes
Get an admin view of invite codes.
Request
Query Parameters
sort string
Possible values: [recent
, usage
]
Default value: recent
limit integer
Possible values: >= 1
and <= 500
Default value: 100
cursor string
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
cursor string
codes
object[]
required
code stringrequired
available integerrequired
disabled booleanrequired
forAccount stringrequired
createdBy stringrequired
createdAt date-timerequired
uses
object[]
required
usedBy didrequired
usedAt date-timerequired
{
"cursor": "string",
"codes": [
{
"code": "string",
"available": 0,
"disabled": true,
"forAccount": "string",
"createdBy": "string",
"createdAt": "2024-09-11T00:26:20.063Z",
"uses": [
{
"usedBy": "string",
"usedAt": "2024-09-11T00:26:20.063Z"
}
]
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error required
message stringrequired
{
"message": "string"
}
Loading...