blob: 4a48e5fdfe371b1481460b88a0a22bed9a7ffc41 [file] [log] [blame]
{
"info": {
"_postman_id": "7b915939-0386-4f61-a518-235dcf636193",
"name": "BaSyx",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Asset Administration Shell",
"item": [
{
"name": "Submodel",
"item": [
{
"name": "SubmodelElements",
"item": [
{
"name": "Create or Update SubmodelElement",
"event": [
{
"listen": "test",
"script": {
"id": "088a0eb7-5981-4d96-9879-34e2298acb1c",
"exec": [
"pm.environment.set(\"submodelElement_idShort\", pm.response.json().idShort);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"idShort\": \"{{submodelElement_idShort}}\",\n \"modelType\": {\n \"name\": \"Property\"\n },\n \"valueType\": {\n \"dataObjectType\": {\n \"name\": \"string\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{submodelElement_idShort}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{submodelElement_idShort}}"
]
}
},
"response": []
},
{
"name": "Retrieve SubmodelElement by IdShort",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{submodelElement_idShort}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{submodelElement_idShort}}"
]
}
},
"response": []
},
{
"name": "Retrieve all SubmodelElements",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements"
]
}
},
"response": []
},
{
"name": "Update SubmodelElement Value by IdShort",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\"TestStringValue\"",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{submodelElement_idShort}}/value",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{submodelElement_idShort}}",
"value"
]
}
},
"response": []
},
{
"name": "Retrieve SubmodelElement Value by IdShort",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {}
}
},
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{submodelElement_idShort}}/value",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{submodelElement_idShort}}",
"value"
]
}
},
"response": []
},
{
"name": "Delete SubmodelElement by IdShort",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{submodelElement_idShort}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{submodelElement_idShort}}"
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Operations",
"item": [
{
"name": "Invoke Operation by Id",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"requestId\" : \"12345678\",\n \"inoutputArguments\": [{\n \"value\" : {\n\t\t\t\"idShort\" : \"HierRein\",\n\t\t\t\"modelType\" : {\n\t\t\t\t\"name\" : \"Property\"\n\t\t\t},\n \"valueType\": {\n \"dataObjectType\": {\n \"name\": \"string\"\n }\n }\n\t\t}\n }],\n\t\"inputArguments\" : [{\n\t\t\"value\" : {\n\t\t\t\"idShort\" : \"Expression\",\n\t\t\t\"modelType\" : {\n\t\t\t\t\"name\" : \"Property\"\n\t\t\t},\n\t \t\"value\" : \"5*(3+3)\",\n \"valueType\": {\n \"dataObjectType\": {\n \"name\": \"string\"\n }\n }\n\t\t}\n\t},\n {\n\t\t\"value\" : {\n\t\t\t\"idShort\" : \"ComputingTime\",\n\t\t\t\"modelType\" : {\n\t\t\t\t\"name\" : \"Property\"\n\t\t\t},\n\t \t\"value\" : 3000,\n \"valueType\": {\n \"dataObjectType\": {\n \"name\": \"int\"\n }\n }\n\t\t}\n\t}],\n\t\"timeout\" : 5000\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{operation_idShort}}/invoke?async=false",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{operation_idShort}}",
"invoke"
],
"query": [
{
"key": "async",
"value": "false"
}
]
}
},
"response": []
},
{
"name": "Invoke Operation by Id (async)",
"event": [
{
"listen": "test",
"script": {
"id": "bd346ea3-d16e-478e-aa1c-b0610b994bfb",
"exec": [
"pm.environment.set(\"requestId\", pm.response.json().requestId);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"requestId\" : \"{{$guid}}\",\n \"inoutputArguments\": [{\n \"value\" : {\n\t\t\t\"idShort\" : \"HierRein\",\n\t\t\t\"modelType\" : {\n\t\t\t\t\"name\" : \"Property\"\n\t\t\t},\n \"valueType\": {\n \"dataObjectType\": {\n \"name\": \"string\"\n }\n }\n\t\t}\n }],\n\t\"inputArguments\" : [{\n\t\t\"value\" : {\n\t\t\t\"idShort\" : \"Expression\",\n\t\t\t\"modelType\" : {\n\t\t\t\t\"name\" : \"Property\"\n\t\t\t},\n\t \t\"value\" : \"5*(3+2)\",\n \"valueType\": {\n \"dataObjectType\": {\n \"name\": \"string\"\n }\n }\n\t\t}\n\t},\n {\n\t\t\"value\" : {\n\t\t\t\"idShort\" : \"ComputingTime\",\n\t\t\t\"modelType\" : {\n\t\t\t\t\"name\" : \"Property\"\n\t\t\t},\n\t \t\"value\" : 5000,\n \"valueType\": {\n \"dataObjectType\": {\n \"name\": \"int\"\n }\n }\n\t\t}\n\t}],\n\t\"timeout\" : 6000\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{operation_idShort}}/invoke?async=true",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{operation_idShort}}",
"invoke"
],
"query": [
{
"key": "async",
"value": "true"
}
]
}
},
"response": []
},
{
"name": "Retrieve Invocation Result",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{operation_idShort}}/invocationList/{{requestId}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{operation_idShort}}",
"invocationList",
"{{requestId}}"
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Create or Update Submodel",
"event": [
{
"listen": "test",
"script": {
"id": "b324cbc3-5623-495f-b5f9-549a10fc31a6",
"exec": [
"pm.environment.set(\"submodel_idShort\", pm.response.json().idShort);",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"idShort\": \"{{submodel_idShort}}\",\n \"identification\" : {\n\t\t\t\"id\" : \"{{submodel_id}}\",\n\t\t\t\"idType\" : \"Custom\"\n\t},\n \"kind\" : \"Instance\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}"
]
}
},
"response": []
},
{
"name": "Retrieve all Submodels",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{component_endpoint}}/aas/submodels",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels"
]
}
},
"response": []
},
{
"name": "Retrieve Submodel by IdShort",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}"
]
}
},
"response": []
},
{
"name": "Delete Submodel by IdShort",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{component_endpoint}}/aas/submodels/{{submodel_idShort}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas",
"submodels",
"{{submodel_idShort}}"
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Retrieve Asset Administration Shell",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{component_endpoint}}/aas",
"host": [
"{{component_endpoint}}"
],
"path": [
"aas"
]
}
},
"response": []
}
]
},
{
"name": "Asset Administration Shell Repository",
"item": [
{
"name": "Submodel",
"item": [
{
"name": "SubmodelElements",
"item": [
{
"name": "Create or Update SubmodelElement",
"event": [
{
"listen": "test",
"script": {
"id": "c7a5216f-f6e6-4fe8-8cf7-989669f64ee3",
"exec": [
"pm.environment.set(\"submodelElement_idShort\", pm.response.json().idShort);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"idShort\": \"{{submodelElement_idShort}}\",\n \"modelType\": {\n \"name\": \"Property\"\n },\n \"valueType\": {\n \"dataObjectType\": {\n \"name\": \"string\"\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{component_endpoint}}/shells/{{aas_id_encoded}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{submodelElement_idShort}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"shells",
"{{aas_id_encoded}}",
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{submodelElement_idShort}}"
]
}
},
"response": []
},
{
"name": "Retrieve SubmodelElement by IdShort",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{component_endpoint}}/shells/{{aas_id_encoded}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{submodelElement_idShort}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"shells",
"{{aas_id_encoded}}",
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{submodelElement_idShort}}"
]
}
},
"response": []
},
{
"name": "Retrieve all SubmodelElements",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{component_endpoint}}/shells/{{aas_id_encoded}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements",
"host": [
"{{component_endpoint}}"
],
"path": [
"shells",
"{{aas_id_encoded}}",
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements"
]
}
},
"response": []
},
{
"name": "Update SubmodelElement Value by IdShort",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\"TestStringValue\"",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{component_endpoint}}/shells/{{aas_id_encoded}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{submodelElement_idShort}}/value",
"host": [
"{{component_endpoint}}"
],
"path": [
"shells",
"{{aas_id_encoded}}",
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{submodelElement_idShort}}",
"value"
]
}
},
"response": []
},
{
"name": "Retrieve SubmodelElement Value by IdShort",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {}
}
},
"url": {
"raw": "{{component_endpoint}}/shells/{{aas_id_encoded}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{submodelElement_idShort}}/value",
"host": [
"{{component_endpoint}}"
],
"path": [
"shells",
"{{aas_id_encoded}}",
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{submodelElement_idShort}}",
"value"
]
}
},
"response": []
},
{
"name": "Delete SubmodelElement by IdShort",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{component_endpoint}}/shells/{{aas_id_encoded}}/aas/submodels/{{submodel_idShort}}/submodel/submodelElements/{{submodelElement_idShort}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"shells",
"{{aas_id_encoded}}",
"aas",
"submodels",
"{{submodel_idShort}}",
"submodel",
"submodelElements",
"{{submodelElement_idShort}}"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "Create or Update Submodel at Asset Administration Shell",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"idShort\": \"{{submodel_idShort}}\",\n \"identification\": {\n \"id\": \"{{submodel_id}}\",\n \"idType\": \"IRI\"\n },\n \"modelType\" : {\n\t\t\t\"name\" : \"Submodel\"\n\t},\n \"semanticId\" : {\n \"keys\": [\n {\n \"type\": \"Submodel\",\n \"idType\": \"IRI\",\n \"value\": \"urn:basys:org.eclipse.basyx:submodels:{{submodel_idShort}}:1.0.0\",\n \"local\": false\n }\n ]\n }\n}\n",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{component_endpoint}}/shells/{{aas_id_encoded}}/aas/submodels/{{submodel_idShort}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"shells",
"{{aas_id_encoded}}",
"aas",
"submodels",
"{{submodel_idShort}}"
]
}
},
"response": []
},
{
"name": "Retrieve Submodel from Asset Administration Shell",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"url": {
"raw": "{{component_endpoint}}/shells/{{aas_id_encoded}}/aas/submodels/{{submodel_idShort}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"shells",
"{{aas_id_encoded}}",
"aas",
"submodels",
"{{submodel_idShort}}"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "Create or Update Asset Administration Shell",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n\t\"idShort\" : \"{{aas_idShort}}\",\r\n\t\"identification\" : {\r\n\t\t\t\"id\" : \"{{aas_id}}\",\r\n\t\t\t\"idType\" : \"IRI\"\r\n\t},\r\n\t\"modelType\" : {\r\n\t\t\"name\" : \"AssetAdministrationShell\"\r\n\t}\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{component_endpoint}}/shells/{{aas_id_encoded}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"shells",
"{{aas_id_encoded}}"
]
}
},
"response": []
},
{
"name": "Retrieve Asset Administration Shell By Id",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{component_endpoint}}/shells/{{aas_id_encoded}}",
"host": [
"{{component_endpoint}}"
],
"path": [
"shells",
"{{aas_id_encoded}}"
]
}
},
"response": []
},
{
"name": "Retrieve All Asset Administration Shells",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{component_endpoint}}/shells",
"host": [
"{{component_endpoint}}"
],
"path": [
"shells"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Registry",
"item": [
{
"name": "Register Asset Administration Shell",
"item": [
{
"name": "Register Asset Administration Shell (Minimal)",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"idShort\" : \"{{aas_idShort}}\",\n\t\"identification\" : {\n\t\t\t\"id\" : \"{{aas_id}}\",\n\t\t\t\"idType\" : \"Custom\"\n\t},\n\t\"modelType\" : {\n\t\t\"name\" : \"AssetAdministrationShellDescriptor\"\n\t},\n \"endpoints\" : [\n \t{\n \t\t\"type\" : \"http\",\n \t\t\"address\" : \"http://localhost:5080/aas\"\n \t}],\n \"submodels\" : [{\n \t\"idShort\" : \"{{submodel_idShort}}\",\n \t\"identification\" : {\n\t\t\t\"id\" : \"{{submodel_id}}\",\n\t\t\t\"idType\" : \"Custom\"\n\t\t},\n\t\t\"modelType\" : {\n\t\t\t\"name\" : \"SubmodelDescriptor\"\n\t\t},\n\t\t\"endpoints\" : [\n \t{\n \t\t\"type\" : \"http\",\n \t\t\"address\" : \"http://localhost:5080/aas/submodels/{{submodel_id_encoded}}/submodel\"\n \t}]\n }]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{registry_endpoint}}/api/v1/registry/{{aas_id_encoded}}",
"host": [
"{{registry_endpoint}}"
],
"path": [
"api",
"v1",
"registry",
"{{aas_id_encoded}}"
]
}
},
"response": []
},
{
"name": "Register Asset Administration Shell (Maximal)",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"idShort\" : \"{{aas_idShort}}\",\n\t\"identification\" : {\n\t\t\t\"id\" : \"{{aas_id}}\",\n\t\t\t\"idType\" : \"Custom\"\n\t},\n\t\"modelType\" : {\n\t\t\t\"name\" : \"AssetAdministrationShellDescriptor\"\n\t},\n\t\"asset\" : {\n\t\t\t\"kind\": \"Instance\",\n\t\t\t\"idShort\" : \"{{asset_idShort}}\",\n\t\t\t\"identification\" : {\n\t\t\t\t\"id\" : \"{{asset_id}}\",\n\t\t\t\t\"idType\" : \"Custom\"\n\t\t\t}\n\t},\n\t\"descriptions\" : [\n\t{\n\t\t\"language\" : \"EN\",\n\t\t\"text\" : \"My Asset Administration Shell\"\n\t},\n\t{\n\t\t\"language\" : \"DE\",\n\t\t\"text\" : \"Meine Asset Administration Shell\"\n\t}],\n\t\"administration\" : {\n\t\t\"version\" : \"1.0.0\",\n\t\t\"revision\" : \"0.0.1\"\n\t},\n \"endpoints\" : [\n \t{\n \t\t\"type\" : \"http\",\n \t\t\"address\" : \"http://localhost:5080/aas\"\n \t}],\n \"submodels\" : [{\n \t\"idShort\" : \"{{submodel_idShort}}\",\n \t\"identification\" : {\n\t\t\t\"id\" : \"{{submodel_id}}\",\n\t\t\t\"idType\" : \"Custom\"\n\t\t},\n\t\t\"modelType\" : {\n\t\t\t\"name\" : \"SubmodelDescriptor\"\n\t\t},\n \t\"semanticId\" : {\n \t \"keys\": [\n \t {\n \t \"type\": \"Submodel\",\n \t \"idType\": \"URI\",\n \t \"value\": \"urn:basys:org.eclipse.basyx:submodels:{{submodel_idShort}}:1.0.0\",\n \t \"local\": false\n \t }\n \t ]\n \t},\n\t\t\"endpoints\" : [\n \t{\n \t\t\"type\" : \"http\",\n \t\t\"address\" : \"http://localhost:5080/aas/submodels/{{submodel_id_encoded}}/submodel\"\n \t}]\n }]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{registry_endpoint}}/api/v1/registry/{{aas_id_encoded}}",
"host": [
"{{registry_endpoint}}"
],
"path": [
"api",
"v1",
"registry",
"{{aas_id_encoded}}"
]
}
},
"response": []
},
{
"name": "Retrieve Asset Administration Shell by Id",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{registry_endpoint}}/api/v1/registry/{{aas_id_encoded}}",
"host": [
"{{registry_endpoint}}"
],
"path": [
"api",
"v1",
"registry",
"{{aas_id_encoded}}"
]
}
},
"response": []
},
{
"name": "Retrieve All Asset Administration Shells",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{registry_endpoint}}/api/v1/registry/",
"host": [
"{{registry_endpoint}}"
],
"path": [
"api",
"v1",
"registry",
""
]
}
},
"response": []
},
{
"name": "Delete Asset Administration Shell by Id",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{registry_endpoint}}/api/v1/registry/{{aas_id_encoded}}",
"host": [
"{{registry_endpoint}}"
],
"path": [
"api",
"v1",
"registry",
"{{aas_id_encoded}}"
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
},
{
"name": "Register Submodel",
"item": [
{
"name": "Retrieve All Submodels",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{registry_endpoint}}/api/v1/registry/{{aas_id_encoded}}/submodels",
"host": [
"{{registry_endpoint}}"
],
"path": [
"api",
"v1",
"registry",
"{{aas_id_encoded}}",
"submodels"
]
}
},
"response": []
},
{
"name": "Retrieve Submodel by Id",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{registry_endpoint}}/api/v1/registry/{{aas_id_encoded}}/submodels/{{submodel_id_encoded}}",
"host": [
"{{registry_endpoint}}"
],
"path": [
"api",
"v1",
"registry",
"{{aas_id_encoded}}",
"submodels",
"{{submodel_id_encoded}}"
]
}
},
"response": []
},
{
"name": "Register Submodel at Asset Administration Shell",
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"idShort\": \"AdditionalTestSubmodel\",\n \"identification\": {\n \"id\": \"AdditionalTestSubmodel_id\",\n \"idType\": \"Custom\"\n },\n \"modelType\" : {\n\t\t\t\"name\" : \"SubmodelDescriptor\"\n\t},\n \"semanticId\" : {\n \"keys\": [\n {\n \"type\": \"Submodel\",\n \"idType\": \"URI\",\n \"value\": \"urn:basys:org.eclipse.basyx:submodels:AdditionalTestSubmodel:1.0.0\",\n \"local\": false\n }\n ]\n },\n \"endpoints\": [\n {\n \"address\": \"http://localhost:5080/aas/submodels/AdditionalTestSubmodel/submodel\",\n \"type\": \"http\"\n }\n ]\n}\n",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{registry_endpoint}}/api/v1/registry/{{aas_id_encoded}}/submodels/{{submodel_id_encoded}}",
"host": [
"{{registry_endpoint}}"
],
"path": [
"api",
"v1",
"registry",
"{{aas_id_encoded}}",
"submodels",
"{{submodel_id_encoded}}"
]
}
},
"response": []
},
{
"name": "Delete Submodel from Asset Adminstration Shell",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{registry_endpoint}}/api/v1/registry/{{aas_id_encoded}}/submodels/{{submodel_id_encoded}}",
"host": [
"{{registry_endpoint}}"
],
"path": [
"api",
"v1",
"registry",
"{{aas_id_encoded}}",
"submodels",
"{{submodel_id_encoded}}"
]
}
},
"response": []
}
],
"_postman_isSubFolder": true
}
]
}
]
}