{
  "opencollection": "1.0.0",
  "info": {
    "name": "FieldPulse Subtasks API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Subtasks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve subtask by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a subtask by ID"
        },
        {
          "info": {
            "name": "Update subtask by ID",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a subtask"
        },
        {
          "info": {
            "name": "Delete subtask by ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a subtask"
        },
        {
          "info": {
            "name": "Retrieve subtasks list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks",
            "params": [
              {
                "name": "limit",
                "value": "<string>",
                "type": "query",
                "description": "Defaults to 20 items per page, maximum 100 items allowed."
              },
              {
                "name": "page",
                "value": "<string>",
                "type": "query",
                "description": "Page number. Starts from 1, defaults to 1."
              },
              {
                "name": "sort_by",
                "value": "<string>",
                "type": "query",
                "description": "Allowed values: due_date, status, title"
              },
              {
                "name": "sort_dir",
                "value": "<string>",
                "type": "query",
                "description": "Allowed values: asc, desc"
              },
              {
                "name": "assigned_user_id",
                "value": "<string>",
                "type": "query",
                "description": "Filter for assigned user id"
              },
              {
                "name": "status",
                "value": "<string>",
                "type": "query",
                "description": "Filter by status. Allowed values - open, close"
              },
              {
                "name": "calculate_count",
                "value": "<boolean>",
                "type": "query",
                "description": "true or false. If true, in response will be included also total count"
              },
              {
                "name": "filter",
                "value": "<array>",
                "type": "query",
                "description": "Array of attribute, operator, and value parts."
              },
              {
                "name": "sort",
                "value": "<array>",
                "type": "query",
                "description": "Array of attribute and order values."
              },
              {
                "name": "rel",
                "value": "<array>",
                "type": "query",
                "description": "array consisting of indices with the desired relation to include"
              },
              {
                "name": "asn",
                "value": "<array>",
                "type": "query",
                "description": "Array or object containing either a team_id index, assigned_members index containing an array of member ids, or both."
              }
            ]
          },
          "docs": "List subtasks"
        },
        {
          "info": {
            "name": "Create a subtask",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://ywe3crmpll.execute-api.us-east-2.amazonaws.com/stage/subtasks",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a subtask"
        }
      ]
    }
  ],
  "bundled": true
}