| http \
GET \
https://api.example.com/api/proposal-requested-resources/ \
Authorization:"Token YOUR_API_TOKEN"
|
| from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.api.proposal_requested_resources import proposal_requested_resources_list # (1)
client = AuthenticatedClient(
base_url="https://api.example.com", token="YOUR_API_TOKEN"
)
response = proposal_requested_resources_list.sync(client=client)
for item in response:
print(item)
|
- API Source:
proposal_requested_resources_list
| import { proposalRequestedResourcesList } from 'waldur-js-client';
try {
const response = await proposalRequestedResourcesList({
auth: "Token YOUR_API_TOKEN"
});
console.log('Success:', response);
} catch (error) {
console.error('Error:', error);
}
|
| Name |
Type |
Description |
created |
string (date-time) |
|
o |
array |
Ordering
|
offering |
string |
Offering |
offering_uuid |
string (uuid) |
|
page |
integer |
A page number within the paginated result set. |
page_size |
integer |
Number of results to return per page. |
proposal |
string |
Proposal |
proposal_uuid |
string (uuid) |
|
resource |
string |
Resource |
resource_uuid |
string (uuid) |
|
200 -
The response body is an array of objects, where each object has the following structure:
| Field |
Type |
uuid |
string (uuid) |
url |
string |
requested_offering |
any |
resource |
string (uri) |
resource_name |
string |
call_resource_template |
string |
call_resource_template_name |
string |
attributes |
any |
limits |
any |
description |
string |
created_by |
string (uri) |
created_by_name |
string |
proposal_name |
string |
proposal |
string (uri) |