{
  "opencollection": "1.0.0",
  "info": {
    "name": "Edge Delta Access Rehydrations API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Rehydrations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "GET /v1/orgs/{org_id}/rehydration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/orgs/:org_id/rehydration",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Org ID"
              },
              {
                "name": "rehydration_id",
                "value": "",
                "type": "query",
                "description": "If rehydration_id is given only matching item is returned in the response"
              },
              {
                "name": "lookback",
                "value": "",
                "type": "query",
                "description": "Lookback period in golang duration format. e.g. '1h'. Either provide from/to or provide lookback/to or just lookback"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "From datetime in ISO format 2006-01-02T15:04:05.000Z"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "To datetime in ISO format 2006-01-02T15:04:05.000Z"
              },
              {
                "name": "host",
                "value": "",
                "type": "query",
                "description": "Host filter. Not filtered by host if not provided"
              },
              {
                "name": "tag",
                "value": "",
                "type": "query",
                "description": "Tag filter. Not filtered by tag if not provided"
              },
              {
                "name": "sourcetype",
                "value": "",
                "type": "query",
                "description": "Source type filter. e.g. 'File', 'Docker'. Not filtered by source type if not provided"
              },
              {
                "name": "cluster_id",
                "value": "",
                "type": "query",
                "description": "Cluster ID filter. Not filtered by cluster id if not provided"
              }
            ]
          },
          "docs": "Returns list of rehydrations based on given filters"
        },
        {
          "info": {
            "name": "POST /v1/orgs/{org_id}/rehydration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/orgs/:org_id/rehydration",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Org ID"
              }
            ]
          },
          "docs": "Creates a new rehydration item in dynamo and invokes async rehydration handler"
        },
        {
          "info": {
            "name": "POST /v1/orgs/{org_id}/rehydration/overlap",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/orgs/:org_id/rehydration/overlap",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Org ID"
              }
            ]
          },
          "docs": "Returns existing rehydrations overlapping with given rehydration object"
        },
        {
          "info": {
            "name": "POST /v1/orgs/{org_id}/rehydration/rehydration_batch",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/orgs/:org_id/rehydration/rehydration_batch",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Org ID"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "CQL Query"
              },
              {
                "name": "tag",
                "value": "",
                "type": "query",
                "description": "Tag"
              }
            ]
          },
          "docs": "Creates new rehydration items in dynamo and invokes async rehydration handler"
        },
        {
          "info": {
            "name": "GET /v1/orgs/{org_id}/rehydration/{rehydration_id}",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/orgs/:org_id/rehydration/:rehydration_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Org ID"
              },
              {
                "name": "rehydration_id",
                "value": "",
                "type": "path",
                "description": "Rehydration ID"
              }
            ]
          },
          "docs": "Returns rehydration with status"
        },
        {
          "info": {
            "name": "PUT /v1/orgs/{org_id}/rehydration/{rehydration_id}",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/v1/orgs/:org_id/rehydration/:rehydration_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Org ID"
              },
              {
                "name": "rehydration_id",
                "value": "",
                "type": "path",
                "description": "Rehydration ID"
              }
            ]
          },
          "docs": "A rehydration object can only be updated to CANCELLED state, otherwise it's immutable"
        },
        {
          "info": {
            "name": "DELETE /v1/orgs/{org_id}/rehydration/{rehydration_id}",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/orgs/:org_id/rehydration/:rehydration_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Org ID"
              },
              {
                "name": "rehydration_id",
                "value": "",
                "type": "path",
                "description": "Rehydration ID"
              }
            ]
          },
          "docs": "First cancels the rehydration if it's running and marks for deletion"
        },
        {
          "info": {
            "name": "GET /v1/orgs/{org_id}/rehydration_v2",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/orgs/:org_id/rehydration_v2",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Org ID"
              },
              {
                "name": "lookback",
                "value": "",
                "type": "query",
                "description": "Lookback period in golang duration format. e.g. '1h'. Either provide from/to or provide lookback/to or just lookback"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "From datetime in ISO format 2006-01-02T15:04:05.000Z"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "To datetime in ISO format 2006-01-02T15:04:05.000Z"
              },
              {
                "name": "cluster_id",
                "value": "",
                "type": "query",
                "description": "Cluster ID filter. Not filtered by cluster id if not provided"
              }
            ]
          },
          "docs": "Returns list of rehydrations based on given filters"
        }
      ]
    }
  ],
  "bundled": true
}