{
  "opencollection": "1.0.0",
  "info": {
    "name": "Hubstaff Activities Screenshots API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://account.hubstaff.com/authorizations/new",
      "accessTokenUrl": "https://account.hubstaff.com/access_tokens",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Screenshots",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List organization screenshots",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hubstaff.com/v2/organizations/:organization_id/screenshots",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "page_start_id",
                "value": "",
                "type": "query",
                "description": "The page start ID."
              },
              {
                "name": "page_limit",
                "value": "",
                "type": "query",
                "description": "The default page size"
              },
              {
                "name": "time_slot[start]",
                "value": "",
                "type": "query",
                "description": "Start time (ISO 8601)"
              },
              {
                "name": "time_slot[stop]",
                "value": "",
                "type": "query",
                "description": "Stop time (ISO 8601, Exclusive)"
              },
              {
                "name": "user_ids",
                "value": "",
                "type": "query",
                "description": "List of user IDs"
              },
              {
                "name": "project_ids",
                "value": "",
                "type": "query",
                "description": "List of project IDs"
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Specify related data to side load."
              }
            ]
          },
          "docs": "Returns a collection of screenshots for the given organization.\n\nResults can be filtered by user_ids[], project_ids[], and time_slot[start]/[stop].\n\nNote: Date range limit is 7 days. Earliest date is 6 months ago."
        },
        {
          "info": {
            "name": "Get screenshot",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.hubstaff.com/v2/organizations/:organization_id/screenshots/:screenshot_id",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "screenshot_id",
                "value": "",
                "type": "path",
                "description": "Screenshot ID"
              }
            ]
          },
          "docs": "Returns the screenshot with the given ID."
        }
      ]
    }
  ],
  "bundled": true
}