Strait Docs
API Reference

Batch operation tracking for bulk triggers

List batch operations

GET
/v1/batch-operations

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

project_id*string
limit?integer
Default50
cursor?string

Response Body

application/json

curl -X GET "http://localhost:8080/v1/batch-operations?project_id=string"
[
  {
    "id": "string",
    "project_id": "string",
    "job_id": "string",
    "item_count": 0,
    "created_count": 0,
    "created_by": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "finished_at": "2019-08-24T14:15:22Z"
  }
]

Get a batch operation

GET
/v1/batch-operations/{batchID}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

batchID*string

Query Parameters

project_id*string

Response Body

application/json

curl -X GET "http://localhost:8080/v1/batch-operations/string?project_id=string"
{
  "id": "string",
  "project_id": "string",
  "job_id": "string",
  "item_count": 0,
  "created_count": 0,
  "created_by": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "finished_at": "2019-08-24T14:15:22Z"
}
Was this page helpful?