Skip to content

server: Discovery endpoints status code mismatch #625

Open

Description

@hpoeche

The current implementation of the Discovery API (server/app/interfaces/discovery.py) responds in two scenarios with status codes differing from the specification v3.1.1.

  1. POST /lookup/shells/{aasIdentifier}: This endpoint should respond with 201 on success (currently 200)
  2. DELETE /lookup/shells/{aasIdentifier}: This endpoint should respond with 404 if no links exist for the specified AAS (currently always 204)

Although these are minor deviations, we should be consistent to the specification and therefore adapt the behavior.

Activity

  1. added
    bugSomething isn't working
    serverSomething to do with the `server` package
    on Sep 15, 2026
  2. added this to the Release 2.3.0 milestone on Sep 15, 2026
  3. JAB1305 commented on Sep 23, 2026

    @JAB1305
    Contributor

    Working on this issue

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

    bugSomething isn't workinghigh priorityserverSomething to do with the `server` package

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions