Skip to content

Commit

Permalink
Merge pull request #298 from camaraproject/getapps
Browse files Browse the repository at this point in the history
EAM API: add list apps api
  • Loading branch information
JoseMConde authored Oct 30, 2024
2 parents aefb038 + acef63f commit f9f8268
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 all existing Application definitions from the
Edge Cloud Provider that the user has permission to view.
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 f9f8268

Please sign in to comment.