v1

latestOpenAPI 3.0.12026-07-1431191129.7 KB
Bulk

Bulk create, upsert, or delete relationships

Bulk create, upsert, or delete relationships. The request body should contain a list of operations. All operations will be processed even if some of them fail.

post/sources/{sourceKey}/v1/relationships/bulk

Path parameters

sourceKeystring required

The source key.

Request body

Response

The bulk operation is valid and accepted with a status 'ACCEPTED'.

taskIdstring required

The task identifier. Used to track an async task in the system. Use the task ID to poll for completion status. The taskId holds different prefix to represent different tasks.

  • oneOf task: s_<id>.
  • bulk task: bk_<id> (deprecated: <id> only).
  • bundle task: bd_<id> (deprecated: <id> only).
  • purge task: pg_<id> (deprecated: purge:<id>).
status'ACCEPTED' | 'PERSISTED' required

Status of the task submission.

  • ACCEPTED: The task has been accepted for asynchronous processing. The task will be executed in the background.
  • PERSISTED: The task has been executed synchronously and the results are immediately persisted.
bulkIdstring required

The task identifier. This is deprecated, please use the taskId field instead.

All 31 operations