GET/spaces/api/v1/requiredreading/spaces/{spaceID}/pages/{pageID}/stats.json

Returns a list of users who have and haven't read a page.

Path Params

  • Name
    spaceID
    Type
    integer
    required
    Description
  • Name
    pageID
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
  • Code
    404
    Type
    object
    Schema
    Description
    404 Not Found
  • Code
    500
    Type
    object
    Schema
    Description
    500 Internal Server Error

Examples

200 OK

RequiredPageUsers
{
  "requiredReading": {
    "read": [
      {
        "readDate": "2024-07-22T17:44:54.321Z",
        "user": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "version": 0
      }
    ],
    "unread": [
      {
        "user": {
          "id": 0,
          "meta": {},
          "type": "string"
        },
        "version": 0
      }
    ]
  }
}