Skip to main content

List Drafts

GET 

/configuration-hub/drafts

This API gets a list of existing drafts for the current tenant.

Request

Query Parameters

    filters string

    Filter results using the standard syntax described in V3 API Standard Collection Parameters

    Filtering is supported for the following fields and operators:

    status: eq

    approvalStatus: eq

    Example: status eq "COMPLETE"

Responses

List of existing drafts.

Schema

  • Array [

  • jobId string

    Unique id assigned to this job.

    status string

    Possible values: [NOT_STARTED, IN_PROGRESS, COMPLETE, CANCELLED, FAILED]

    Status of the job.

    type string

    Possible values: [CREATE_DRAFT]

    Type of the job, will always be CREATE_DRAFT for this type of job.

    message string

    Message providing information about the outcome of the draft process.

    requesterName string

    The name of user that that initiated the draft process.

    fileExists boolean

    Default value: true

    Whether or not a file was generated for this draft.

    created date-time

    The time the job was started.

    modified date-time

    The time of the last update to the job.

    completed date-time

    The time the job was completed.

    name string

    Name of the draft.

    sourceTenant string

    Tenant owner of the backup from which the draft was generated.

    sourceBackupId string

    Id of the backup from which the draft was generated.

    sourceBackupName string

    Name of the backup from which the draft was generated.

    mode string

    Possible values: [RESTORE, PROMOTE, UPLOAD]

    Denotes the origin of the source backup from which the draft was generated.

    • RESTORE - Same tenant.
    • PROMOTE - Different tenant.
    • UPLOAD - Uploaded configuration.
    approvalStatus string

    Possible values: [DEFAULT, PENDING_APPROVAL, APPROVED, DENIED]

    Approval status of the draft used to determine whether or not the draft can be deployed.

    approvalComment

    object[]

    List of comments that have been exchanged between an approval requester and an approver.

  • Array [

  • comment stringrequired

    Comment provided either by the approval requester or the approver.

    timestamp date-timerequired

    The time when this comment was provided.

    user stringrequired

    Name of the user that provided this comment.

    id stringrequired

    Id of the user that provided this comment.

    changedToStatus stringrequired

    Possible values: [PENDING_APPROVAL, APPROVED, REJECTED]

    Status transition of the draft.

  • ]

  • ]

Loading...