| id | string Search promises for matching ids, can include wildcards. For example:
|
| state | string Enum: "pending" "resolved" "rejected" Search promises for matching states |
object | |
| limit | integer Number of results per page |
| cursor | string Cursor for pagination |
| request-id | string Unique tracking id |
{- "promises": [
- {
- "id": "string",
- "state": "PENDING",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKeyForCreate": "string",
- "idempotencyKeyForComplete": "string",
- "createdOn": 0,
- "completedOn": 0
}
], - "cursor": "string"
}| request-id | string Unique tracking id |
| idempotency-key | string Deduplicates requests |
| strict | boolean If true, deduplicates only when promise state matches the request |
| id required | string |
| timeout required | integer <int64> |
object (Value) | |
object |
{- "id": "string",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "string",
- "state": "PENDING",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKeyForCreate": "string",
- "idempotencyKeyForComplete": "string",
- "createdOn": 0,
- "completedOn": 0
}| request-id | string Unique tracking id |
| idempotency-key | string Deduplicates requests |
| strict | boolean If true, deduplicates only when promise state matches the request |
required | object |
required | object |
{- "promise": {
- "id": "string",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}
}, - "task": {
- "processId": "string",
- "ttl": 0
}
}{- "promise": {
- "id": "string",
- "state": "PENDING",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKeyForCreate": "string",
- "idempotencyKeyForComplete": "string",
- "createdOn": 0,
- "completedOn": 0
}
}| id required | string The promise id |
| request-id | string Unique tracking id |
{- "id": "string",
- "state": "PENDING",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKeyForCreate": "string",
- "idempotencyKeyForComplete": "string",
- "createdOn": 0,
- "completedOn": 0
}| id required | string The promise id |
| request-id | string Unique tracking id |
| idempotency-key | string Deduplicates requests |
| strict | boolean If true, deduplicates only when promise state matches the request |
| state required | string Enum: "RESOLVED" "REJECTED" "REJECTED_CANCELED" |
object (Value) |
{- "state": "RESOLVED",
- "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}
}{- "id": "string",
- "state": "PENDING",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKeyForCreate": "string",
- "idempotencyKeyForComplete": "string",
- "createdOn": 0,
- "completedOn": 0
}| id required | string The promise id |
| request-id | string Unique tracking id |
| rootPromiseId required | string |
| timeout required | integer <int64> |
required | object or string (Recv) |
{- "rootPromiseId": "string",
- "timeout": 0,
- "recv": {
- "type": "string",
- "data": { }
}
}{- "promise": {
- "id": "string",
- "state": "PENDING",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKeyForCreate": "string",
- "idempotencyKeyForComplete": "string",
- "createdOn": 0,
- "completedOn": 0
}
}| id required | string The promise id |
| request-id | string Unique tracking id |
| id required | string |
| timeout required | integer <int64> |
required | object or string (Recv) |
{- "id": "string",
- "timeout": 0,
- "recv": {
- "type": "string",
- "data": { }
}
}{- "promise": {
- "id": "string",
- "state": "PENDING",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKeyForCreate": "string",
- "idempotencyKeyForComplete": "string",
- "createdOn": 0,
- "completedOn": 0
}
}| id | string Search schedules for matching ids, can include wildcards. For example:
|
object | |
| limit | integer Number of results |
| cursor | string Cursor for pagination |
| request-id | string Unique tracking id |
{- "schedules": [
- {
- "id": "string",
- "description": "string",
- "cron": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "promiseId": "string",
- "promiseTimeout": 0,
- "promiseParam": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "promiseTags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKey": "string",
- "lastRunTime": 0,
- "nextRunTime": 0,
- "createdOn": 0
}
], - "cursor": "string"
}| request-id | string Unique tracking id |
| idempotency-key | string Deduplicates requests |
| id | string |
| description | string |
| cron | string |
object | |
| promiseId | string |
| promiseTimeout | integer <int64> |
object (Value) | |
object | |
| idempotencyKey | string |
{- "id": "string",
- "description": "string",
- "cron": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "promiseId": "string",
- "promiseTimeout": 0,
- "promiseParam": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "promiseTags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKey": "string"
}{- "id": "string",
- "description": "string",
- "cron": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "promiseId": "string",
- "promiseTimeout": 0,
- "promiseParam": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "promiseTags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKey": "string"
}| id required | string The schedule id |
| request-id | string Unique tracking id |
{- "id": "string",
- "description": "string",
- "cron": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "promiseId": "string",
- "promiseTimeout": 0,
- "promiseParam": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "promiseTags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKey": "string",
- "lastRunTime": 0,
- "nextRunTime": 0,
- "createdOn": 0
}| request-id | string Unique tracking id |
| resourceId required | string |
| executionId required | string |
| processId required | string |
| ttl required | integer |
{- "resourceId": "string",
- "executionId": "string",
- "processId": "string",
- "ttl": 0
}{- "resourceId": "string",
- "executionId": "string",
- "processId": "string",
- "ttl": 0,
- "expiresAt": 0
}| request-id | string Unique tracking id |
| id required | string The task id |
| counter required | integer The task counter |
| processId required | string Unique process id that identifies the claimer |
| ttl required | integer <int64> Time to live in milliseconds |
{- "id": "string",
- "counter": 0,
- "processId": "string",
- "ttl": 0
}{- "type": "invoke",
- "promises": {
- "root": {
- "id": "string",
- "href": "string",
- "data": {
- "id": "string",
- "state": "PENDING",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKeyForCreate": "string",
- "idempotencyKeyForComplete": "string",
- "createdOn": 0,
- "completedOn": 0
}
}, - "leaf": {
- "id": "string",
- "href": "string",
- "data": {
- "id": "string",
- "state": "PENDING",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKeyForCreate": "string",
- "idempotencyKeyForComplete": "string",
- "createdOn": 0,
- "completedOn": 0
}
}
}
}| id required | string The task id |
| counter required | integer The task counter |
| request-id | string Unique tracking id |
{- "type": "invoke",
- "promises": {
- "root": {
- "id": "string",
- "href": "string",
- "data": {
- "id": "string",
- "state": "PENDING",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKeyForCreate": "string",
- "idempotencyKeyForComplete": "string",
- "createdOn": 0,
- "completedOn": 0
}
}, - "leaf": {
- "id": "string",
- "href": "string",
- "data": {
- "id": "string",
- "state": "PENDING",
- "timeout": 0,
- "param": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "value": {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": "string"
}, - "tags": {
- "property1": "string",
- "property2": "string"
}, - "idempotencyKeyForCreate": "string",
- "idempotencyKeyForComplete": "string",
- "createdOn": 0,
- "completedOn": 0
}
}
}
}| id required | string The task id |
| counter required | integer The task counter |
{- "id": "string",
- "counter": 0
}{- "id": "string",
- "counter": 0,
- "timeout": 0,
- "processId": "string",
- "createdOn": 0,
- "completedOn": 0
}| id required | string The task id |
| counter required | integer The task counter |
| request-id | string Unique tracking id |
{- "id": "string",
- "counter": 0,
- "timeout": 0,
- "processId": "string",
- "createdOn": 0,
- "completedOn": 0
}