View a Bucket List
This endpoint returns a list of all buckets owned by the authenticated sender of the request, which shows how many buckets exists and their names.
Request
GET https://<tenant-name>.goskope.com/api/v1/storage_constraint_profile?token=<token>&op=viewBucketList&name=<bucket list name>
Valid parameters are:
Key | Value | Description |
---|---|---|
|
| Starts the scan. Start is currently the only supported operator. |
|
| Required. The bucket list name. |
Example Request and Response
$ curl -X GET \
'https://<tenant-name>.goskope.com/api/v1/storage_constraint_profile?token=151b9d5&op=viewBucketList&name=custom%20bucket%20list \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache'
{"status":"success","msg":"","data":["bucket-1-west","content-team-har","github-largefiles","netskope-confluence-files","redfg","toi.videos"]}