{
  "opencollection": "1.0.0",
  "info": {
    "name": "PowerSchool SIS REST Authentication District API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "District",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all schools in district",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{district}.powerschool.com/ws/v1/district/school",
            "params": [
              {
                "name": "pagesize",
                "value": "",
                "type": "query",
                "description": "Number of records to return per page."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for paginated results (1-indexed)."
              },
              {
                "name": "q",
                "value": "id=ge=10000",
                "type": "query",
                "description": "Filter expression using FIQL-like syntax. Example: id=ge=10000 to filter records with id >= 10000."
              },
              {
                "name": "projection",
                "value": "id,name,school_number",
                "type": "query",
                "description": "Comma-separated list of fields to include in the response. Omit to return all fields."
              }
            ]
          },
          "docs": "Returns all schools in the current district, sorted by name. Supports pagination via pagesize and page query parameters."
        },
        {
          "info": {
            "name": "Count schools in district",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{district}.powerschool.com/ws/v1/district/school/count"
          },
          "docs": "Returns the total count of schools in the current district."
        },
        {
          "info": {
            "name": "List all students in district",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{district}.powerschool.com/ws/v1/district/student",
            "params": [
              {
                "name": "pagesize",
                "value": "",
                "type": "query",
                "description": "Number of records to return per page."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for paginated results (1-indexed)."
              },
              {
                "name": "q",
                "value": "id=ge=10000",
                "type": "query",
                "description": "Filter expression using FIQL-like syntax. Example: id=ge=10000 to filter records with id >= 10000."
              },
              {
                "name": "projection",
                "value": "id,name,school_number",
                "type": "query",
                "description": "Comma-separated list of fields to include in the response. Omit to return all fields."
              }
            ]
          },
          "docs": "Returns all students enrolled in the current district. Supports pagination via pagesize and page query parameters, and filtering via the q parameter (e.g., q=id=ge=10000)."
        },
        {
          "info": {
            "name": "Count students in district",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{district}.powerschool.com/ws/v1/district/student/count"
          },
          "docs": "Returns the total count of students enrolled in the current district."
        },
        {
          "info": {
            "name": "Query a schema table",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{district}.powerschool.com/ws/schema/table/:tableName",
            "params": [
              {
                "name": "tableName",
                "value": "schools",
                "type": "path",
                "description": "The name of the schema table (e.g., schools, students, sections)"
              },
              {
                "name": "pagesize",
                "value": "",
                "type": "query",
                "description": "Number of records to return per page."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for paginated results (1-indexed)."
              },
              {
                "name": "q",
                "value": "id=ge=10000",
                "type": "query",
                "description": "Filter expression using FIQL-like syntax. Example: id=ge=10000 to filter records with id >= 10000."
              },
              {
                "name": "projection",
                "value": "id,name,school_number",
                "type": "query",
                "description": "Comma-separated list of fields to include in the response. Omit to return all fields."
              }
            ]
          },
          "docs": "Returns records from a named schema table. Supports filtering via q parameter and pagination. Common tables include students, schools, sections, cc (current courses), attendance, and more."
        },
        {
          "info": {
            "name": "Count records in a schema table",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{district}.powerschool.com/ws/schema/table/:tableName/count",
            "params": [
              {
                "name": "tableName",
                "value": "",
                "type": "path",
                "description": "The name of the schema table"
              }
            ]
          },
          "docs": "Returns the count of records in a named schema table."
        }
      ]
    }
  ],
  "bundled": true
}