Flask API#
The Urban Model Platform is built on top of the OGC API Processes standard. It provides a RESTful API for managing and executing processes on various model servers.
OGC API Processes#
This API is built on the OGC API Processes standard. To learn more about the standard, please refer to the OGC API Processes - Part 1: Core.
API Endpoints#
The API provides several endpoints for managing and executing processes. We extended the API Processes standard to include additional endpoints for managing jobs and ensembles. The following table summarizes the available endpoints:
Top-level Endpoints#
Endpoint |
Method |
Description |
Required by OGC API Processes |
---|---|---|---|
|
GET |
Retrieve the API root information. |
✅ |
|
GET |
Retrieve a list of available processes. See more |
✅ |
|
GET |
Retrieve a list of jobs. See more |
✅ |
|
GET |
Retrieve a list of ensembles. See more |
❌ |
|
GET |
Check the readiness of the application. |
❌ |
Warning
Currently, there is no HTML landing page implemented.
Warning
Currently, the conformance classes endpoint as required by the OGC API Processes is not implemented.
To learn more about all available routes, please see below:
Processes#
Endpoint |
Method |
Description |
Required by OGC API Processes |
---|---|---|---|
|
GET |
Retrieve a list of available processes. |
✅ |
|
GET |
Retrieve details of a specific process by its ID, such as input and output parameters |
✅ |
|
POST |
Execute a specific process |
✅ |
|
GET |
Returns the providers configuration |
❌ |
Jobs#
Endpoint |
Method |
Description |
Required by OGC API Processes |
---|---|---|---|
|
GET |
Retrieve a list of jobs. |
✅ |
|
GET |
Retrieve details of a specific job by its ID. |
✅ |
|
GET |
Retrieve the results of a specific job. |
✅ |
|
GET |
Retrieves all users that have access to a specific job |
❌ |
|
GET |
Retrieves all comments for a specific job |
❌ |
|
POST |
Creates a comment for a specific job |
❌ |
|
GET |
Shares a specific job with another user |
❌ |
Ensembles#
Ensembles are collections of jobs that can be executed together. The following endpoints are available for managing ensembles:
Endpoint |
Method |
Description |
Required by OGC API Processes |
---|---|---|---|
|
GET |
Gets all ensembles the current user has access to |
❌ |
|
POST |
Creates an ensemble |
❌ |
|
GET |
Gets an ensemble by its ID |
❌ |
|
DELETE |
Deletes an ensemble by its ID |
❌ |
|
GET |
Creates and executes the jobs in an ensemble |
❌ |
|
GET |
Gets all jobs included in an ensemble |
❌ |
|
DELETE |
Deletes a job from an ensemble |
❌ |
|
GET |
Gets the comments for an ensemble |
❌ |
|
GET |
Gets all users that have access to an ensemble |
❌ |
|
GET |
Shares an ensemble with another user |
❌ |
|
GET |
Adds a job to an ensemble |
❌ |
|
POST |
Creates a comment for an ensemble |
❌ |
Users#
Endpoint |
Method |
Description |
Required by OGC API Processes |
---|---|---|---|
|
GET |
Retrieves user details by user ID |
❌ |