Atmosphere GroupsOpen specificationBeta
MenuClose

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
Published
On the network, the same as the spec has it.
On the reference host
fyi.opensocial.listJoinRequests, its schema of the same name. It may differ from this one.

main query

Parameters

FieldTypeDescription
limitinteger
  • default: 50
  • minimum: 1
  • maximum: 100
cursorstring

Output

Encoding: application/json

FieldTypeDescription
cursorstring
requests (required)array of org.atgrp.defs#joinRequest

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"
        }
      ]
    }
  }
}

All of the spec's lexicons