{
  "opencollection": "1.0.0",
  "info": {
    "name": "Benefits Intake",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": [
          "VBA Documents"
        ],
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a location for subsequent document upload PUT request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox-api.va.gov/services/vba_documents/{version}/uploads",
            "auth": {
              "type": "apikey",
              "key": "apikey",
              "value": "{{apikey}}",
              "placement": "header"
            }
          },
          "docs": "Get a location for subsequent document upload PUT request"
        },
        {
          "info": {
            "name": "Accepts document upload.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://sandbox-api.va.gov/services/vba_documents/{version}/path",
            "headers": [
              {
                "name": "Content-MD5",
                "value": ""
              }
            ]
          },
          "docs": "Accepts document metadata, document binary, and attachment binaries. Full URL, including\nquery parameters, provided from POST `/document_uploads`.\n\n## Example Payload\n\nThe following demonstrates a (redacted) multipart payload suitable for submitting to the PUT\nendpoint. Most programming languages should have provisions for assembling a multipart\npayload like this without having to do so manually.\n\n```\n--17de1ed8f01442b2a2d7a93506314b76\nContent-Disposition: form-data; name=\"metadata\"\nContent-Type"
        },
        {
          "info": {
            "name": "Get status for a previous benefits document upload",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox-api.va.gov/services/vba_documents/{version}/uploads/:id",
            "params": [
              {
                "name": "id",
                "value": "6d8433c1-cd55-4c24-affd-f592287a7572",
                "type": "path",
                "description": "ID as returned by a previous create upload request"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "apikey",
              "value": "{{apikey}}",
              "placement": "header"
            }
          },
          "docs": "A request to the `/uploads/{id}` endpoint will return a real-time status for that GUID, and update its status in `/uploads/report`.\\n\\nThe `updated_at` field indicates the last time the status for a given GUID was updated."
        },
        {
          "info": {
            "name": "Download zip of \"what the server sees\"",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox-api.va.gov/services/vba_documents/{version}/uploads/:id/download",
            "params": [
              {
                "name": "id",
                "value": "6d8433c1-cd55-4c24-affd-f592287a7572",
                "type": "path",
                "description": "ID as returned by a previous create upload request"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "apikey",
              "value": "{{apikey}}",
              "placement": "header"
            }
          },
          "docs": "An endpoint that will allow you to see exactly what the server sees. We split apart all submitted docs and metadata and zip the file to make it available to you to help with debugging purposes. Files are deleted after 10 days. Only available in testing environments, not production."
        },
        {
          "info": {
            "name": "Get a bulk status report for a list of previous uploads",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox-api.va.gov/services/vba_documents/{version}/uploads/report",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "apikey",
              "value": "{{apikey}}",
              "placement": "header"
            }
          },
          "docs": "Due to current system limitations, data for the `/uploads/report` endpoint is cached for one hour.\\n\\nA request to the `/uploads/{id}` endpoint will return a real-time status for that GUID, and update its status in `/uploads/report`.\\n\\nThe `updated_at` field indicates the last time the status for a given GUID was updated."
        },
        {
          "info": {
            "name": "Validate an individual document against system file requirements",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox-api.va.gov/services/vba_documents/{version}/uploads/validate_document"
          },
          "docs": "Using this endpoint will decrease the likelihood of errors associated with individual documents during\nthe submission process. Validations performed:\n* Document is a valid PDF (Note: `Content-Type` header value must be \"application/pdf\")\n* Document does not have a user password (an owner password is acceptable)\n* File size does not exceed 100 MB\n* Page size does not exceed 78\" x 101\"\n\nEach PDF document is sent as a direct file upload. The request body should contain nothing other than the docume"
        }
      ]
    }
  ],
  "bundled": true
}