Download OpenAPI specification:Download
Get all containers of vStorage on a specific project.
region_id required | string The id of vStorage region. |
project_id required | string The id of vStorage project. |
Authorization required | string Example: access token |
curl --request GET \ --url 'https://vmonitorapi.vngcloud.vn/vstorage-gateway/v1/containers?region_id=SOME_STRING_VALUE&project_id=SOME_STRING_VALUE' \ --header 'Authorization: SOME_STRING_VALUE'
[- {
- "name": "string",
- "size": 0,
- "type": "string",
- "createdDate": "string",
- "lastModified": "string",
- "isPublic": true,
- "count": 0
}
]
curl --request GET \ --url https://vmonitorapi.vngcloud.vn/vstorage-gateway/v1/regions
[- {
- "regionDisplayingName": "string",
- "regionId": "string",
- "regionName": "string",
- "status": 0,
- "s3Endpoint": "string"
}
]
Get all projects of vStorage on a specific region.
region_id required | string The id of vStorage region. |
Authorization required | string Example: access token |
curl --request GET \ --url 'https://vmonitorapi.vngcloud.vn/vstorage-gateway/v1/projects?region_id=SOME_STRING_VALUE' \ --header 'Authorization: SOME_STRING_VALUE'
[- {
- "projectId": "string",
- "projectName": "string",
- "status": 0,
- "period": 0,
- "startTime": "2019-08-24T14:15:22Z",
- "userId": "string",
- "userName": "string",
- "roleId": "string",
- "roleName": "string",
- "totalQuota": 0,
- "userIdMapping": 0,
- "regionId": "string",
- "regionName": "string"
}
]