basyx-python-sdk icon indicating copy to clipboard operation
basyx-python-sdk copied to clipboard

Implement the remaining unimplemented server endpoints

Open Frosty2500 opened this issue 1 year ago • 1 comments

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 $value serialization modifier for GET requests
  • [ ] #645 $value serialization modifier for PATCH requests
  • [x] #643 $path serialization modifier
  • [ ] #646 PATCH endpoints for Submodels and SubmodelElements

Not planned: the Operation routes (invoke, invoke-async, operation-status, operation-results), see #532.

Frosty2500 avatar Dec 01 '25 16:12 Frosty2500

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

s-heppner avatar Jan 14 '26 13:01 s-heppner