Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EAM API: add list apps api #298

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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