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)
Record
at://did:plc:4pt2cnpyvfgn5b7uxwn2shwv/com.atproto.lexicon.schema/org.atgrp.listJoinRequests
In the spec
org.atgrp.listJoinRequests, the same as published here.

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 as published
{
  "id": "org.atgrp.listJoinRequests",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "requests"
          ],
          "properties": {
            "cursor": {
              "type": "string"
            },
            "requests": {
              "type": "array",
              "items": {
                "ref": "org.atgrp.defs#joinRequest",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          }
        }
      },
      "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."
    }
  },
  "lexicon": 1
}

All lexicons