intranet.apps.api package¶
Submodules¶
intranet.apps.api.authentication module¶
intranet.apps.api.tests module¶
- class intranet.apps.api.tests.ApiTest(methodName='runTest')[source]¶
Bases:
IonTestCase
Tests for the api module.
intranet.apps.api.urls module¶
intranet.apps.api.utils module¶
intranet.apps.api.views module¶
- intranet.apps.api.views.api_root(self, request, *args, **kwargs)[source]¶
Welcome to the Ion API!
Documentation is below. <pk> refers to the unique id of a certain object - this is shown as “id” in most lists and references. The general form of the API link (with /api/ assumed to be prepended) is shown, along with an example URL. All of the API methods, except for those relating to the Bell Schedule, require authentication.
Use of the Ion API is subject to the TJHSST Intranet API and OAuth Acceptable Use Policy, which can be found at https://ion.tjhsst.edu/docs/api-oauth-aup. Activity inconsistent with the AUP may result in revocation of API and/or OAuth access. All API activity is logged and monitored, and may be used to identify and investigate violations of the AUP.