sync

Discard local changes for a sync item

Changed on

Discards local changes and reverts to the version in the remote repository

post/sync/items/{itemId}/discard

Request

  • Base URL
    http://localhost/api/v1
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or none

Path parameters

itemIdstring required

The sync item identifier. Supporting file IDs include their extension.

Query parameters

remoteNodestring

name of the remote node

Response

Changes discarded successfully

messagestring required

Success message

Changes

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new human_task_resume_failed enum value to the response property for the response status

    • warning

      added the new human_task_resume_failed enum value to the response property for the response status

    • warning

      added the new payload_too_large enum value to the response property for the response status

    • warning

      added the new payload_too_large enum value to the response property for the response status

    • warning

      added the new rate_limited enum value to the response property for the response status

    • warning

      added the new rate_limited enum value to the response property for the response status