{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/open-data:clever/courses-get-list":{"get":{"operationId":"open_data_clever_courses_get_list","summary":"Returns a list of courses","description":"GET /courses","tags":["open-data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}},{"name":"count","in":"query","required":false,"schema":{"type":"string","enum":["","true","false","undefined"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/courses-get-specific-course":{"get":{"operationId":"open_data_clever_courses_get_specific_course","summary":"Returns a specific course","description":"GET /courses/{id}","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/courses-get-district":{"get":{"operationId":"open_data_clever_courses_get_district","summary":"Returns the district for a course","description":"GET /courses/{id}/district","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/courses-get-resources":{"get":{"operationId":"open_data_clever_courses_get_resources","summary":"Returns the resources for a course","description":"GET /courses/{id}/resources","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/courses-get-schools":{"get":{"operationId":"open_data_clever_courses_get_schools","summary":"Returns the schools for a course","description":"GET /courses/{id}/schools","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/courses-get-sections":{"get":{"operationId":"open_data_clever_courses_get_sections","summary":"Returns the sections for a course","description":"GET /courses/{id}/sections","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/districts-get-list":{"get":{"operationId":"open_data_clever_districts_get_list","summary":"Returns a list of districts. In practice this will only return the one district associated with the bearer…","description":"GET /districts","tags":["open-data"],"parameters":[{"name":"count","in":"query","required":false,"schema":{"type":"string","enum":["","true","false","undefined"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/districts-get-specific-district":{"get":{"operationId":"open_data_clever_districts_get_specific_district","summary":"Returns a specific district","description":"GET /districts/{id}","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/resources-get-list":{"get":{"operationId":"open_data_clever_resources_get_list","summary":"Returns a list of resources","description":"GET /resources","tags":["open-data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/resources-get-by-id":{"get":{"operationId":"open_data_clever_resources_get_by_id","summary":"Returns a specific resource","description":"GET /resources/{id}","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/resources-get-courses":{"get":{"operationId":"open_data_clever_resources_get_courses","summary":"Returns the courses for a resource","description":"GET /resources/{id}/courses","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/resources-list-sections":{"get":{"operationId":"open_data_clever_resources_list_sections","summary":"Returns the sections for a resource","description":"GET /resources/{id}/sections","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/resources-get-users":{"get":{"operationId":"open_data_clever_resources_get_users","summary":"Returns the student and/or teacher users for a resource","description":"GET /resources/{id}/users","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"role","in":"query","required":false,"schema":{"type":"string","enum":["student","teacher"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/schools-list":{"get":{"operationId":"open_data_clever_schools_list","summary":"Returns a list of schools","description":"GET /schools","tags":["open-data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}},{"name":"count","in":"query","required":false,"schema":{"type":"string","enum":["","true","false","undefined"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/schools-get-specific-school":{"get":{"operationId":"open_data_clever_schools_get_specific_school","summary":"Returns a specific school","description":"GET /schools/{id}","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/schools-get-courses":{"get":{"operationId":"open_data_clever_schools_get_courses","summary":"Returns the courses for a school","description":"GET /schools/{id}/courses","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/schools-get-district":{"get":{"operationId":"open_data_clever_schools_get_district","summary":"Returns the district for a school","description":"GET /schools/{id}/district","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/schools-get-sections":{"get":{"operationId":"open_data_clever_schools_get_sections","summary":"Returns the sections for a school","description":"GET /schools/{id}/sections","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/schools-get-terms":{"get":{"operationId":"open_data_clever_schools_get_terms","summary":"Returns the terms for a school","description":"GET /schools/{id}/terms","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/schools-get-users":{"get":{"operationId":"open_data_clever_schools_get_users","summary":"Returns the staff, student, and/or teacher users for a school","description":"GET /schools/{id}/users","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"role","in":"query","required":false,"schema":{"type":"string","enum":["staff","student","teacher"]}},{"name":"primary","in":"query","required":false,"schema":{"type":"string","enum":["","true"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/sections-get-list":{"get":{"operationId":"open_data_clever_sections_get_list","summary":"Returns a list of sections","description":"GET /sections","tags":["open-data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}},{"name":"count","in":"query","required":false,"schema":{"type":"string","enum":["","true","false","undefined"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/sections-get-specific-section":{"get":{"operationId":"open_data_clever_sections_get_specific_section","summary":"Returns a specific section","description":"GET /sections/{id}","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/sections-get-course":{"get":{"operationId":"open_data_clever_sections_get_course","summary":"Returns the course for a section","description":"GET /sections/{id}/course","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/sections-get-district":{"get":{"operationId":"open_data_clever_sections_get_district","summary":"Returns the district for a section","description":"GET /sections/{id}/district","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/sections-get-resources":{"get":{"operationId":"open_data_clever_sections_get_resources","summary":"Returns the resources for a section","description":"GET /sections/{id}/resources","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/sections-get-school":{"get":{"operationId":"open_data_clever_sections_get_school","summary":"Returns the school for a section","description":"GET /sections/{id}/school","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/sections-get-term":{"get":{"operationId":"open_data_clever_sections_get_term","summary":"Returns the term for a section","description":"GET /sections/{id}/term","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/sections-get-users":{"get":{"operationId":"open_data_clever_sections_get_users","summary":"Returns the student and/or teacher users for a section","description":"GET /sections/{id}/users","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"role","in":"query","required":false,"schema":{"type":"string","enum":["student","teacher"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/terms-get-list":{"get":{"operationId":"open_data_clever_terms_get_list","summary":"Returns a list of terms","description":"GET /terms","tags":["open-data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}},{"name":"count","in":"query","required":false,"schema":{"type":"string","enum":["","true","false","undefined"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/terms-get-specific-term":{"get":{"operationId":"open_data_clever_terms_get_specific_term","summary":"Returns a specific term","description":"GET /terms/{id}","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/terms-get-district-by-id":{"get":{"operationId":"open_data_clever_terms_get_district_by_id","summary":"Returns the district for a term","description":"GET /terms/{id}/district","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/terms-get-schools-for-term":{"get":{"operationId":"open_data_clever_terms_get_schools_for_term","summary":"Returns the schools for a term","description":"GET /terms/{id}/schools","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/terms-get-sections":{"get":{"operationId":"open_data_clever_terms_get_sections","summary":"Returns the sections for a term","description":"GET /terms/{id}/sections","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/users-get-list":{"get":{"operationId":"open_data_clever_users_get_list","summary":"Returns a list of contact, district admin, staff, student, and/or teacher users","description":"GET /users","tags":["open-data"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"role","in":"query","required":false,"schema":{"type":"string","enum":["contact","district_admin","staff","student","teacher"]}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}},{"name":"count","in":"query","required":false,"schema":{"type":"string","enum":["","true","false","undefined"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/users-get-user-by-id":{"get":{"operationId":"open_data_clever_users_get_user_by_id","summary":"Returns a specific user","description":"GET /users/{id}","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/users-get-district":{"get":{"operationId":"open_data_clever_users_get_district","summary":"Returns the district for a user","description":"GET /users/{id}/district","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/users-get-my-contacts":{"get":{"operationId":"open_data_clever_users_get_my_contacts","summary":"Returns the contact users for a student user","description":"GET /users/{id}/mycontacts","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/users-get-student-users":{"get":{"operationId":"open_data_clever_users_get_student_users","summary":"Returns the student users for a teacher or contact user","description":"GET /users/{id}/mystudents","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/users-get-teachers-for-user":{"get":{"operationId":"open_data_clever_users_get_teachers_for_user","summary":"Returns the teacher users for a student user","description":"GET /users/{id}/myteachers","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/users-get-resources":{"get":{"operationId":"open_data_clever_users_get_resources","summary":"Returns the resources for a user","description":"GET /users/{id}/resources","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/users-get-schools":{"get":{"operationId":"open_data_clever_users_get_schools","summary":"Returns the schools for a user","description":"GET /users/{id}/schools","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"primary","in":"query","required":false,"schema":{"type":"string","enum":["","true"]}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/open-data:clever/users-get-sections":{"get":{"operationId":"open_data_clever_users_get_sections","summary":"Returns the sections for a user","description":"GET /users/{id}/sections","tags":["open-data"],"parameters":[{"name":"id","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","required":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}