Skip to content

Commit

Permalink
remove appid from appinstance path
Browse files Browse the repository at this point in the history
  • Loading branch information
gainsley committed Sep 18, 2024
1 parent b1d18ac commit aed4b26
Showing 1 changed file with 13 additions and 24 deletions.
37 changes: 13 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,19 @@ 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
properties:
appId:
$ref: '#/components/schemas/AppId'
appZones:
$ref: '#/components/schemas/AppZones'
required: true
responses:
'202':
Expand Down Expand Up @@ -420,8 +418,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 +465,7 @@ paths:
$ref: '#/components/responses/500'
'503':
$ref: '#/components/responses/503'
/apps/{appId}/instances/{appInstanceId}:
/appinstances/{appInstanceId}:
delete:
security:
- openId:
Expand All @@ -481,15 +479,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

0 comments on commit aed4b26

Please sign in to comment.