MenuMethods

Query · GET

group.opensocial.listSubjects

The moderation queue.

The moderation queue. Requires mod.read.

Requires
mod.read

Parameters

groupstring · didrequired

The group DID. Every method is served by the group's host and authorized against that group's roles. Or the host's own DID, for its queue of what's shared with everyone: templates, their versions, and likes of them, for the host's moderators alone.

statusstring
openescalatedresolved
limitinteger
max 100default 50
cursorstring

Output

cursorstring
subjectsarray of group.opensocial.defs#subjectViewrequired

Schema

Lexicon JSON
{
  "lexicon": 1,
  "id": "group.opensocial.listSubjects",
  "defs": {
    "main": {
      "type": "query",
      "description": "The moderation queue. Requires mod.read.",
      "parameters": {
        "type": "params",
        "required": [
          "group"
        ],
        "properties": {
          "group": {
            "type": "string",
            "format": "did",
            "description": "The group DID. Every method is served by the group's host and authorized against that group's roles. Or the host's own DID, for its queue of what's shared with everyone: templates, their versions, and likes of them, for the host's moderators alone."
          },
          "status": {
            "type": "string",
            "knownValues": [
              "open",
              "escalated",
              "resolved"
            ]
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100
          },
          "cursor": {
            "type": "string"
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "subjects"
          ],
          "properties": {
            "cursor": {
              "type": "string"
            },
            "subjects": {
              "type": "array",
              "items": {
                "type": "ref",
                "ref": "group.opensocial.defs#subjectView"
              }
            }
          }
        }
      }
    }
  }
}

← All methods