Skip to content

Commit

Permalink
add list apps api
Browse files Browse the repository at this point in the history
  • Loading branch information
gainsley committed Sep 18, 2024
1 parent b1d18ac commit 53781e9
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions code/API_definitions/Edge-Application-Management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,41 @@ paths:
$ref: '#/components/responses/501'
'503':
$ref: '#/components/responses/503'
get:
security:
- openId:
- edge-application-management:apps:read
tags:
- Application
summary: Retrieve a list of existing Applications
description: |
Get the list of existing Application definitions from the Edge Cloud
Provider.
operationId: getApps
parameters:
- $ref: '#/components/parameters/x-correlator'
responses:
'200':
description: List of existing applications
headers:
x-correlator:
$ref: "#/components/headers/x-correlator"
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/AppManifest'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'500':
$ref: '#/components/responses/500'
'503':
$ref: '#/components/responses/503'

/apps/{appId}:
get:
Expand Down Expand Up @@ -701,6 +736,8 @@ components:
Application information and requirements provided by the
Application Provider
properties:
appId:
$ref: '#/components/schemas/AppId'
name:
type: string
pattern: ^[A-Za-z][A-Za-z0-9_]{1,63}$
Expand Down

0 comments on commit 53781e9

Please sign in to comment.