Documents
List document activities
Changed onList the activities recorded for a document, newest first (sort=id for oldest first). Paged: 20 per page by default; the X-Pagination-Total-Count, X-Pagination-Page-Count, X-Pagination-Current-Page and X-Pagination-Per-Page headers describe the full list, and a page past the end returns an empty data. Each entry carries an event-specific payload snapshot (keys vary per event) and the request origin (ip, user-agent).
get/v1/documents/{documentId}/activities
Request
- Base URLhttps://api.assinafy.com.br
- URLhttps://api.assinafy.com.br/v1/documents/{documentId}/activities
- Auth
- HTTP bearer
- or API key in header X-Api-Key
Path parameters
documentIdstring required
Document ID.
Query parameters
sortstring
-id (default, newest first) or id.
pageinteger
Example:1
Page number.
per-pageinteger
Example:25
Records per page (max 100).
Response
Document activities
Example response
{
"status": 200,
"data": [
{
"id": 4,
"event": "assignment_created",
"message": "Assignment created by John Smith.",
"origin": {
"ip": "172.19.0.1"
},
"created_at": "2022-07-19T19:28:13Z"
}
]
}Changes
- info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parameterper-page - info
added the new optional
queryrequest parametersort
- info