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

REST API shall also show idshort #17

Open
aorzelskiGH opened this issue Jun 21, 2019 · 0 comments
Open

REST API shall also show idshort #17

aorzelskiGH opened this issue Jun 21, 2019 · 0 comments

Comments

@aorzelskiGH
Copy link
Collaborator

REST has the beautiful advantage that it can be used with a browser.

To make an AAS better readable for humans, the idshort shall be shown, e.g. for the submodels.

Example:

/aas/id/complete

{
"AAS": {
"hasDataSpecification": null,
"derivedFrom": null,
"asset": {
"keys": [
{
"type": "Asset",
"local": true,
"value": "www.phoenixcontact.com/asset/product/2404267",
"index": 0,
"idType": "URI"
}
]
},
"submodels": [
{
"keys": [
{
"type": "Submodel",
"local": true,
"value": "http://www.phoenixcontact.com/id/instance/99920181225234907000033133",
"index": 0,
"idType": "URI"
}
]
},
{
"keys": [
{
"type": "Submodel",
"local": true,
"value": "www.phoenixcontact.com/ids/sm/2393_4191_2091_4218",
"index": 0,
"idType": "URI"
}
]
},

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

1 participant