Get Object Storage Details

Get Object Storage Details

  • GET /api/marketplace-resources/<resource_uuid>/ - Get details about a specific object storage service.

    This endpoint retrieves detailed information about an object storage service, including its name, status, storage capacity, usage, and other relevant attributes. You'll need the resource_uuid of the object storage, which you can obtain from the "List Object Storage" endpoint (4.2.2).

    Request Example:

    GET [https://api.wayscloud.services/api/marketplace-resources/storage_resource_uuid/](https://www.google.com/search?q=https://api.wayscloud.services/api/marketplace-resources/storage_resource_uuid/)
    Authorization: Token <your_api_token>

    Response Example:

    {
    "uuid": "storage_resource_uuid",
    "name": "my-storage",
    "state": "OK",
    "runtime_state": "online",
    "project": "project_uuid_value",
    "offering": "offering_uuid_value",
    "plan": "plan_uuid_value",
    "limits": {
    "storage": 10 // Storage capacity in GB
    },
    "usage": {
    "storage": 2.5 // Current storage usage in GB
    },
    //... other fields...
    }

    Status Codes:

    • 200 OK: The object storage details were successfully retrieved.
    • 401 Unauthorized: The user making the request is not authorized.
    • 404 Not Found: The specified object storage resource_uuid does not exist.