get__repo_{repoId}_apikey
GET /repo/{repoId}/apikey
List Repository API Keys
Get all API keys for a repository
TypeScript Client Library
public getRepoKeys = async (repoId: string): Promise<GetRepoKeysResponse> => {
return this.makeRequest<GetRepoKeysResponse>(`repo/${repoId}/apikey`, 'GET', null);
};Code Samples
# You can also use wget
curl -X GET https://backend.flashback.tech/repo/{repoId}/apikey \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'GET https://backend.flashback.tech/repo/{repoId}/apikey HTTP/1.1
Host: localhost:3000
Accept: application/jsonconst headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('https://backend.flashback.tech/repo/{repoId}/apikey',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});Parameters
Name
In
Type
Required
Description
repoId
path
string
true
none
Example responses
200 Response
[
{}
]Responses
Status
Meaning
Description
Schema
Response Schema
To perform this operation, you must be authenticated by means of one of the following methods: BearerAuth
Last updated
Was this helpful?