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: remove appid from appinstance path #302

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
40 changes: 16 additions & 24 deletions code/API_definitions/Edge-Application-Management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ paths:
'503':
$ref: '#/components/responses/503'

/apps/{appId}/instances:
/appinstances:
post:
security:
- openId:
Expand All @@ -341,21 +341,22 @@ paths:
operationId: createAppInstance
parameters:
- $ref: '#/components/parameters/x-correlator'
- name: appId
description: |
A globally unique identifier associated with the
application. Edge Cloud Provider generates this identifier when
the application is submitted.
in: path
required: true
schema:
$ref: '#/components/schemas/AppId'
requestBody:
description: Array of Edge Cloud Zone
description: |
The Application ID and the array of Edge Cloud Zones to deploy
it to.
content:
application/json:
schema:
$ref: '#/components/schemas/AppZones'
type: object
required:
- appId
- appZones
properties:
appId:
$ref: '#/components/schemas/AppId'
appZones:
$ref: '#/components/schemas/AppZones'
required: true
responses:
'202':
Expand Down Expand Up @@ -420,8 +421,8 @@ paths:
the application.
Edge Cloud Provider generates this identifier when the
application is submitted.
in: path
required: true
in: query
required: false
schema:
$ref: '#/components/schemas/AppId'
- name: appInstanceId
Expand Down Expand Up @@ -467,7 +468,7 @@ paths:
$ref: '#/components/responses/500'
'503':
$ref: '#/components/responses/503'
/apps/{appId}/instances/{appInstanceId}:
/appinstances/{appInstanceId}:
delete:
security:
- openId:
Expand All @@ -481,15 +482,6 @@ paths:
operationId: deleteAppInstance
parameters:
- $ref: '#/components/parameters/x-correlator'
- name: appId
description: |
A globally unique identifier associated with the
application. Edge Cloud Provider generates this identifier
when the application is submitted.
in: path
required: true
schema:
$ref: '#/components/schemas/AppId'
- name: appInstanceId
in: path
description: |
Expand Down