Skip to content

Commit 16392d8

Browse files
committed
chore: regenerate the API schema for the enabled-apps endpoint
1 parent cb27f35 commit 16392d8

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

webapp/src/service/apiSchema.generated.ts

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,10 @@ export interface paths {
513513
/** Returns all apps registered in the project's organization, each annotated with whether it is enabled for this project. Requires project.edit: it discloses the organization's whole app inventory, including apps not enabled for this project. */
514514
get: operations["list_11"];
515515
};
516+
"/v2/projects/{projectId}/apps/enabled": {
517+
/** Returns only the apps enabled for this project, which every project member needs to render their dashboard pages. Discloses nothing about the organization's other apps. */
518+
get: operations["listEnabled"];
519+
};
516520
"/v2/projects/{projectId}/apps/{installId}": {
517521
/** Enables the given app install for this project. Idempotent. */
518522
put: operations["enable"];
@@ -16321,6 +16325,54 @@ export interface operations {
1632116325
};
1632216326
};
1632316327
};
16328+
/** Returns only the apps enabled for this project, which every project member needs to render their dashboard pages. Discloses nothing about the organization's other apps. */
16329+
listEnabled: {
16330+
parameters: {
16331+
path: {
16332+
projectId: number;
16333+
};
16334+
};
16335+
responses: {
16336+
/** OK */
16337+
200: {
16338+
content: {
16339+
"application/json": components["schemas"]["CollectionModelProjectAppModel"];
16340+
};
16341+
};
16342+
/** Bad Request */
16343+
400: {
16344+
content: {
16345+
"application/json":
16346+
| components["schemas"]["ErrorResponseTyped"]
16347+
| components["schemas"]["ErrorResponseBody"];
16348+
};
16349+
};
16350+
/** Unauthorized */
16351+
401: {
16352+
content: {
16353+
"application/json":
16354+
| components["schemas"]["ErrorResponseTyped"]
16355+
| components["schemas"]["ErrorResponseBody"];
16356+
};
16357+
};
16358+
/** Forbidden */
16359+
403: {
16360+
content: {
16361+
"application/json":
16362+
| components["schemas"]["ErrorResponseTyped"]
16363+
| components["schemas"]["ErrorResponseBody"];
16364+
};
16365+
};
16366+
/** Not Found */
16367+
404: {
16368+
content: {
16369+
"application/json":
16370+
| components["schemas"]["ErrorResponseTyped"]
16371+
| components["schemas"]["ErrorResponseBody"];
16372+
};
16373+
};
16374+
};
16375+
};
1632416376
/** Enables the given app install for this project. Idempotent. */
1632516377
enable: {
1632616378
parameters: {

0 commit comments

Comments
 (0)