Get all Application Keys
GEThttps://useast.api.elasticpath.com/v2/application-keys
You can use pagination with this resource. For more information, see pagination.
Request
Query Parameters
page[offset] int64
Possible values: <= 10000
The current offset by number of records, not pages. Offset is zero-based. The maximum records you can offset is 10,000. If no page size is set, the page length store setting is used.
page[limit] int64
The maximum number of records per page for this response. You can set this value up to 100. If no page size is set, the page length store setting is used.
Responses
- 200
- 401
- default
OK
- application/json
- Schema
- Example (from schema)
- get-keys
Schema
data object[]
meta object
links object
{
"data": [
{
"id": "0c45e4ec-26e0-4043-86e4-c15b9cf985a0",
"name": "App Key",
"type": "string",
"client_id": "Z2dDp1f1Tg30p2C6ZVit7W1AKUtVhMVSTAPOIK4adA",
"client_secret": "jN8qLHneOn8C1rv0r3J3XZK1cRiZG3rajcLi9X1cZZ",
"reserved_rate_limit": 10,
"meta": {
"timestamps": {
"created_at": "2017-01-10T11:41:19.244Z",
"updated_at": "2017-01-10T11:41:19.244Z",
"last_used_at": "2017-01-10T11:41:19.244Z"
}
},
"links": {
"self": "https://useast.api.elasticpath.com/v2/application-keys/0c45e4ec-26e0-4043-86e4-c15b9cf985a0"
}
}
],
"meta": {
"results": {
"total": 0
},
"page": {
"limit": 100,
"offset": 0,
"current": 1,
"total": 1
},
"total_reserved_rate_limit": 0
},
"links": {
"current": "/v2/application-keys?page[offset]=0&page[limit]=100",
"first": "/v2/application-keys?page[offset]=0&page[limit]=100",
"last": "/v2/application-keys?page[offset]=0&page[limit]=100",
"next": null,
"prev": null
}
}
Get Application Keys
{
"data": [
{
"id": "2a0949f6-661b-4a19-b0ed-e97b41e98623",
"name": "Storefront",
"type": "application_key",
"client_id": "d4fcc576f661778c29fcd7b78461da8291cc6b003d",
"reserved_rate_limit": 50,
"meta": {
"timestamps": {
"last_used_at": "2022-08-24T19:53:52.474283Z",
"created_at": "2022-08-24T19:53:52.474283Z",
"updated_at": "2022-08-24T19:53:52.474283Z"
}
}
},
{
"id": "015b8b6d-36a0-4c7f-b216-3cf233f49b95",
"name": "Search Integration",
"type": "application_key",
"client_id": "ada730106344ad8e62b07abe2fcef7e540014f33c2",
"reserved_rate_limit": 0,
"meta": {
"timestamps": {
"last_used_at": "2022-08-24T20:11:54.347893Z",
"created_at": "2022-08-24T20:11:54.347893Z",
"updated_at": "2022-08-24T20:11:54.347893Z"
}
}
}
],
"links": {
"current": "https://useast.api.elasticpath.com/v2/application-keys?page[offset]=25&page[limit]=0",
"first": "https://useast.api.elasticpath.com/v2/application-keys?page[offset]=0&page[limit]=25",
"last": "https://useast.api.elasticpath.com/v2/application-keys?page[offset]=0&page[limit]=25",
"next": null,
"prev": null
},
"meta": {
"page": {
"limit": 25,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 2
},
"total_reserved_rate_limit": 50
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- unauthorized-error
Schema
errors Error[]required
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"title": "Unauthorized",
"status": "401"
}
]
}
Internal server error. There was a system failure in the platform.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
errors Error[]required
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
Internal server error
{
"errors": [
{
"title": "Internal Server Error",
"status": "500",
"detail": "there was a problem processing your request"
}
]
}
Authorization: http
name: bearerAuthtype: httpscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://useast.api.elasticpath.com/v2/application-keys' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear