Job Operation Dependency

The job operation dependency resource.

Basehttps://rest.carbon.ms/jobOperationDependency
GET/jobOperationDependency

List job operation dependencys

Retrieve a paginated list of job operation dependencys. Filter, order, and select columns with PostgREST query parameters.

Query parameters

selectstring

Comma-separated columns to return. Defaults to all.

orderstring

Column to sort by, e.g. `createdAt.desc`.

limitinteger

Maximum rows to return.

offsetinteger

Rows to skip, for pagination.

GEThttps://rest.carbon.ms/jobOperationDependency
curl --request GET \
  --url 'https://rest.carbon.ms/jobOperationDependency?select=*&limit=10' \
  --header 'Authorization: Bearer <api-key>'
Response
[
  {
    "operationId": "xyz789",
    "dependsOnId": "xyz789",
    "jobId": "xyz789",
    "companyId": "xyz789",
    "createdAt": "2026-01-01T00:00:00Z"
  }
]
GET/jobOperationDependency

Retrieve a job operation dependency

Fetch a single job operation dependency by filtering on `operationId`.

Query parameters

operationIdstring

Match on the job operation dependency's `operationId`, e.g. `eq.{id}`.

GEThttps://rest.carbon.ms/jobOperationDependency
curl --request GET \
  --url 'https://rest.carbon.ms/jobOperationDependency?operationId=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>'
Response
{
  "operationId": "xyz789",
  "dependsOnId": "xyz789",
  "jobId": "xyz789",
  "companyId": "xyz789",
  "createdAt": "2026-01-01T00:00:00Z"
}
POST/jobOperationDependency

Create a job operation dependency

Create a new job operation dependency.

Body parameters

jobIdstringrequired

References job.id

companyIdstringrequired

References company.id

POSThttps://rest.carbon.ms/jobOperationDependency
curl --request POST \
  --url https://rest.carbon.ms/jobOperationDependency \
  --header 'Authorization: Bearer <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'Prefer: return=representation' \
  --data '{"jobId":"xyz789","companyId":"xyz789"}'
Response
{
  "operationId": "xyz789",
  "dependsOnId": "xyz789",
  "jobId": "xyz789",
  "companyId": "xyz789",
  "createdAt": "2026-01-01T00:00:00Z"
}
PATCH/jobOperationDependency

Update a job operation dependency

Update an existing job operation dependency, matched on `operationId`.

Body parameters

jobIdstringrequired

References job.id

companyIdstringrequired

References company.id

PATCHhttps://rest.carbon.ms/jobOperationDependency
curl --request PATCH \
  --url 'https://rest.carbon.ms/jobOperationDependency?operationId=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'Prefer: return=representation' \
  --data '{"jobId":"xyz789"}'
Response
{
  "operationId": "xyz789",
  "dependsOnId": "xyz789",
  "jobId": "xyz789",
  "companyId": "xyz789",
  "createdAt": "2026-01-01T00:00:00Z"
}
DELETE/jobOperationDependency

Delete a job operation dependency

Delete a job operation dependency, matched on `operationId`. Returns 204 No Content.

Query parameters

operationIdstring

The `operationId` of the job operation dependency to delete, e.g. `eq.{id}`.

DELETEhttps://rest.carbon.ms/jobOperationDependency
curl --request DELETE \
  --url 'https://rest.carbon.ms/jobOperationDependency?operationId=eq.%7Bid%7D' \
  --header 'Authorization: Bearer <api-key>'
204 No Content