Post runEvent
POST/lineage
Updates a run state for a job.
Request
- application/json
Body
- RunEvent
- DatasetEvent
- JobEvent
- MOD1
- MOD1
Array [
- MOD1
- MOD1
]
Array [
- MOD1
- MOD1
]
- MOD1
- MOD1
Array [
- MOD1
- MOD1
]
Array [
- MOD1
- MOD1
]
oneOf
the time the event occurred at
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this RunEvent
Possible values: [START
, RUNNING
, COMPLETE
, ABORT
, FAIL
, OTHER
]
the current transition of the run state. It is required to issue 1 START event and 1 of [ COMPLETE, ABORT, FAIL ] event per run. Additional events with OTHER eventType can be added to the same run. For example to send additional metadata after the run is complete
run
object
required
The globally unique ID of the run associated with the job.
facets
object
The run facets.
anyOf
property name*
RunFacet
A Run Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
A Run Facet
job
object
required
The namespace containing that job
The unique name for that job within that namespace
facets
object
The job facets.
anyOf
property name*
JobFacet
A Job Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
set to true to delete a facet
A Job Facet
inputs
object[]
The set of input datasets.
The namespace containing that dataset
The unique name for that dataset within that namespace
facets
object
The facets for this dataset
anyOf
property name*
DatasetFacet
A Dataset Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
set to true to delete a facet
A Dataset Facet
inputFacets
object
The input facets for this dataset.
anyOf
property name*
InputDatasetFacet
An Input Dataset Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
An Input Dataset Facet
outputs
object[]
The set of output datasets.
The namespace containing that dataset
The unique name for that dataset within that namespace
facets
object
The facets for this dataset
anyOf
property name*
DatasetFacet
A Dataset Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
set to true to delete a facet
A Dataset Facet
outputFacets
object
The output facets for this dataset
anyOf
property name*
OutputDatasetFacet
An Output Dataset Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
An Output Dataset Facet
the time the event occurred at
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this RunEvent
dataset
object
required
A Dataset sent within static metadata events
The namespace containing that dataset
The unique name for that dataset within that namespace
facets
object
The facets for this dataset
anyOf
property name*
DatasetFacet
A Dataset Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
set to true to delete a facet
A Dataset Facet
the time the event occurred at
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this RunEvent
job
object
required
The namespace containing that job
The unique name for that job within that namespace
facets
object
The job facets.
anyOf
property name*
JobFacet
A Job Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
set to true to delete a facet
A Job Facet
inputs
object[]
The set of input datasets.
The namespace containing that dataset
The unique name for that dataset within that namespace
facets
object
The facets for this dataset
anyOf
property name*
DatasetFacet
A Dataset Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
set to true to delete a facet
A Dataset Facet
inputFacets
object
The input facets for this dataset.
anyOf
property name*
InputDatasetFacet
An Input Dataset Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
An Input Dataset Facet
outputs
object[]
The set of output datasets.
The namespace containing that dataset
The unique name for that dataset within that namespace
facets
object
The facets for this dataset
anyOf
property name*
DatasetFacet
A Dataset Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
set to true to delete a facet
A Dataset Facet
outputFacets
object
The output facets for this dataset
anyOf
property name*
OutputDatasetFacet
An Output Dataset Facet
URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet
An Output Dataset Facet
Responses
- 200
- 429
- 5xx
OK
Too Many Requests
A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes.
- application/vnd.gravitino.v1+json
- Schema
- Example (from schema)
- Example
Schema
Possible values: >= 1000
and <= 1100
HTTP response code
Internal type definition of the error
A human-readable message
{
"code": 1002,
"type": "string",
"message": "string",
"stack": [
"string"
]
}
{
"code": 1002,
"type": "RuntimeException",
"message": "Internal Server Error",
"stack": [
"java.lang.RuntimeException: Internal Server Error"
]
}