{ "opencollection": "1.0.0", "info": { "name": "Hetzner Cloud Actions Volumes API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Volumes", "type": "folder" }, "items": [ { "info": { "name": "List Volumes", "type": "http" }, "http": { "method": "GET", "url": "https://api.hetzner.cloud/v1/volumes", "params": [ { "name": "status", "value": "", "type": "query", "description": "Filter resources by status. May be used multiple times.\n\nThe response will only contain the resources with the specified status.\n" }, { "name": "sort", "value": "", "type": "query", "description": "Sort resources by field and direction. May be used multiple times.\n\nFor more information, see \"[Sorting](#description/sorting)\".\n" }, { "name": "name", "value": "", "type": "query", "description": "Filter resources by their name.\n\nThe response will only contain the resources\nmatching exactly the specified name.\n" }, { "name": "label_selector", "value": "", "type": "query", "description": "Filter resources by labels.\n\nThe response will only contain resources matching the label selector.\nFor more information, see \"[Label Selector](#description/label-selector)\".\n" }, { "name": "page", "value": "", "type": "query", "description": "Page number to return. For more information, see \"[Pagination](#description/pagination)\"." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of entries returned per page. For more information, see \"[Pagination](#description/pagination)\"." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Gets all existing Volumes that you have available.\n" }, { "info": { "name": "Create a Volume", "type": "http" }, "http": { "method": "POST", "url": "https://api.hetzner.cloud/v1/volumes", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new Volume attached to a Server. If you want to create a Volume that is not attached to a Server, you need to provide the `location` key instead of `server`. This can be either the ID or the name of the Location this Volume will be created in. Note that a Volume can be attached to a Server only in the same Location as the Volume itself.\n\nSpecifying the Server during Volume creation will automatically attach the Volume to that Server after it has been initialized. In that case, the `nex" }, { "info": { "name": "Get a Volume", "type": "http" }, "http": { "method": "GET", "url": "https://api.hetzner.cloud/v1/volumes/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Volume." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Gets a specific Volume object.\n" }, { "info": { "name": "Update a Volume", "type": "http" }, "http": { "method": "PUT", "url": "https://api.hetzner.cloud/v1/volumes/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Volume." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates the Volume properties.\n" }, { "info": { "name": "Delete a Volume", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.hetzner.cloud/v1/volumes/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the Volume." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes a volume. All Volume data is irreversibly destroyed. The Volume must not be attached to a Server and it must not have delete protection enabled.\n" } ] } ], "bundled": true }