List Orders

  • GET /api/marketplace-orders/?project=<project_uuid> - List all orders in a project.

    This endpoint retrieves a list of all orders associated with the specified project. Orders represent requests for provisioning or modifying resources, such as creating a new VM or upgrading an existing storage service. Use the project=<project_uuid> filter to specify the project.

    Request Example:

    GET [https://api.wayscloud.services/api/marketplace-orders/?project=your_project_uuid](https://www.google.com/search?q=https://api.wayscloud.services/api/marketplace-orders/%3Fproject%3Dyour_project_uuid)
    Authorization: Token <your_api_token>

    Response Example:

    {
    "next": null,
    "previous": null,
    "count": 2,
    "results": [
    {
    "uuid": "order_uuid_1",
    "created": "2025-03-15T11:00:00Z",
    "state": "Succeeded",
    "offering_type": "OpenStack.Instance",
    //... other fields...
    },
    {
    "uuid": "order_uuid_2",
    "created": "2025-03-18T10:00:00Z",
    "state": "Succeeded",
    "offering_type": "OpenStack.ObjectStorage",
    //... other fields...
    }
    ]
    }

    Status Codes:

    • 200 OK: The list of orders was successfully retrieved.
    • 401 Unauthorized: The user making the request is not authorized.