{
  "opencollection": "1.0.0",
  "info": {
    "name": "Zluri Data Upload Syncs API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Syncs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Zluri Create Sync",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-ext.zluri.com/v2/integrations-sync/instances/:instance_id/syncs",
            "params": [
              {
                "name": "instance_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the integration instance."
              }
            ]
          },
          "docs": "Create a new sync session for the specified instance. Only one sync can be active per instance at a time. Unfinished syncs block new syncs for the same instance. Data uploaded during a sync will not appear in Zluri until the sync is finished."
        },
        {
          "info": {
            "name": "Zluri Get Sync Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-ext.zluri.com/v2/integrations-sync/instances/:instance_id/syncs/:sync_id",
            "params": [
              {
                "name": "instance_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the integration instance."
              },
              {
                "name": "sync_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the sync session."
              }
            ]
          },
          "docs": "Retrieve the current status of a sync session. Use this to check if a sync is running, failed, or finished."
        },
        {
          "info": {
            "name": "Zluri Finish Sync",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-ext.zluri.com/v2/integrations-sync/instances/:instance_id/syncs/:sync_id/finish",
            "params": [
              {
                "name": "instance_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the integration instance."
              },
              {
                "name": "sync_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the sync session."
              }
            ]
          },
          "docs": "Mark a sync session as finished. Data will not appear in Zluri until the sync is finished. Always finish your sync after uploading all data. Once finished, a new sync can be created for the same instance."
        }
      ]
    }
  ],
  "bundled": true
}