Openportal
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/openportal/access_for_email/ |
Access for email |
| GET | /api/openportal-accounting-summary/ |
List Openportal Accounting Summary |
| GET | /api/openportal-accounting-summary/{uuid}/ |
Retrieve |
| GET | /api/openportal/offering_mapping/ |
Offering mapping |
| GET | /api/openportal/project_mapping/ |
Project mapping |
| GET | /api/openportal-project-storage-reports/ |
List Openportal Project Storage Reports |
| GET | /api/openportal-project-storage-reports/{id}/ |
Retrieve |
| GET | /api/openportal-project-usage-reports/ |
List Openportal Project Usage Reports |
| GET | /api/openportal-project-usage-reports/{id}/ |
Retrieve |
| GET | /api/openportal/user_mapping/ |
User mapping |
Access for email
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
- API Source:
openportal_access_for_email_list
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required | Description |
|---|---|---|---|
q |
string | ✓ | Free text search query (email, short_name, project_name, or project_id) |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type |
|---|---|
email |
string (email) |
status |
string |
short_name |
string |
projects |
object (free-form) |
invited_by |
string |
reason |
string |
List Openportal Accounting Summary
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
openportal_accounting_summary_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
customer_uuid |
string (uuid) | |
is_active |
boolean | |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
project_uuid |
string (uuid) |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type |
|---|---|
project_uuid |
string (uuid) |
project_name |
string |
customer_uuid |
string (uuid) |
customer_name |
string |
start_date |
string (date) |
end_date |
string (date) |
total_credits |
string (decimal) |
total_spend |
string (decimal) |
current_month_spend |
string (decimal) |
Retrieve
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
openportal_accounting_summary_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type |
|---|---|
project_uuid |
string (uuid) |
project_name |
string |
customer_uuid |
string (uuid) |
customer_name |
string |
start_date |
string (date) |
end_date |
string (date) |
total_credits |
string (decimal) |
total_spend |
string (decimal) |
current_month_spend |
string (decimal) |
Offering mapping
Map OpenPortal destination strings to Waldur Offering objects. Pass each destination as a repeated 'identifier' query parameter. Returns a dict keyed by identifier; unknown destinations map to null. Accessible to all authenticated users.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 | |
- API Source:
openportal_offering_mapping_retrieve
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
identifier |
array | OpenPortal destination string (repeatable). |
200 -
| Field | Type |
|---|---|
* |
any |
Project mapping
Map OpenPortal ProjectIdentifier strings to Waldur Project objects. Pass each identifier as a repeated 'identifier' query parameter. Returns a dict keyed by identifier; unknown identifiers map to null. Staff and support see all projects; regular users see only projects they are a member of.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 | |
- API Source:
openportal_project_mapping_retrieve
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
identifier |
array | OpenPortal ProjectIdentifier string (repeatable). |
200 -
| Field | Type |
|---|---|
* |
any |
List Openportal Project Storage Reports
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
openportal_project_storage_reports_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
month |
integer | |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
project_identifier |
string | |
project_uuid |
string (uuid) | |
resource |
string | |
year |
integer |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type | Description |
|---|---|---|
id |
integer | |
year |
integer | |
month |
integer | |
project_identifier |
string | |
resource |
string | |
report |
object | |
report.project |
string | |
report.generated_at |
string | RFC3339 timestamp |
report.project_quotas |
object (free-form) | Volume → Quota |
report.user_quotas |
object (free-form) | UserIdentifier → (Volume → Quota) |
report.users |
object (free-form) | UserIdentifier → local_username |
report.daily_reports |
object (free-form) | "YYYY-MM-DD" → DailyStorageReportJson. Absent from JSON when there are no daily snapshots. |
Retrieve
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
openportal_project_storage_reports_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required | Description |
|---|---|---|---|
id |
integer | ✓ | A unique integer value identifying this cached project storage report. |
200 -
| Field | Type | Description |
|---|---|---|
id |
integer | |
year |
integer | |
month |
integer | |
project_identifier |
string | |
resource |
string | |
report |
object | |
report.project |
string | |
report.generated_at |
string | RFC3339 timestamp |
report.project_quotas |
object (free-form) | Volume → Quota |
report.user_quotas |
object (free-form) | UserIdentifier → (Volume → Quota) |
report.users |
object (free-form) | UserIdentifier → local_username |
report.daily_reports |
object (free-form) | "YYYY-MM-DD" → DailyStorageReportJson. Absent from JSON when there are no daily snapshots. |
List Openportal Project Usage Reports
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
openportal_project_usage_reports_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
is_complete |
boolean | |
month |
integer | |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
project_identifier |
string | |
project_uuid |
string (uuid) | |
resource |
string | |
year |
integer |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type | Description |
|---|---|---|
id |
integer | |
year |
integer | |
month |
integer | |
project_identifier |
string | |
resource |
string | |
is_complete |
boolean | |
report |
object | |
report.project |
string | ProjectIdentifier string e.g. "aiproject.brics" |
report.reports |
object (free-form) | "YYYY-MM-DD" → DailyProjectUsageReportJson |
report.users |
object (free-form) | UserIdentifier → local_username. e.g. |
Retrieve
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
openportal_project_usage_reports_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required | Description |
|---|---|---|---|
id |
integer | ✓ | A unique integer value identifying this cached project usage report. |
200 -
| Field | Type | Description |
|---|---|---|
id |
integer | |
year |
integer | |
month |
integer | |
project_identifier |
string | |
resource |
string | |
is_complete |
boolean | |
report |
object | |
report.project |
string | ProjectIdentifier string e.g. "aiproject.brics" |
report.reports |
object (free-form) | "YYYY-MM-DD" → DailyProjectUsageReportJson |
report.users |
object (free-form) | UserIdentifier → local_username. e.g. |
User mapping
Map OpenPortal UserIdentifier strings (or email addresses) to Waldur User objects. Pass each value as a repeated 'identifier' query parameter. If the values contain '@' they are treated as email addresses (used for cached reports from remote portals); otherwise they are treated as UserIdentifier strings (used for local OpenPortal resources). Returns a dict keyed by the supplied string; unknown values map to null. Staff and support see all users; regular users may only look up users who share a project with them.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 | |
- API Source:
openportal_user_mapping_retrieve
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
identifier |
array | OpenPortal UserIdentifier string or email address (repeatable). All values in a single request must be the same type. |
200 -
| Field | Type |
|---|---|
* |
any |