Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions specs/ingestion/common/schemas/source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,10 @@ RunSourcePayload:
description: List of entityIDs to update.
entityType:
$ref: '#/EntityType'
runMetadata:
type: object
additionalProperties: true
description: Additional information that will be passed to the created runs.

EntityType:
type: string
Expand Down
9 changes: 9 additions & 0 deletions specs/ingestion/common/schemas/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -627,3 +627,12 @@ PushTaskPayload:
required:
- action
- records

RunTaskPayload:
type: object
additionalProperties: false
properties:
runMetadata:
type: object
additionalProperties: true
description: Additional information that will be passed to the created run.
6 changes: 6 additions & 0 deletions specs/ingestion/paths/tasks/v1/runTask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ post:
- editSettings
parameters:
- $ref: '../../../common/parameters.yml#/pathTaskID'
requestBody:
description: ''
content:
application/json:
schema:
$ref: '../../../common/schemas/task.yml#/RunTaskPayload'
responses:
'200':
description: OK
Expand Down
6 changes: 6 additions & 0 deletions specs/ingestion/paths/tasks/v2/runTask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ post:
- editSettings
parameters:
- $ref: '../../../common/parameters.yml#/pathTaskID'
requestBody:
description: ''
content:
application/json:
schema:
$ref: '../../../common/schemas/task.yml#/RunTaskPayload'
responses:
'200':
description: OK
Expand Down