diff --git a/src/Umbraco.Web.UI.Client/schemas/api/api.yml b/src/Umbraco.Web.UI.Client/schemas/api/api.yml index 330f2db671..9b3ddb3078 100644 --- a/src/Umbraco.Web.UI.Client/schemas/api/api.yml +++ b/src/Umbraco.Web.UI.Client/schemas/api/api.yml @@ -73,6 +73,22 @@ paths: application/json: schema: $ref: '#/components/schemas/ProblemDetails' + /manifests/packages: + get: + operationId: Packages + responses: + '200': + description: 200 response + content: + application/json: + schema: + $ref: '#/components/schemas/PackagesResponse' + default: + description: default response + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' /server/status: get: operationId: GetStatus diff --git a/src/Umbraco.Web.UI.Client/temp-schema-generator/manifests.ts b/src/Umbraco.Web.UI.Client/temp-schema-generator/manifests.ts index 47bf3b281b..5e17f2d96c 100644 --- a/src/Umbraco.Web.UI.Client/temp-schema-generator/manifests.ts +++ b/src/Umbraco.Web.UI.Client/temp-schema-generator/manifests.ts @@ -11,6 +11,15 @@ export class Manifests { default(@body body: ProblemDetails) {} } +@endpoint({ method: 'GET', path: '/manifests/packages' }) +export class Packages { + @response({ status: 200 }) + response(@body body: PackagesResponse) {} + + @defaultResponse + default(@body body: ProblemDetails) {} +} + export type Manifest = | IManifestSection | IManifestPropertyEditorUI @@ -32,6 +41,16 @@ export interface ManifestsResponse { manifests: Manifest[]; } +export interface PackagesResponse { + packages: Package[]; +} + +export interface Package { + name: string; + alias: string; + version: string; +} + export interface IManifest { type: string; alias: string;