Ditto Operator
Ditto Operator API
API Keys
List API Keys
Lists all API keys associated with a particular Big Peer app.
GET
/
namespace
/
{namespace}
/
bigPeer
/
{big_peer_name}
/
app
/
{app_name}
/
apiKey
curl --request GET \
--url http://localhost:{port}/namespace/{namespace}/bigPeer/{big_peer_name}/app/{app_name}/apiKey
{
"data": [
{
"description": null,
"expiresAt": "2100-04-13T12:00:00Z",
"name": "my-key",
"permissions": {
"read": {
"everything": true,
"queriesByCollection": {}
},
"remoteQuery": true,
"write": {
"everything": true,
"queriesByCollection": {}
}
}
}
],
"meta": {
"page": 1,
"size": 1,
"totalPages": 1
}
}
Response
200
application/json
list of api keys associated with a big peer app
The response is of type object
.
Was this page helpful?
curl --request GET \
--url http://localhost:{port}/namespace/{namespace}/bigPeer/{big_peer_name}/app/{app_name}/apiKey
{
"data": [
{
"description": null,
"expiresAt": "2100-04-13T12:00:00Z",
"name": "my-key",
"permissions": {
"read": {
"everything": true,
"queriesByCollection": {}
},
"remoteQuery": true,
"write": {
"everything": true,
"queriesByCollection": {}
}
}
}
],
"meta": {
"page": 1,
"size": 1,
"totalPages": 1
}
}
Assistant
Responses are generated using AI and may contain mistakes.