presets
Get presets
Read an object by ID and obtain its current etag for subsequent updates or deletion.
Parameters
id
path · Required
Resource, job or operation identifier
Type: string
Complete JSON Schema
Request example
Replace path and request parameters with actual values. For requests with a body, save it as request.json using the schema above.
Responses
200
Successful response; status depends on the operation result.
application/json
Type: object
| Field | Type | Required | Description and constraints |
|---|---|---|---|
| id | string | Yes | Resource, job or operation identifier |
| version | string | Yes | Version as a decimal string; do not convert to a floating-point number {"pattern":"^(0|[1-9][0-9]*)$"} |
| etag | string | Yes | Concurrency tag; preserve quotes when sending If-Match |
| updatedAt | string | Yes | Last server update timestamp |
| operationId | string | No | Request receipt identifier; no status polling is needed |
| deletedAt | string | No | Deletion timestamp |
| detail | string | null | No | Entry description |
| detail (anyOf 1) | string | No | |
| detail (anyOf 2) | null | No | |
| projectId | string | null | No | Project ID, or null |
| projectId (anyOf 1) | string | No | |
| projectId (anyOf 2) | null | No | |
| tagIds | array<string> | No | Tag IDs; comma-separated GET filter, array in bodies |
| tagIds[] | string | No | |
| archiveTime | string | null | No | Archive timestamp; null means active |
| archiveTime (anyOf 1) | string | No | |
| archiveTime (anyOf 2) | null | No | |
| createTime | string | null | No | Original creation timestamp |
| createTime (anyOf 1) | string | No | |
| createTime (anyOf 2) | null | No | |
| order | string | No | Read-only position from client ordering; adjust ordering in the Treering app {"pattern":"^(0|[1-9][0-9]*)$"} |
Complete JSON Schema
400, 401, 403, 404, 429, 500, 503
Error response; branch on code.
application/json
Type: object
| Field | Type | Required | Description and constraints |
|---|---|---|---|
| code | string | Yes | Machine-readable error code |
| message | string | No | Error message; use code for program logic |
| requestId | string | No | Request trace identifier |
| operationId | string | No | Request receipt identifier; no status polling is needed |