Skip to content

Commit

Permalink
daily update 20240113T000242
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 13, 2024
1 parent ad460a3 commit 9f749ad
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
12 changes: 10 additions & 2 deletions client/services/ProjectService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,16 @@ export class ProjectService {
*/
public static listCheckoutKeys({
projectSlug,
digest,
}: {
/**
* Project slug in the form `vcs-slug/org-name/repo-name`. The `/` characters may be URL-escaped. For projects that use GitLab or GitHub App, use `circleci` as the `vcs-slug`, replace `org-name` with the organization ID (found in Organization Settings), and replace `repo-name` with the project ID (found in Project Settings).
*/
projectSlug: string;
/**
* The fingerprint digest type to return. This may be either `md5` or `sha256`. If not passed, defaults to `md5`.
*/
digest?: "sha256" | "md5";
}): CancelablePromise<{
items: Array<{
/**
Expand Down Expand Up @@ -107,6 +112,9 @@ export class ProjectService {
path: {
"project-slug": projectSlug,
},
query: {
digest: digest,
},
});
}
/**
Expand Down Expand Up @@ -147,7 +155,7 @@ export class ProjectService {
}
/**
* Delete a checkout key
* Deletes the checkout key.
* Deletes the checkout key via md5 or sha256 fingerprint. sha256 keys should be url-encoded.
* @returns any A confirmation message.
* @throws ApiError
*/
Expand Down Expand Up @@ -180,7 +188,7 @@ export class ProjectService {
}
/**
* Get a checkout key
* Returns an individual checkout key.
* Returns an individual checkout key via md5 or sha256 fingerprint. sha256 keys should be url-encoded.
* @returns any The checkout key.
* @throws ApiError
*/
Expand Down
14 changes: 12 additions & 2 deletions swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -5347,6 +5347,16 @@
"schema": {
"type": "string"
}
},
{
"description": "The fingerprint digest type to return. This may be either `md5` or `sha256`. If not passed, defaults to `md5`.",
"in": "query",
"name": "digest",
"required": false,
"schema": {
"enum": ["sha256", "md5"],
"type": "string"
}
}
],
"responses": {
Expand Down Expand Up @@ -5541,7 +5551,7 @@
},
"/project/{project-slug}/checkout-key/{fingerprint}": {
"delete": {
"description": "Deletes the checkout key.",
"description": "Deletes the checkout key via md5 or sha256 fingerprint. sha256 keys should be url-encoded.",
"operationId": "deleteCheckoutKey",
"parameters": [
{
Expand Down Expand Up @@ -5606,7 +5616,7 @@
"tags": ["Project"]
},
"get": {
"description": "Returns an individual checkout key.",
"description": "Returns an individual checkout key via md5 or sha256 fingerprint. sha256 keys should be url-encoded.",
"operationId": "getCheckoutKey",
"parameters": [
{
Expand Down

0 comments on commit 9f749ad

Please sign in to comment.