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

Post events without mailadress #395

Closed
3 tasks
wellemut opened this issue Mar 20, 2022 · 2 comments
Closed
3 tasks

Post events without mailadress #395

wellemut opened this issue Mar 20, 2022 · 2 comments
Labels
0 API related to API functions 02 documentation Improvements or additions to documentation

Comments

@wellemut
Copy link
Member

wellemut commented Mar 20, 2022

Remove unnessesary restrictions

POST Events has some restrictions, which makes it quite complicated: https://app.swaggerhub.com/apis/Kartevonmorgen/openfairdb/0.10.5#/Events/post_events
Why do you need allways to give an "Creators-Mailadress" even if it is an anonymous entry?

  • Please remove the need to give a mailadress (equal to the way it works with places)

This Part seems to be old:

Creating new events is only allowed for registered organizations by authorizing themselves with an API token. These organizations must own reserved tags.

  • Please remove it from the API-Description

Problem: API-Docs: "Email" need to be deleted from post-json if no mail is given

It is unlogical, that the backend does not except an undefined or empty "email": null filed.

Instead you have to remove the whold "email" attribute from the json

  • Describe this specification in the swagger Documentation!

(See the error-finding: kartevonmorgen/kartevonmorgen.ts#43)

@wellemut wellemut added 0 API related to API functions 02 documentation Improvements or additions to documentation labels Mar 20, 2022
@wellemut
Copy link
Member Author

/duplicat #385

@wellemut
Copy link
Member Author

Duplicate of #385

@wellemut wellemut marked this as a duplicate of #385 Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 API related to API functions 02 documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants