{
  "opencollection": "1.0.0",
  "info": {
    "name": "CoursesApi Assessments Schools API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "implicit",
      "authorizationUrl": "https://api.data.cardiff.ac.uk/authorize",
      "credentials": {
        "clientId": "{{clientId}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Schools",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a list of all schools within the Univesity.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.data.cardiff.ac.uk/lookups/v1/schools",
            "params": [
              {
                "name": "option",
                "value": "",
                "type": "query",
                "description": "Options for selecting schools. \"parent\" for parent schools list"
              },
              {
                "name": "code",
                "value": "",
                "type": "query",
                "description": "Selecting schools by School code"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of schools to return"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Offset of schools to return"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sorts the data by column name, use \"-\" for descending"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "implicit",
              "authorizationUrl": "https://api.data.cardiff.ac.uk/authorize",
              "credentials": {
                "clientId": "{{clientId}}"
              }
            }
          },
          "docs": "Retrieve a list of all schools within the Univesity."
        }
      ]
    }
  ],
  "bundled": true
}