Marketplace Component User Usages
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/marketplace-component-user-usages/ |
List user-specific component usages |
| GET | /api/marketplace-component-user-usages/{uuid}/ |
Retrieve a user-specific component usage record |
List user-specific component usages
1 2 3 | |
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
marketplace_component_user_usages_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
billing_period_month |
number | |
billing_period_year |
number | |
component_usage__billing_period |
string (date) | |
customer_uuid |
string (uuid) | |
date_after |
string (date) | |
date_before |
string (date) | |
field |
array | |
o |
array | Ordering |
offering_uuid |
string (uuid) | |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
project_uuid |
string (uuid) | |
resource |
string | Resource URL |
resource_uuid |
string (uuid) | |
type |
string | |
username |
string |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
user |
string (uri) | |
username |
string | |
component_usage |
string (uri) | |
usage |
integer | |
measured_unit |
string | Unit of measurement, for example, GB. |
description |
string | |
created |
string (date-time) | |
modified |
string (date-time) | |
backend_id |
string | |
resource_name |
string | |
resource_uuid |
string (uuid) | |
offering_name |
string | |
offering_uuid |
string (uuid) | |
project_name |
string | |
project_uuid |
string (uuid) | |
customer_name |
string | |
customer_uuid |
string (uuid) | |
component_type |
string | Unique internal name of the measured unit, for example floating_ip. |
date |
string (date-time) | |
billing_period |
string (date) |
Retrieve a user-specific component usage record
Returns the details of a single user-specific component usage record.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
marketplace_component_user_usages_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Name | Type |
|---|---|
field |
array |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
user |
string (uri) | |
username |
string | |
component_usage |
string (uri) | |
usage |
integer | |
measured_unit |
string | Unit of measurement, for example, GB. |
description |
string | |
created |
string (date-time) | |
modified |
string (date-time) | |
backend_id |
string | |
resource_name |
string | |
resource_uuid |
string (uuid) | |
offering_name |
string | |
offering_uuid |
string (uuid) | |
project_name |
string | |
project_uuid |
string (uuid) | |
customer_name |
string | |
customer_uuid |
string (uuid) | |
component_type |
string | Unique internal name of the measured unit, for example floating_ip. |
date |
string (date-time) | |
billing_period |
string (date) |