basyx-python-sdk
basyx-python-sdk copied to clipboard
Implement the remaining unimplemented server endpoints
There are still quite a few unimplemented server endpoints, they are currently documented in server/app/interfaces/repository.py.
I think it is worth taking another look at them and evaluating how difficult and useful it would be to implement them.
Sub-issues
Grouped by underlying mechanism rather than endpoint path (supersedes #528, #529, #530, #531):
- [x] #492
GET /description - [ ] #491
GET /serialization - [ ] #493
GET/PUT/DELETE /shells/{aasIdentifier}/asset-information/thumbnail - [x] #644
$valueserialization modifier for GET requests - [ ] #645
$valueserialization modifier for PATCH requests - [x] #643
$pathserialization modifier - [ ] #646
PATCHendpoints for Submodels and SubmodelElements
Not planned: the Operation routes (invoke, invoke-async, operation-status, operation-results),
see #532.
To get the complete and exhaustive list, one can simply look at the usages of the not_implemented endpoint:
- "/serialization", methods=["GET"], endpoint=self.not_implemented
- "/description", methods=["GET"], endpoint=self.not_implemented
- "/shells/asset-information/thumbnail", methods=["GET", "PUT", "DELETE"], endpoint=self.not_implemented
- "/submodels"
- "/$value", methods=["GET"], endpoint=self.not_implemented
- "/$path", methods=["GET"], endpoint=self.not_implemented
- "/base64url:submodel_id", methods=["PATCH"], endpoint=self.not_implemented
- "/base64url:submodel_id"
- "/$metadata", methods=["PATCH"], endpoint=self.not_implemented
- "/$value", methods=["GET"], endpoint=self.not_implemented)
- "/$value", methods=["PATCH"], endpoint=self.not_implemented
- "/$path", methods=["GET"], endpoint=self.not_implemented
- "/submodel-elements"
- "/$value", methods=["GET"], endpoint=self.not_implemented
- "/$path", methods=["GET"], endpoint=self.not_implemented
- "/<id_short_path:id_shorts>", methods=["PATCH"], endpoint=self.not_implemented
- "/$metadata", methods=["PATCH"], endpoint=self.not_implemented
- "/$value", methods=["GET"], endpoint=self.not_implemented
- "/$value", methods=["PATCH"], endpoint=self.not_implemented
- "/invoke", methods=["POST"], endpoint=self.not_implemented
- "/invoke/$value", methods=["POST"], endpoint=self.not_implemented
- "/invoke-async", methods=["POST"], endpoint=self.not_implemented
- "/invoke-async/$value", methods=["POST"], endpoint=self.not_implemented
- "/operation-status/base64url:handleId", methods=["GET"], endpoint=self.not_implemented
- "/operation-results"
- "/base64url:handleId", methods=["GET"], endpoint=self.not_implemented
- "/base64url:handleId/$value", methods=["GET"], endpoint=self.not_implemented