List all task items
GET/task
Retrieve all task items, including the total count.
Responses
- 200
- 500
A list of task items with total count.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
total_items integer
The total number of task items.
items
object[]
id uint64
Unique identifier of the task item.
created date-time
Creation timestamp of the task item.
body byte
Base64-encoded representation of the body of the task item.
{
"total_items": 42,
"items": [
{
"id": 1,
"created": "2024-07-29T15:51:28.071Z",
"body": "U29tZSBleGFtcGxlIGJ5dGVzIGRhdGE="
}
]
}
Error retrieving task items.
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
A description of the error that occurred.
details string
Additional details about the error, specifying which component failed.
code integerrequired
The error code.
{
"error": "Failed to retrieve system status.",
"details": "Failed to get hostname due to network timeout.",
"code": 500
}
Loading...