Get page history versions
GET/wiki/pages/:pageID/versions
History
Version | Changes |
---|---|
v6.15.0 | Added in: v6.15.0 |
Get page history versions order by version desc.
Request
Path Parameters
The page ID
Query Parameters
The team ID
User ID, this parameter can only be passed when calling as an Oauth bot. It is used to perform operations as the specified user
The start index
Possible values: <= 200
The limit of the list
Responses
- 200
- 401
- 403
- 404
- 500
Request is successful.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object
The start index
The number of versions in the list
The total number of versions
versions
object[]
The version number
The created time of version
The creator of version
The remark of version
The result of this request.
The error code of this request.
Error message for this request.
Error meta data for this request.
{
"data": {
"start": 0,
"count": 0,
"total": 0,
"versions": [
{
"version": 0,
"createdTime": 0,
"creatorID": "string",
"remark": "string"
}
]
},
"result": "string",
"errorCode": "string",
"errorMsg": "string",
"errorData": {}
}
Returned if the authentication credentials are incorrect or missing.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Unauthorized",
"errorMsg": "Access token is invalid"
}
Returns if the scope check fails.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Forbidden",
"errorMsg": "Scope is invalid"
}
Returned if the resource object was not found.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "NotFound",
"errorMsg": "Not Found"
}
Internal Server Error.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Internal Server Error",
"errorMsg": "Internal Server Error"
}