{
  "opencollection": "1.0.0",
  "info": {
    "name": "Data Assignments Districts API",
    "version": "3.1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://clever.com/oauth/authorize",
      "accessTokenUrl": "https://clever.com/oauth/tokens",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Districts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getDistricts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.clever.com/v3.1/districts",
            "params": [
              {
                "name": "count",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of districts. In practice this will only return the one district associated with the bearer token"
        },
        {
          "info": {
            "name": "getDistrict",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.clever.com/v3.1/districts/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a specific district"
        }
      ]
    }
  ],
  "bundled": true
}