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

server/app/interfaces/repository.py: Implement missing `/serialization` endpoint

Open moritzsommer opened this issue 6 months ago • 1 comments

Current Situation

Currently, server endpoint /serialization", methods=["GET"], endpoint=self.not_implemented is not implemented.

According to the AAS Repository Service OpenAPI Specification, the endpoint should return a serialisation of selected AASs and Submodels.

[...]
summary: Returns an appropriate serialization based on the specified format (see SerializationFormat)
[...]
responses:
  '200':
    description: Requested serialization based on SerializationFormat
    content:
      application/asset-administration-shell-package+xml:
        schema:
          description: AASX package
          type: string
          format: binary
      application/json:
        schema:
          $ref: 'https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.0.1#/components/schemas/Environment'
[...]

This issue specifies #439.

Proposed Chang

We should evaluate and, if feasible, implement GET /serialization according to the specification.

moritzsommer avatar May 03 '26 18:05 moritzsommer

Assigned to @thammel

zrgt avatar Aug 31 '26 13:08 zrgt