Lists all secret bundle versions.
GET {{baseUrl}}/secretbundles/:secretId/versions?limit=10&page=<string>&sortBy=VERSION_NUMBER&sortOrder=DESC
Lists all secret bundle versions for the specified secret.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | number | The maximum number of items to return in a paginated "List" call. For information about pagination, see | |
List Pagination. | |||
page | string | The value of the opc-next-page response header from the previous "List" call. For information about | |
pagination, see List Pagination. | |||
sortBy | string | The field to sort by. You can specify only one sort order. The default | |
order for VERSION_NUMBER is descending. | |||
sortOrder | string | The sort order to use, either ascending (ASC ) or descending (DESC ). | |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique identifier for the request. | |
Accept | string |
RESPONSES
status: OK
[{"secretId":"\u003cstring\u003e","versionNumber":"\u003clong\u003e","stages":["DEPRECATED","DEPRECATED"],"timeCreated":"\u003cdateTime\u003e","timeOfDeletion":"\u003cdateTime\u003e","timeOfExpiry":"\u003cdateTime\u003e","versionName":"\u003cstring\u003e"},{"secretId":"\u003cstring\u003e","versionNumber":"\u003clong\u003e","stages":["PREVIOUS","LATEST"],"timeCreated":"\u003cdateTime\u003e","timeOfDeletion":"\u003cdateTime\u003e","timeOfExpiry":"\u003cdateTime\u003e","versionName":"\u003cstring\u003e"}]