{
  "opencollection": "1.0.0",
  "info": {
    "name": "Akute Health Customer Appointments Documents API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Documents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search documents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.akutehealth.com/v1/documents",
            "params": [
              {
                "name": "patient_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "external_patient_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "no_patient",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Search documents"
        },
        {
          "info": {
            "name": "Upload a document",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.akutehealth.com/v1/documents",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "patient_id",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Upload a document"
        },
        {
          "info": {
            "name": "Get a document by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.akutehealth.com/v1/documents/:document_id",
            "params": [
              {
                "name": "document_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a document by id"
        }
      ]
    }
  ],
  "bundled": true
}