Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoking /shells/$reference returns 400 #323

Open
otto-ifak opened this issue Jun 19, 2024 · 2 comments
Open

Invoking /shells/$reference returns 400 #323

otto-ifak opened this issue Jun 19, 2024 · 2 comments

Comments

@otto-ifak
Copy link

otto-ifak commented Jun 19, 2024

I am using the docker setup from the examples folder. When I invoke

http://localhost:8081/shells/$reference

the server responds with error code 400 instead of listing all shell references.
It seems, that the server tries to parse $reference as asset id instead of as a modifier.

@otto-ifak otto-ifak changed the title Invoking Invoking /shells/$reference returns 400 Jun 19, 2024
@aaronzi
Copy link
Member

aaronzi commented Jun 19, 2024

Hello Björn,

The $reference endpoints are not currently implemented in BaSyx.
The following screenshot shows the implemented endpoints that you can use.

image

I would suggest using get/shells which includes the references.
We will discuss internally when this endpoint will be implemented and send you an update once this is done.

@otto-ifak
Copy link
Author

Hi Aaron, thanks for the clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants