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

API 2.9: Change request regarding meta.collect object #73

Open
JuAlMan opened this issue Aug 2, 2024 · 0 comments
Open

API 2.9: Change request regarding meta.collect object #73

JuAlMan opened this issue Aug 2, 2024 · 0 comments
Labels
api_v2.9 enhancement New feature or request

Comments

@JuAlMan
Copy link

JuAlMan commented Aug 2, 2024

Using image docker.sunet.se/dc4eu/apigw:apiv28

First there seems to be a mismatch between API spec and implementation, as leaving out the collect object completely (which should be possible as it is optional) yields the following result:

{
    "data": null,
    "error": {
        "title": "internal_server_error",
        "details": null
    }
}

It only works when using an empty object.

To be discussed:
We propose that you should either leave out the collect object completely or - when submitting the object - use both parameters id and valid_until. So the whole collect object should be optional but the attributes of the collect objects itself should both be required.
We also changed this in the API v29 spec.

@JuAlMan JuAlMan changed the title Change request regarding meta.collect object API 2.9: Change request regarding meta.collect object Aug 5, 2024
@masv3971 masv3971 added enhancement New feature or request api_v2.9 labels Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api_v2.9 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants