Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
feat(Keys): Add definitions
Browse files Browse the repository at this point in the history
- Add definition for key usage
- Add definition for private key info
  • Loading branch information
cblanc committed Jun 4, 2019
1 parent 68e71cb commit 38f1f8e
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion generate/definitions/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,30 @@ const keys: Definition[] = [
headers: {},
},
{

name: "2000-keys-unavailable",
description: "Unavailable API Key",
url: "/v1/keys/idkfa",
query: {},
headers: {},
},
{
name: "2000-keys-usage",
description: "API key recent usage statistics",
url: "/v1/keys/<VALID_API_KEY>/usage",
query: {
user_token: "<USER_TOKEN>"
},
headers: {},
},
{
name: "2000-keys-private",
description: "API Key query for private information",
url: "/v1/keys/<VALID_API_KEY>",
query: {
user_token: "<USER_TOKEN>"
},
headers: {},
},
];

export default keys;
Expand Down

0 comments on commit 38f1f8e

Please sign in to comment.