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

🐛 [OpenAPI] Fixed example value for POST /{scopeId}/devices/{deviceId}/packages/_uninstall #4172

Merged
merged 1 commit into from
Jan 14, 2025
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
Original file line number Diff line number Diff line change
@@ -64,11 +64,6 @@ paths:
application/json:
schema:
$ref: '../deviceOperation/deviceOperation.yaml#/components/schemas/deviceOperation'
204:
description: |
The Package Install request has been successfully received. However, this does NOT mean that the package has been successfully installed, since the Package Install
is an asynchronous operation and may still be in progress. APIs are available at `device/{deviceId}/operations` and `device/{deviceId}/operations/{operationId}/notifications`
to track asynchronous operations.
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401:
Original file line number Diff line number Diff line change
@@ -49,11 +49,33 @@ paths:
application/json:
schema:
$ref: '../deviceOperation/deviceOperation.yaml#/components/schemas/deviceOperation'
204:
description: |
The Package Install request has been successfully received. However, this does NOT mean that the package has been successfully installed, since the Package Install
is an asynchronous operation and may still be in progress. APIs are available at `device/{deviceId}/operations` and `device/{deviceId}/operations/{operationId}/notifications`
to track asynchronous operations.
example:
type: deviceManagementOperation
id: daGd5aiInCU
scopeId: AQ
createdOn: '2019-11-15T11:27:24.857Z'
createdBy: AQ
modifiedOn: '2019-11-15T11:30:01.975Z'
modifiedBy: Ag
optlock: 1
action: EXECUTE
appId: DEPLOY
deviceId: UVjeGkGVT3A
operationId: I-1DnL467js
startedOn: '2019-11-15T11:27:24.842Z'
resource: UNINSTALL
status: RUNNING
operationProperties:
- name: kapua.package.operation.id
propertyType: org.eclipse.kapua.commons.model.id.KapuaEid
propertyValue: '2588799701293395515'
- name: kapua.package.download.name
propertyType: string
propertyValue: heater
- name: kapua.package.download.version
propertyType: string
propertyValue: 1.0.500
log: ''
400:
$ref: '../openapi.yaml#/components/responses/illegalArgument'
401: