@@ -12,6 +12,12 @@ paths:
1212 - Projects
1313 summary : Get project count
1414 description : This endpoint enables you to retrieve the overall number of projects you have.
15+ parameters :
16+ - in : query
17+ name : name
18+ schema :
19+ type : string
20+ description : Filter for projects names that contain this value. The API can return partial matches.
1521 responses :
1622 ' 200 ' :
1723 description : Successful response
@@ -134,6 +140,16 @@ paths:
134140 schema :
135141 type : string
136142 description : The ID of the project you want to count API keys for.
143+ - in : query
144+ name : name
145+ schema :
146+ type : string
147+ description : Filter for API key names that contain this value. The API can return partial matches.
148+ - in : query
149+ name : value
150+ schema :
151+ type : string
152+ description : Filter for the value of a specific API key.
137153 responses :
138154 ' 200 ' :
139155 description : Successful response
@@ -225,6 +241,7 @@ paths:
225241 name : page_size
226242 schema :
227243 type : integer
244+ minimum : 1
228245 default : 20
229246 maximum : 100
230247 description : Number of records per page.
@@ -234,6 +251,33 @@ paths:
234251 type : integer
235252 default : 1
236253 description : Page number to retrieve.
254+ - in : query
255+ name : name
256+ schema :
257+ type : string
258+ description : Filter for API key names that contain this value. The API can return partial matches.
259+ - in : query
260+ name : value
261+ schema :
262+ type : string
263+ description : Filter for the value of a specific API key.
264+ - in : query
265+ name : sort_by
266+ schema :
267+ type : string
268+ enum :
269+ - created_at
270+ - name
271+ - value
272+ description : ' Select a property to sort by. Allowed values: `created_at`, `name`, `value`.'
273+ - in : query
274+ name : sort_order
275+ schema :
276+ type : string
277+ enum :
278+ - asc
279+ - desc
280+ description : ' Select the order to sort by. Allowed values: `asc`, `desc`.'
237281 responses :
238282 ' 200 ' :
239283 description : Successful response
@@ -285,6 +329,12 @@ paths:
285329 summary : Get API key
286330 description : This endpoint enables you to retrieve a specific API key from a project.
287331 parameters :
332+ - in : path
333+ name : project_id
334+ required : true
335+ schema :
336+ type : string
337+ description : The ID of the project that the API key belongs to.
288338 - in : path
289339 name : api_key_id
290340 required : true
@@ -347,6 +397,12 @@ paths:
347397
348398 Note that deleting an API key is permanent - there is no way to retrieve an API key after you delete it.
349399 parameters :
400+ - in : path
401+ name : project_id
402+ required : true
403+ schema :
404+ type : string
405+ description : The ID of the project that the API key belongs to.
350406 - in : path
351407 name : api_key_id
352408 required : true
@@ -396,6 +452,10 @@ components:
396452 ApiKey :
397453 type : object
398454 properties :
455+ project_id :
456+ type : string
457+ description : The unique ID of the project that the API key belongs to.
458+ example : project_1CCq9NurjJBRehCVCe8XQY
399459 api_key_id :
400460 type : string
401461 description : The unique ID of an API key.
@@ -408,7 +468,7 @@ components:
408468 type : string
409469 description : The name of the API key. Also visible in the dashboard. You may set any value that fits your organization purposes.
410470 example : Development key
411- key :
471+ value :
412472 type : string
413473 description : The actual value of the API key. Use this value to authenticate your requests to the API.
414474 example : 19Kc5nhC7...ADWwAbTuUer
0 commit comments