org. atgrp. listJoinRequests
List pending join requests, which the host stores privately. Approve one by writing the requester's membership record. Deny requests with 'denyJoinRequest'. Requires auth as the group.
- Kind
- A method (query)
- Part of
- The spec
- Named in
- File
lexicons/org/atgrp/listJoinRequests.on tangledjson - Published
- On the network, the same as the spec has it.
- On the reference host
fyi., its schema of the same name. It may differ from this one.opensocial. listJoinRequests
main query
Parameters
| Field | Type | Description |
|---|---|---|
limit | integer
| |
cursor | string |
Output
Encoding: application/json
| Field | Type | Description |
|---|---|---|
cursor | string | |
requests (required) | array of org. |
Errors
InvalidCursor
The schema in the spec
{
"lexicon": 1,
"id": "org.atgrp.listJoinRequests",
"defs": {
"main": {
"type": "query",
"description": "List pending join requests, which the host stores privately. Approve one by writing the requester's membership record. Deny requests with 'denyJoinRequest'. Requires auth as the group.",
"parameters": {
"type": "params",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
},
"cursor": {
"type": "string"
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"requests"
],
"properties": {
"cursor": {
"type": "string"
},
"requests": {
"type": "array",
"items": {
"type": "ref",
"ref": "org.atgrp.defs#joinRequest"
}
}
}
}
},
"errors": [
{
"name": "InvalidCursor"
}
]
}
}
}