Storage Locations
List locations
Changed onReturns storage locations where you can create new storages. Only locations currently accepting new storage creation are returned. Use the type query parameter to restrict the result to a location type (object storage performance tier or sftp).
get/storage/v4/locations
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/storage/v4/locations
- AuthHTTP apikey
Query parameters
offsetinteger
Number of records to skip before beginning to return results
limitinteger
Max number of records in response
order_bystring
type'standard' | 'fast' | 'sftp'
Filter by location type: object storage performance tier (standard, fast) or sftp
Response
LocationsListEndpointResV4
Example response
{
"count": 5,
"results": [
{
"address": "luxembourg-2.cloud.storage.com",
"name": "luxembourg-2",
"technical_name": "s-region-1",
"title": "Luxembourg",
"type": "s3_compatible"
}
]
}Changes
- info
added the new optional
queryrequest parametertype
- info