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

server/app/interfaces/repository.py: Implement missing `/shells/asset-information/thumbnail` endpoint

Open moritzsommer opened this issue 6 months ago • 0 comments

Current Situation

Currently, server endpoint /asset-information/thumbnail, methods=["GET", "PUT", "DELETE"], endpoint=self.not_implemented is not implemented.

According to the AAS Repository Service OpenAPI Specification, the endpoint should return, replace or delete the thumbnail file of a selected AAS.

[...]
responses:
  '200':
    description: The thumbnail of the Asset Information.
    content:
      application/octet-stream:
        schema:
          type: string
          format: binary
[...]

This issue specifies https://github.com/eclipse-basyx/basyx-python-sdk/issues/439.

Proposed Change

We should evaluate and, if feasible, implement GET, PUT and DELETE for /shells/asset-information/thumbnail according to the specification.

moritzsommer avatar May 03 '26 19:05 moritzsommer