{
  "opencollection": "1.0.0",
  "info": {
    "name": "EPA Air Quality System (AQS) Account Type Codes Help API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "key",
      "value": "{{key}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Help",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Download Formio File Attachment from S3 for a Submission.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://aqs.epa.gov/data/api/api/help/formio/s3/:rebateYear/:formType/storage/s3",
            "params": [
              {
                "name": "rebateYear",
                "value": "2022",
                "type": "path",
                "description": "The Clean School Bus Rebate year (2022, 2023, 2024)."
              },
              {
                "name": "formType",
                "value": "frf",
                "type": "path",
                "description": "The Formio form type (frf, prf, crf)."
              },
              {
                "name": "bucket",
                "value": "cleanschoolbus",
                "type": "query",
                "description": "The S3 bucket name where the file is stored."
              },
              {
                "name": "key",
                "value": "placeholder-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.png",
                "type": "query",
                "description": "The S3 object key for the file."
              }
            ]
          },
          "docs": "Download Formio File Attachment from S3 for a Submission."
        },
        {
          "info": {
            "name": "Get an Existing Form's Submission Data from Formio.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://aqs.epa.gov/data/api/api/help/formio/submission/:rebateYear/:formType/:id",
            "params": [
              {
                "name": "rebateYear",
                "value": "2022",
                "type": "path",
                "description": "The Clean School Bus Rebate year (2022, 2023, 2024)."
              },
              {
                "name": "formType",
                "value": "frf",
                "type": "path",
                "description": "The Formio form type (frf, prf, crf)."
              },
              {
                "name": "id",
                "value": "000000",
                "type": "path",
                "description": "The CSB Rebate ID or Formio MongoDB ObjectId."
              }
            ]
          },
          "docs": "Get an Existing Form's Submission Data from Formio."
        },
        {
          "info": {
            "name": "Post an Update to an Existing Form Submission to Formio (change Submission to 'draft').",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://aqs.epa.gov/data/api/api/help/formio/submission/:rebateYear/:formType/:id",
            "params": [
              {
                "name": "rebateYear",
                "value": "2022",
                "type": "path",
                "description": "The Clean School Bus Rebate year (2022, 2023, 2024)."
              },
              {
                "name": "formType",
                "value": "frf",
                "type": "path",
                "description": "The Formio form type (frf, prf, crf)."
              },
              {
                "name": "id",
                "value": "000000000000000000000000",
                "type": "path",
                "description": "The CSB Rebate ID or Formio MongoDB ObjectId."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Post an Update to an Existing Form Submission to Formio (change Submission to 'draft')."
        },
        {
          "info": {
            "name": "Get All Actions Associated with a Form's Submission from Formio.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://aqs.epa.gov/data/api/api/help/formio/actions/:formId/:mongoId",
            "params": [
              {
                "name": "formId",
                "value": "000000000000000000000000",
                "type": "path",
                "description": "The Formio form's MongoDB ObjectId."
              },
              {
                "name": "mongoId",
                "value": "000000000000000000000000",
                "type": "path",
                "description": "The Formio submission's MongoDB ObjectId."
              }
            ]
          },
          "docs": "Get All Actions Associated with a Form's Submission from Formio."
        },
        {
          "info": {
            "name": "Get a PDF of an Existing Form's Submission from Formio.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://aqs.epa.gov/data/api/api/help/formio/pdf/:formId/:mongoId",
            "params": [
              {
                "name": "formId",
                "value": "000000000000000000000000",
                "type": "path",
                "description": "The Formio form's MongoDB ObjectId."
              },
              {
                "name": "mongoId",
                "value": "000000000000000000000000",
                "type": "path",
                "description": "The Formio submission's MongoDB ObjectId."
              }
            ]
          },
          "docs": "Get a PDF of an Existing Form's Submission from Formio."
        },
        {
          "info": {
            "name": "Help",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://aqs.epa.gov/data/api/api/help"
          },
          "docs": "Placeholder"
        }
      ]
    }
  ],
  "bundled": true
}