Get Sync Draft
Retrieve a sync draft with the sync as it is now and as approval would
leave it. Send its draftVersion and resourceVersion to approve it.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The id of the sync
The id of the draft
Response
Ok
The draft's id
The id of the sync the draft changes
create publishes a new sync, update changes an existing one
create, update The state of a sync draft. New values may be added, so treat an unknown value as closed.
pending, approved, rejected, canceled The user who submitted the draft
The users asked to review the draft
The comment the requester left for reviewers
The timestamp when the draft was created
The timestamp when the draft last changed
The user who approved or rejected the draft. With an API key, this is the user who owns the key.
The timestamp when the draft was approved or rejected
The metadata sent with the approval or rejection
The sync as it is now, or null for a draft that creates the sync
The sync as it will be after approval, or null once the draft is closed
The top-level sync fields that the draft changes
Send as expectedDraftVersion to approve exactly this version of the draft
Send as expectedResourceVersion to approve only if the sync has not changed