List PreTasks
Changed onGET many request to retrieve multiple objects.
Request
- Base URLhttps://docs.hashtopolis.org
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Pointer to paginate to retrieve the data after the object provided. Specify the base64 encoded JSON string in a uniquely identifiable manner (e.g. object IDs), i.e. by using one (primary) or two (primary and secondary) fields that allow for stable sorting.
Format: {"primary":{"someField": 123},"secondary":{"someOtherOptionalField": "Foo"}}
Example: {"primary":{"pretaskId": 123}} -> eyJwcmltYXJ5Ijp7InByZXRhc2tJZCI6IDEyM319
Pointer to paginate to retrieve the data before the object provided. Specify the base64 encoded JSON string in a uniquely identifiable manner (e.g. object IDs), i.e. by using one (primary) or two (primary and secondary) fields that allow for stable sorting.
Format: {"primary":{"someField": 123},"secondary":{"someOtherOptionalField": "Foo"}}
Example: {"primary":{"pretaskId": 123}} -> eyJwcmltYXJ5Ijp7InByZXRhc2tJZCI6IDEyM319
Amount of data to retrieve inside a single page
Filters results using a query. Every key is an attribute name optionally suffixed with a comparison operator, e.g. filter[pretaskId__gt]=200.
Relationships to include in the response, comma seperated. Possible options: pretaskFiles
Aggregated fields to include by type (comma separated values). Possible options: pretask: auxiliaryKeyspace
Response
successful operation
Example response
{
"data": [
{
"id": 1,
"relationships": {
"pretaskFiles": {
"data": [
{
"id": 1
}
]
}
}
}
],
"included": [
{
"id": 1
}
]
}Changes
- breaking
added the pattern
^[A-Za-z0-9+/]*={0,2}$to thequeryrequest parameterpage[after] - breaking
added the pattern
^[A-Za-z0-9+/]*={0,2}$to thequeryrequest parameterpage[before] - warning
for the
queryrequest parameterpage[size], the min was set to1.00 - info
for the
queryrequest parameterpage[after], the format was generalized frombyteto no format - info
for the
queryrequest parameterpage[before], the format was generalized frombyteto no format
- breaking