GET
/
api
/
pane-logs
/
timeline
Get material timeline
curl --request GET \
  --url http://localhost:3000/api/pane-logs/timeline \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "data": [
    {
      "_id": "<string>",
      "material": "<string>",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Permission

Requires pane_logs:view, same as List pane logs.

Query

materialId is required. Omitting it returns 400 (materialId is required).

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

materialId
string
required

The material ID to get the timeline for

Response

Merged timeline of material and pane logs

success
boolean
Example:

true

message
string
data
object[]