Difference between revisions of "Internal API"
From ITR Wiki
(Created page with "== Internal API == The internal API is for usage by the website of the ITR. It cannot be used from external websites, unless the flag ENABLE_CORS in the file instance/applica...") |
|||
Line 3: | Line 3: | ||
The internal API is for usage by the website of the ITR. It cannot be used from external websites, unless the flag ENABLE_CORS in the file instance/application.cfg is set to 'Y'. It is strongly discouraged to set this flag to 'Y' for anything else but developmnet systems. | The internal API is for usage by the website of the ITR. It cannot be used from external websites, unless the flag ENABLE_CORS in the file instance/application.cfg is set to 'Y'. It is strongly discouraged to set this flag to 'Y' for anything else but developmnet systems. | ||
− | The following API | + | The following API calls are available for the following roles |
+ | |||
+ | {| class="wikitable sortable" | ||
+ | |- | ||
+ | ! Endpoint !! Role !! Description|- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |- | ||
+ | | Example || Example || Example | ||
+ | |} |
Revision as of 09:04, 29 March 2019
Internal API
The internal API is for usage by the website of the ITR. It cannot be used from external websites, unless the flag ENABLE_CORS in the file instance/application.cfg is set to 'Y'. It is strongly discouraged to set this flag to 'Y' for anything else but developmnet systems.
The following API calls are available for the following roles
Endpoint | Role | - | Example | Example | Example |
---|---|---|---|---|---|
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example | |||
Example | Example | Example |