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

Request Body for POST /shell-descriptors #189

Closed
Yasuhito-Yoshida-3 opened this issue Nov 10, 2023 · 4 comments
Closed

Request Body for POST /shell-descriptors #189

Yasuhito-Yoshida-3 opened this issue Nov 10, 2023 · 4 comments

Comments

@Yasuhito-Yoshida-3
Copy link

How do I set the Request Body for POST /shell-descriptors?
I would like a concrete example. I don't know the relationship with the existing Example_AAS_ServoDCMotor_21.aasx file.
Does anyone know?
I don't understand as there is no detailed description in IDTA-01002-3-0_SpecificationAssetAdministrationShell_Part2_API.pdf.
I would like to know more about AssetAdministrationShellRegistryAPIApi.

@aorzelskiGH
Copy link
Contributor

Please take a look on the demo servers: https://v3.admin-shell-io.com/ and https://v3registry.admin-shell-io.com .
Get the shell descriptors of the registry by https://v3registry.admin-shell-io.com/shell-descriptors .
Look on the API at /swagger of each server.
Please do not POST to the public demo registry, but set up your own one.
I have put 2 AASX examples into /examples folder: 1 for a local registry and 1 for an empty registry.
For an empty registry server just put the empty one as only AASX.
For a repositiory server put first the local AASX into and you see a local registry.
As a final step you add another postRegistry to create automatic POSTs to your own registry server.

@Yasuhito-Yoshida-3
Copy link
Author

Thank you for your answer.
The following was confirmed on the local server.
/lookup/shells
/shell-descriptors
/shell-descriptors/{aasIdentifier}

However, the following returns status code 204.
/shell-descriptors/{aasIdentifier}/submodel-descriptors
There is no internal JSON data.
When I tried the following, I got the same 204 status code.
https://v3.admin-shell-io.com/swagger/index.html

Is it not implemented yet? Or do I need a proper AASX sample?

@juileetikekar
Copy link
Contributor

Hi @Yasuhito-Yoshida-3,

This API is not yet implemented.

@Yasuhito-Yoshida-3
Copy link
Author

/shell-descriptors/{aasIdentifier}/submodel-descriptors
I understand that it is not implemented.

This issue will be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants