Entrypoints

Creates a Draft for this resource

Changed on
post/api/v1/entrypoints/{id}/draft

Request

Headers

X-Fieldsstring mask

An optional fields mask

Request body

namestring required

Name of the Entrypoint resource.

descriptionstring

Description of the Entrypoint resource.

taskGraphstring required

Task graph of the Entrypoint resource.

artifactGraphstring

Artifact graph of the Entrypoint resource.

queuesinteger[]

The queue for the entrypoint.

artifactPluginsinteger[]

List of artifact plugin files for the entrypoint.

Response

Success

idinteger

ID of the Draft.

payloadobject

The contents of the draft resource.

createdOnstring date-time

Timestamp when the draft resource was created.

lastModifiedOnstring date-time

Timestamp when the draft resource was last modified.

resourceTypestring

The type of resource of this draft.

resourceinteger

ID of the resource this draft modifies.

resourceSnapshotinteger

ID of the resource snapshot this draft modifies.

metadataobject

Additional metadata about the draft

Changes

    • breaking

      added to the /////// request property allOf list

    • breaking

      the / request property type changed from object to no type

    • breaking

      the /////// request property type changed from object to no type

    • breaking

      the / request property type changed from object to no type

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      the response's property type changed from object to no type for status

    • warning

      deleted the path request parameter id

    • warning

      removed from the /////// request property allOf list

    • info

      the request property default value was added

    • info

      the request property default value was added

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property