{
  "opencollection": "1.0.0",
  "info": {
    "name": "Asana Allocations Time Periods API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Time Periods",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Asana Get a time period",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.asana.com/api/1.0/time_periods/:time_period_gid",
            "params": [
              {
                "name": "time_period_gid",
                "value": "917392",
                "type": "path",
                "description": "Globally unique identifier for the time period."
              },
              {
                "name": "opt_pretty",
                "value": "true",
                "type": "query",
                "description": "Provides “pretty” output.\nProvides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging."
              },
              {
                "name": "opt_fields",
                "value": "display_name,end_on,parent,parent.display_name,parent.end_on,parent.period,parent.start_on,period,start_on",
                "type": "query",
                "description": "This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include."
              }
            ]
          },
          "docs": "Returns the full record for a single time period."
        },
        {
          "info": {
            "name": "Asana Get time periods",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.asana.com/api/1.0/time_periods",
            "params": [
              {
                "name": "opt_pretty",
                "value": "true",
                "type": "query",
                "description": "Provides “pretty” output.\nProvides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging."
              },
              {
                "name": "limit",
                "value": "50",
                "type": "query",
                "description": "Results per page.\nThe number of objects to return per page. The value must be between 1 and 100."
              },
              {
                "name": "offset",
                "value": "eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9",
                "type": "query",
                "description": "Offset token.\nAn offset to the next page returned by the API. A pagination request will return an offset token, which can be used as an input parameter to the next request. If an offset is not passed in, the API will return the first page of results.\n*Note: You can only pass in an offset that was returned to you via a previously paginated request.*"
              },
              {
                "name": "start_on",
                "value": "2019-09-15",
                "type": "query",
                "description": "ISO 8601 date string"
              },
              {
                "name": "end_on",
                "value": "2019-09-15",
                "type": "query",
                "description": "ISO 8601 date string"
              },
              {
                "name": "workspace",
                "value": "31326",
                "type": "query",
                "description": "Globally unique identifier for the workspace."
              },
              {
                "name": "opt_fields",
                "value": "display_name,end_on,offset,parent,parent.display_name,parent.end_on,parent.period,parent.start_on,path,period,start_on,uri",
                "type": "query",
                "description": "This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include."
              }
            ]
          },
          "docs": "Returns compact time period records."
        }
      ]
    }
  ],
  "bundled": true
}