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-Docs: "Email" need to be deleted from post-json if no mail is given #385

Open
3 tasks
wellemut opened this issue Oct 18, 2021 · 0 comments
Open
3 tasks
Assignees
Labels
0 API related to API functions 02 documentation Improvements or additions to documentation

Comments

@wellemut
Copy link
Member

wellemut commented Oct 18, 2021

Problem

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)

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?

Solution: Post events without mailadress

  • 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
@wellemut wellemut added the 0 API related to API functions label Oct 18, 2021
@wellemut wellemut added the 02 documentation Improvements or additions to documentation label Oct 20, 2021
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