{
  "opencollection": "1.0.0",
  "info": {
    "name": "NationBuilder V2 Async Processes Path Steps API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Path Steps",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all path steps in a nation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.nationbuilder.com/api/v2/path_steps",
            "params": [
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of sideloaded resources to include as part of the path step index response.\nSee guidance [here](https://support.nationbuilder.com/en/articles/9899245-api-v2-walkthrough#h_2d5333adab) about\nsideloading large numbers of resources and pagination.\n"
              },
              {
                "name": "fields[path_steps]",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of path step attributes to only return in the response"
              },
              {
                "name": "page[number]",
                "value": "",
                "type": "query",
                "description": "Page number to list (starting at 1)"
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query",
                "description": "Number of results to display per page (default: 20, max: 100, min: 1)"
              }
            ]
          },
          "docs": "Lists all path steps"
        },
        {
          "info": {
            "name": "Create a path step",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.nationbuilder.com/api/v2/path_steps",
            "params": [
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of sideloaded resources to include as part of the path step index response.\nSee guidance [here](https://support.nationbuilder.com/en/articles/9899245-api-v2-walkthrough#h_2d5333adab) about\nsideloading large numbers of resources and pagination.\n"
              },
              {
                "name": "fields[path_steps]",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of path step attributes to only return in the response"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a path step from given data. If the position you specify is already taken by another step on\n                  the path, your step will be placed at that position and that step and the steps following will be\n                  re-ordered. If you do not specify a position, the step will be auto-assigned to the last position in\n                  the list of path steps for the related path."
        },
        {
          "info": {
            "name": "Show path step with provided ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.nationbuilder.com/api/v2/path_steps/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of sideloaded resources to include as part of the path step response.\nSee guidance [here](https://support.nationbuilder.com/en/articles/9899245-api-v2-walkthrough#h_2d5333adab) about\nsideloading large numbers of resources and pagination.\n"
              },
              {
                "name": "fields[path_steps]",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of path step attributes to only return in the response"
              }
            ]
          },
          "docs": "Returns the JSON:API resource object for a single path step."
        },
        {
          "info": {
            "name": "Update an existing path step",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.nationbuilder.com/api/v2/path_steps/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of sideloaded resources to include as part of the path step response.\nSee guidance [here](https://support.nationbuilder.com/en/articles/9899245-api-v2-walkthrough#h_2d5333adab) about\nsideloading large numbers of resources and pagination.\n"
              },
              {
                "name": "fields[path_steps]",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of path step attributes to only return in the response"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing path step. If the position you specify is already taken by another step on\n                  the path, your step will be placed at that position and that step and the steps following will be\n                  re-ordered."
        },
        {
          "info": {
            "name": "Delete path step with provided ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.nationbuilder.com/api/v2/path_steps/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "id"
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of sideloaded resources to include as part of the path step response.\nSee guidance [here](https://support.nationbuilder.com/en/articles/9899245-api-v2-walkthrough#h_2d5333adab) about\nsideloading large numbers of resources and pagination.\n"
              },
              {
                "name": "fields[path_steps]",
                "value": "",
                "type": "query",
                "description": "Comma-delimited list of path step attributes to only return in the response"
              }
            ]
          },
          "docs": "Permanently removes the path step that matches the given ID."
        }
      ]
    }
  ],
  "bundled": true
}