{
  "opencollection": "1.0.0",
  "info": {
    "name": "Screendoor Files Forms API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "api_key",
      "value": "{{api_key}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Forms",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List a project's forms",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://screendoor.dobt.co/api/projects/:project_id/forms",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The id of the project."
              }
            ]
          },
          "docs": "Returns the forms defined for a project."
        },
        {
          "info": {
            "name": "Retrieve a form",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://screendoor.dobt.co/api/projects/:project_id/forms/:id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The id of the project."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The id of the resource."
              }
            ]
          },
          "docs": "Returns a single form and its field data."
        },
        {
          "info": {
            "name": "Update a form",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://screendoor.dobt.co/api/projects/:project_id/forms/:id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The id of the project."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The id of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replaces the field data of a form."
        },
        {
          "info": {
            "name": "Add a field to the initial form",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://screendoor.dobt.co/api/projects/:project_id/form/fields",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The id of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Adds a new field to the project's initial form at an optional position."
        },
        {
          "info": {
            "name": "Update a form field",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://screendoor.dobt.co/api/projects/:project_id/form/fields/:id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The id of the project."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The id of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a single field on the initial form."
        },
        {
          "info": {
            "name": "Delete a form field",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://screendoor.dobt.co/api/projects/:project_id/form/fields/:id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The id of the project."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The id of the resource."
              }
            ]
          },
          "docs": "Removes a field from the initial form."
        }
      ]
    }
  ],
  "bundled": true
}