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

Adjust OpenAPI Files for Discovery Service Profiles #229

Merged
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d32a416
revert Discovery Service Specification v3.0_SSP-001
sebbader-sap Feb 19, 2024
8c20ccc
add Discovery Service Specification V3.1_SSP-001 as own YAML file
sebbader-sap Feb 19, 2024
75fb204
adjust name of Discovery Service Specification SSP-002
sebbader-sap Feb 19, 2024
98ea35d
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Feb 26, 2024
accd0eb
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Dec 20, 2024
a6f403b
merge changes from the prep 3.1 branch
sebbader-sap Dec 20, 2024
156411a
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Dec 20, 2024
af275b7
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Dec 20, 2024
14a256a
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Dec 20, 2024
3d10064
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Dec 20, 2024
2fb64fc
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Dec 20, 2024
1881ad1
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Dec 20, 2024
8c2d006
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
bcbf3ed
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
515fba2
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
427eaa9
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
a760420
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
101dd01
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
3c6f1d0
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
2ba6224
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
8e3fa32
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
23cc02b
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
50ed1ff
correct links from v3.0.1 to v3.1.0
sebbader-sap Jan 2, 2025
69b13fa
Merge branch 'SeBa-rename-discovery-openapi' of https://github.com/ad…
sebbader-sap Jan 2, 2025
c828a24
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
d80bfee
Update DiscoveryServiceSpecification/V3.1_SSP-001.yaml
sebbader-sap Jan 2, 2025
39c6a4f
undo x-semanticId change for unchanged api operations
sebbader-sap Jan 2, 2025
0eb2bd0
Merge branch 'SeBa-rename-discovery-openapi' of https://github.com/ad…
sebbader-sap Jan 2, 2025
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
105 changes: 42 additions & 63 deletions DiscoveryServiceSpecification/V3.0_SSP-001.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,83 +11,62 @@ info:
license:
name: CC BY 4.0
url: https://creativecommons.org/licenses/by/4.0/
version: V3.1.0_SSP-001
x-profile-identifier: https://admin-shell.io/aas/API/3/1/DiscoveryServiceSpecification/SSP-001
version: V3.0.1_SSP-001
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
version: V3.0.1_SSP-001
version: V3.1.0_SSP-001

Copy link
Collaborator

@BirgitBoss BirgitBoss Apr 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is now V3.1, no? But all changes are for V3.0.1 but you want to merge it to branch of V3.1?

x-profile-identifier: https://admin-shell.io/aas/API/3/0/DiscoveryServiceSpecification/SSP-001
BirgitBoss marked this conversation as resolved.
Show resolved Hide resolved
servers:
- url: 'https://admin-shell.io/api/v3.1'
- url: 'https://example.com/'

- url: '{protocol}://{host_name}:{port}/api/{version_prefix}'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't we decide to support very flexible URL, just {protocol}://{base-url}. + Text: We recommend to use major version of API version only. After version it is still possible that there is a tenant-ID or a different order...

Copy link
Collaborator

@BirgitBoss BirgitBoss Mar 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is 3.0.1 but 3.0.1 is already released: I am getting confused…

variables:
protocol:
description: 'Allows access through http and https (recommended)'
enum:
- 'http'
- 'https'
default: 'https'
host_name:
default: admin-shell.io
description: 'Hostname of server hosting the api'
port:
enum:
- '80'
- '443'
default: '443'
description: '80 is default for http, 443 for https'
version_prefix:
enum:
- 'v3.0'
default: v3.0
paths:
/lookup/shells:
get:
deprecated: true
tags:
- Asset Administration Shell Basic Discovery API
summary: Returns a list of Asset Administration Shell ids linked to specific Asset identifiers
operationId: GetAllAssetAdministrationShellIdsByAssetLink
x-semanticIds:
- https://admin-shell.io/aas/API/GetAllAssetAdministrationShellIdsByAssetLink/3/0
parameters:
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/AssetIds'
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/Limit'
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/Cursor'
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/parameters/AssetIds'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not parameter any longer but part of the request body

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This 3.0.1

- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/parameters/Limit'
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/parameters/Cursor'
responses:
'200':
description: Requested Asset Administration Shell ids
content:
application/json:
schema:
allOf:
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/schemas/PagedResult'
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/schemas/PagedResult'
- type: object
properties:
result:
type: array
items:
type: string
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/default'
/lookup/shellsByAssetLink:
post:
tags:
- Asset Administration Shell Basic Discovery API
summary: Returns a list of Asset Administration Shell ids linked to specific Asset identifiers
operationId: SearchAllAssetAdministrationShellIdsByAssetLink
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
x-semanticIds:
- https://admin-shell.io/aas/API/SearchAllAssetAdministrationShellIdsByAssetLink/3/1
parameters:
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/Limit'
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/Cursor'
requestBody:
description: A list of specific Asset identifiers
content:
application/json:
schema:
type: array
items:
'$ref': 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/schemas/AssetLink'
responses:
'200':
description: Requested Asset Administration Shell ids
content:
application/json:
schema:
allOf:
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/schemas/PagedResult'
- type: object
properties:
result:
type: array
items:
type: string
'400':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/bad-request'
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/default'

$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/responses/default'
/lookup/shells/{aasIdentifier}:
parameters:
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/AssetAdministrationShellIdentifier'
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/parameters/AssetAdministrationShellIdentifier'
get:
tags:
- Asset Administration Shell Basic Discovery API
Expand All @@ -103,11 +82,11 @@ paths:
schema:
type: array
items:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.1.0#/components/schemas/SpecificAssetId'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.0.1#/components/schemas/SpecificAssetId'
'404':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/not-found'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/responses/not-found'
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/default'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/responses/default'
post:
tags:
- Asset Administration Shell Basic Discovery API
Expand All @@ -122,7 +101,7 @@ paths:
schema:
type: array
items:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.1.0#/components/schemas/SpecificAssetId'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.0.1#/components/schemas/SpecificAssetId'
required: true
responses:
'201':
Expand All @@ -132,15 +111,15 @@ paths:
schema:
type: array
items:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.1.0#/components/schemas/SpecificAssetId'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.0.1#/components/schemas/SpecificAssetId'
'400':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/bad-request'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/responses/bad-request'
'404':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/not-found'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/responses/not-found'
'409':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/conflict'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/responses/conflict'
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/default'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/responses/default'
delete:
tags:
- Asset Administration Shell Basic Discovery API
Expand All @@ -152,9 +131,9 @@ paths:
'204':
description: Specific Asset identifiers deleted successfully
'404':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/not-found'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/responses/not-found'
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/default'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/responses/default'
/description:
get:
tags:
Expand All @@ -169,6 +148,6 @@ paths:
content:
application/json:
schema:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/schemas/ServiceDescription'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/schemas/ServiceDescription'
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/default'
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.0.1#/components/responses/default'
174 changes: 174 additions & 0 deletions DiscoveryServiceSpecification/V3.1_SSP-001.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
openapi: 3.0.3
info:
title: DotAAS Part 2 | HTTP/REST | Discovery Service Specification (V3.1 Draft, not released)
description: >-
The entire Full Profile of the Discovery Service Specification as part of the [Specification of the Asset Administration Shell: Part 2](http://industrialdigitaltwin.org/en/content-hub).
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved

Publisher: Industrial Digital Twin Association (IDTA) April 2023
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
contact:
name: Industrial Digital Twin Association (IDTA)
email: [email protected]
license:
name: CC BY 4.0
url: https://creativecommons.org/licenses/by/4.0/
version: V3.1.0_SSP-001
x-profile-identifier: https://admin-shell.io/aas/API/3/1/DiscoveryServiceSpecification/SSP-001
servers:
- url: 'https://admin-shell.io/api/v3.1'
BirgitBoss marked this conversation as resolved.
Show resolved Hide resolved
- url: 'https://example.com/'
BirgitBoss marked this conversation as resolved.
Show resolved Hide resolved

paths:
/lookup/shells:
get:
deprecated: true
tags:
- Asset Administration Shell Basic Discovery API
summary: Returns a list of Asset Administration Shell ids linked to specific Asset identifiers
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
operationId: GetAllAssetAdministrationShellIdsByAssetLink
x-semanticIds:
- https://admin-shell.io/aas/API/GetAllAssetAdministrationShellIdsByAssetLink/3/0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- https://admin-shell.io/aas/API/GetAllAssetAdministrationShellIdsByAssetLink/3/0
- https://admin-shell.io/aas/API/GetAllAssetAdministrationShellIdsByAssetLink/3/1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, I just realize that this operation hasn't been touched at all with V3.1.0, therefore, I left the x-semanticId at .../3/0 on purpose. Same also for GetAllAssetLinksById.

Copy link
Collaborator

@BirgitBoss BirgitBoss Jan 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, so for API-operations etc. we do no increase versions (admin-shell-io/aas-specs#366), only for classes
Only problem: the paramter classes used in the operation increased the version to V3.1.

parameters:
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/AssetIds'
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/Limit'
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/Cursor'
responses:
'200':
description: Requested Asset Administration Shell IDs
content:
application/json:
schema:
allOf:
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/schemas/PagedResult'
- type: object
properties:
result:
type: array
items:
type: string
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/default'
/lookup/shellsByAssetLink:
post:
tags:
- Asset Administration Shell Basic Discovery API
summary: Returns a list of Asset Administration Shell ids linked to specific Asset identifiers
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
operationId: SearchAllAssetAdministrationShellIdsByAssetLink
x-semanticIds:
- https://admin-shell.io/aas/API/SearchAllAssetAdministrationShellIdsByAssetLink/3/1
parameters:
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/Limit'
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/Cursor'
requestBody:
description: A list of specific Asset identifiers
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
content:
application/json:
schema:
type: array
items:
'$ref': 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/schemas/AssetLink'
responses:
'200':
description: Requested Asset Administration Shell ids
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
content:
application/json:
schema:
allOf:
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/schemas/PagedResult'
- type: object
properties:
result:
type: array
items:
type: string
'400':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/bad-request'
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/default'

/lookup/shells/{aasIdentifier}:
parameters:
- $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/parameters/AssetAdministrationShellIdentifier'
get:
tags:
- Asset Administration Shell Basic Discovery API
summary: Returns a list of specific Asset identifiers based on an Asset Administration Shell id to edit discoverable content
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
operationId: GetAllAssetLinksById
x-semanticIds:
- https://admin-shell.io/aas/API/GetAllAssetLinksById/3/0
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
responses:
'200':
description: Requested specific Asset identifiers
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
content:
application/json:
schema:
type: array
items:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.1.0#/components/schemas/SpecificAssetId'
'404':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/not-found'
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/default'
post:
tags:
- Asset Administration Shell Basic Discovery API
summary: Creates specific Asset identifiers linked to an Asset Administration Shell to edit discoverable content
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
operationId: PostAllAssetLinksById
x-semanticIds:
- https://admin-shell.io/aas/API/PostAllAssetLinksById/3/0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- https://admin-shell.io/aas/API/PostAllAssetLinksById/3/0
- https://admin-shell.io/aas/API/PostAllAssetLinksById/3/1

requestBody:
description: A list of specific Asset identifiers
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
content:
application/json:
schema:
type: array
items:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.0.1#/components/schemas/SpecificAssetId'
required: true
responses:
'201':
description: Specific Asset identifiers created successfully
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
content:
application/json:
schema:
type: array
items:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.0.1#/components/schemas/SpecificAssetId'
'400':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/bad-request'
'404':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/not-found'
'409':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/conflict'
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/default'
delete:
BirgitBoss marked this conversation as resolved.
Show resolved Hide resolved
tags:
- Asset Administration Shell Basic Discovery API
summary: Deletes all specific Asset identifiers linked to an Asset Administration Shell to edit discoverable content
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
operationId: DeleteAllAssetLinksById
x-semanticIds:
- https://admin-shell.io/aas/API/DeleteAllAssetLinksById/3/0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- https://admin-shell.io/aas/API/DeleteAllAssetLinksById/3/0
- https://admin-shell.io/aas/API/DeleteAllAssetLinksById/3/1

responses:
'204':
description: Specific Asset identifiers deleted successfully
sebbader-sap marked this conversation as resolved.
Show resolved Hide resolved
'404':
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/not-found'
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.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/0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- https://admin-shell.io/aas/API/Descriptor/GetDescription/3/0
- https://admin-shell.io/aas/API/Descriptor/GetDescription/3/1

Copy link
Collaborator

@BirgitBoss BirgitBoss Jan 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no change compared to 3.0? Since Classes changed version then API operations probably also need to be increased (even if class itself was not changed neither...)

responses:
'200':
description: Requested Description
content:
application/json:
schema:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/schemas/ServiceDescription'
default:
$ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part2-API-Schemas/V3.1.0#/components/responses/default'