Outline · Example Payload

Documentsaddgroup

Documents

Documentsaddgroup is an example object payload from Outline, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdpathmethodsummarytagsrequestSchema

Example Payload

Raw ↑
{
  "operationId": "documentsAddGroup",
  "path": "/documents.add_group",
  "method": "POST",
  "summary": "Add a group to a document",
  "tags": [
    "Documents"
  ],
  "requestSchema": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "description": "Unique identifier for the document. Either the UUID or the urlId is acceptable."
      },
      "groupId": {
        "type": "string",
        "format": "uuid"
      },
      "permission": {
        "$ref": "#/components/schemas/Permission"
      }
    },
    "required": [
      "id",
      "groupId"
    ]
  }
}