Skip to content

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

Description

@moritzsommer

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 #439.

Proposed Change

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new featureserverSomething to do with the `server` package

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions