Get all keys
GET/v2/projects/:projectId/keys
Get all keys
Request
Path Parameters
projectId int64required
Query Parameters
page integer
Default value: 0
Zero-based page index (0..N)
size integer
Possible values: >= 1
Default value: 20
The size of the page to be returned
sort string[]
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
_embedded object
keys object[]
id int64required
Id of key record
name stringrequired
Name of key
namespace string
Namespace of key
description string
Description of key
custom object
Custom values of the key
property name* object
Custom values of the key
page object
size int64
totalElements int64
totalPages int64
number int64
{
"_embedded": {
"keys": [
{
"id": 0,
"name": "this_is_super_key",
"namespace": "homepage",
"description": "This key is used on homepage. It's a label of sign up button.",
"custom": {}
}
]
},
"page": {
"size": 0,
"totalElements": 0,
"totalPages": 0,
"number": 0
}
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...