{
  "opencollection": "1.0.0",
  "info": {
    "name": "Identity Service Ably Exports API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Exports",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Request export of time entries",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/customers/:customerId/time-csv-exports/entries",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "customer id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Request export of time entries"
        },
        {
          "info": {
            "name": "Generate a fresh download URL for an exported CSV file",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/customers/:customerId/time-csv-exports/entries/download",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "customer id"
              },
              {
                "name": "fileName",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Generate a fresh download URL for an exported CSV file"
        }
      ]
    }
  ],
  "bundled": true
}