Contracts
Get Transitions
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://loading/contracts.v1.Contracts/GetTransitions" \ -H "Content-Type: application/json" \ -d '{}'{
"notFoundIds": [
"string"
],
"transitions": [
{
"contractId": "string",
"createdAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"fromSnapshotId": "string",
"id": "string",
"marketHashName": "string",
"toSnapshotId": "string",
"type": "string",
"updatedAt": "2019-08-24T14:15:22Z"
}
]
}Empty
GetTransition
Previous Page
ListContracts
Returns a paged list of full contracts in the workspace, ordered by the requested sort field and direction. Filtering by contract type and by status, and sorting, are all applied server side, so the client passes the active tab and sort here rather than filtering a fetched page. Each page carries hydrated entities, so no follow-up GetContracts is needed.