Skip to main content
Version: 0.9.0-incubating

Post runEvent

POST 

/lineage

Updates a run state for a job.

Request

Body

    oneOf

    eventTime date-timerequired

    the time the event occurred at

    producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this RunEvent

    eventType string

    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

    runId uuidrequired

    The globally unique ID of the run associated with the job.

    facets

    object

    The run facets.

    anyOf

    property name*

    RunFacet

    A Run Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    property name* any

    A Run Facet

    job

    object

    required

    namespace stringrequired

    The namespace containing that job

    name stringrequired

    The unique name for that job within that namespace

    facets

    object

    The job facets.

    anyOf

    property name*

    JobFacet

    A Job Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    _deleted boolean

    set to true to delete a facet

    property name* any

    A Job Facet

    inputs

    object[]

    The set of input datasets.

  • Array [

  • namespace stringrequired

    The namespace containing that dataset

    name stringrequired

    The unique name for that dataset within that namespace

    facets

    object

    The facets for this dataset

    anyOf

    property name*

    DatasetFacet

    A Dataset Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    _deleted boolean

    set to true to delete a facet

    property name* any

    A Dataset Facet

    inputFacets

    object

    The input facets for this dataset.

    anyOf

    property name*

    InputDatasetFacet

    An Input Dataset Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    property name* any

    An Input Dataset Facet

  • ]

  • outputs

    object[]

    The set of output datasets.

  • Array [

  • namespace stringrequired

    The namespace containing that dataset

    name stringrequired

    The unique name for that dataset within that namespace

    facets

    object

    The facets for this dataset

    anyOf

    property name*

    DatasetFacet

    A Dataset Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    _deleted boolean

    set to true to delete a facet

    property name* any

    A Dataset Facet

    outputFacets

    object

    The output facets for this dataset

    anyOf

    property name*

    OutputDatasetFacet

    An Output Dataset Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    property name* any

    An Output Dataset Facet

  • ]

Responses

OK

Loading...