NOTE This section covers API endpoints for managing resources and orders in your WAYSCloud projects.
List All Resources in a Project
-
GET /api/marketplace-resources/?project=<project_uuid>
- List all resources in a project.This endpoint retrieves a list of all resources associated with the specified project, including virtual machines, object storage, DNS zones, and any other services you have provisioned. Use the
project=<project_uuid>
filter to specify the project.Request Example:
GET [https://api.wayscloud.services/api/marketplace-resources/?project=your_project_uuid](https://api.wayscloud.services/api/marketplace-resources/?project=your_project_uuid)
Authorization: Token <your_api_token>Response Example:
{
"next": null,
"previous": null,
"count": 3,
"results": [
{
"uuid": "vm_resource_uuid",
"name": "My VM",
"offering_type": "OpenStack.Instance",
//... other fields...
},
{
"uuid": "storage_resource_uuid",
"name": "my-storage",
"offering_type": "OpenStack.ObjectStorage",
//... other fields...
},
{
"uuid": "dns_zone_resource_uuid",
"name": "example.com.",
"offering_type": "OpenStack.DNS",
//... other fields...
}
]
}Status Codes:
- 200 OK: The list of resources was successfully retrieved.
- 401 Unauthorized: The user making the request is not authorized.