-
Notifications
You must be signed in to change notification settings - Fork 14
Async AASX File Server Profile #531
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
8bdba11
add proposal for an async aasx profile
sebbader-sap 15a212c
correct result of the get .../results/... endpoint
sebbader-sap 455dedf
add missing appearances of the async aasx file server operations
sebbader-sap 9b79e44
Merge branch 'IDTA-01002-3-2_working' into SeBa/347-async-aasx
sebbader-sap 6cda5f1
Merge branch 'IDTA-01002-3-2_working' into SeBa/347-async-aasx
sebbader-sap File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,154 @@ | ||
| openapi: 3.0.3 | ||
| info: | ||
| title: DotAAS Part 2 | HTTP/REST | AASX File Server Service Specification | ||
| description: >- | ||
| The async profile of the File Server Service Specification as part of the [Specification of the Asset Administration Shell: Part 2](http://industrialdigitaltwin.org/en/content-hub). | ||
|
|
||
| Publisher: Industrial Digital Twin Association (IDTA) 2026 | ||
| contact: | ||
| name: Industrial Digital Twin Association (IDTA) | ||
| email: info@idtwin.org | ||
| license: | ||
| name: CC BY 4.0 | ||
| url: https://creativecommons.org/licenses/by/4.0/ | ||
| version: V3.2.0_SSP-002 | ||
| x-profile-identifier: https://admin-shell.io/aas/API/3/2/AasxFileServerServiceSpecification/SSP-002 | ||
| termsOfService: https://github.com/admin-shell-io/aas-specs | ||
| servers: | ||
| - url: 'https://admin-shell.io/api/v3' | ||
| - url: 'https://example.com' | ||
| paths: | ||
| /packages-async: | ||
|
|
||
| post: | ||
| tags: | ||
| - AASX Async File Server API | ||
| summary: Initiates an asynchronous upload of an AASX package at the server. | ||
| operationId: PostAsyncAASXPackage | ||
| x-semanticIds: | ||
| - https://admin-shell.io/aas/API/PostAsyncAASXPackage/3/2 | ||
| requestBody: | ||
| description: AASX package | ||
| content: | ||
| multipart/form-data: | ||
| schema: | ||
| type: object | ||
| properties: | ||
| aasIds: | ||
| type: array | ||
| items: | ||
| type: string | ||
| file: | ||
| type: string | ||
| format: binary | ||
| fileName: | ||
| type: string | ||
| encoding: | ||
| file: | ||
| contentType: application/asset-administration-shell-package | ||
| required: true | ||
| responses: | ||
| '202': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/accepted' | ||
| '400': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/bad-request' | ||
| '401': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/unauthorized' | ||
| '403': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/forbidden' | ||
| '409': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/conflict' | ||
| '500': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/internal-server-error' | ||
| default: | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/default' | ||
|
|
||
| /packages-async/status/{handleId}: | ||
| parameters: | ||
| - $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/parameters/HandleId' | ||
| get: | ||
| tags: | ||
| - AASX Async File Server Status API | ||
| summary: Returns the status of an asynchronously invoked AASX operation. | ||
| operationId: GetAasxAsyncStatus | ||
| x-semanticIds: | ||
| - https://admin-shell.io/aas/API/GetAasxAsyncStatus/3/2 | ||
| responses: | ||
| '200': | ||
| description: Operation result object containing information that the 'executionState' is still 'Running' | ||
| content: | ||
| application/json: | ||
| schema: | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/schemas/BaseOperationResult' | ||
| '302': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/found' | ||
| '400': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/bad-request' | ||
| '401': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/unauthorized' | ||
| '403': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/forbidden' | ||
| '404': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/not-found' | ||
| '500': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/internal-server-error' | ||
| default: | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/default' | ||
| /packages-async/results/{handleId}: | ||
| parameters: | ||
| - $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/parameters/IdShortPath' | ||
| - $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/parameters/HandleId' | ||
| get: | ||
| tags: | ||
| - AASX Async File Server Result API | ||
| summary: Returns the Operation result of an asynchronous invoked AASX operation. | ||
| operationId: GetAasxAsyncResult | ||
| x-semanticIds: | ||
| - https://admin-shell.io/aas/API/GetAasxAsyncResult/3/2 | ||
| responses: | ||
| '200': | ||
| description: Operation result object | ||
| content: | ||
| application/json: | ||
| schema: | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/schemas/OperationResult' | ||
| '400': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/bad-request' | ||
| '401': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/unauthorized' | ||
| '403': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/forbidden' | ||
| '404': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/not-found' | ||
| '500': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/internal-server-error' | ||
| default: | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/default' | ||
|
|
||
|
|
||
| /description: | ||
| get: | ||
| tags: | ||
| - Description API | ||
| summary: Returns the self-describing information of a network resource (ServiceDescription) | ||
| operationId: GetDescription | ||
| x-semanticIds: | ||
| - https://admin-shell.io/aas/API/Descriptor/GetDescription/3/2 | ||
| responses: | ||
| '200': | ||
| description: Requested Description | ||
| content: | ||
| application/json: | ||
| example: "https://admin-shell.io/aas/API/3/2/AasxFileServerServiceSpecification/SSP-002" | ||
| schema: | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/schemas/ServiceDescription' | ||
| '400': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/bad-request' | ||
| '403': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/forbidden' | ||
| '404': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/not-found' | ||
| '500': | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/internal-server-error' | ||
| default: | ||
| $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.2.0#/components/responses/default' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.