Get Projects Linked To Secret
Retrieves a paginated list of projects linked to a secret.
Request
URI
GET
https://vra-interop-222-139.lvn.broadcom.net/platform/api/secrets/{id}/projects
COPY
Path Parameters
string
id
Required
the id of the secret
Query Parameters
string
apiVersion
Optional
The version of the API in yyyy-MM-dd format. For versioning information refer to /platform/api/about.
apiVersion example
2023-01-01
Responses
200
'Success' with a paginated list of linked projects
Returns
Page
of type(s)
*/*
{
"totalElements": 0,
"totalPages": 0,
"size": 0,
"content": [
{}
],
"number": 0,
"sort": [
{
"direction": "string",
"nullHandling": "string",
"ascending": false,
"property": "string",
"ignoreCase": false
}
],
"numberOfElements": 0,
"pageable": {
"offset": 0,
"sort": [
{
"direction": "string",
"nullHandling": "string",
"ascending": false,
"property": "string",
"ignoreCase": false
}
],
"paged": false,
"pageNumber": 0,
"pageSize": 0,
"unpaged": false
},
"first": false,
"last": false,
"empty": false
}
integer As int64
As int64
totalElements
Optional
totalElements
integer As int32
As int32
totalPages
Optional
totalPages
integer As int32
As int32
size
Optional
size
array of
object
content
Optional
content
integer As int32
As int32
number
Optional
number
array of
object
sort
Optional
sort
integer As int32
As int32
numberOfElements
Optional
numberOfElements
object
pageable
Optional
pageable
boolean
first
Optional
first
boolean
last
Optional
last
boolean
empty
Optional
empty
401
Unauthorized, the user is not authenticated
Operation doesn't return any data structure
403
Forbidden, the user lacks permissions
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/platform/api/secrets/{id}/projects