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

Add an API to add a new project #83

Closed
alexgarel opened this issue Sep 13, 2022 · 1 comment · Fixed by #116 or #136
Closed

Add an API to add a new project #83

alexgarel opened this issue Sep 13, 2022 · 1 comment · Fixed by #116 or #136

Comments

@alexgarel
Copy link
Member

alexgarel commented Sep 13, 2022

Add an API point to create a new project.

  • A project has a name (aka branch name) and a taxonomy to work on, it has to be unique.
  • it also have a free description field
  • taxonomy value should match one of available taxonomies in Open Food Facts.
  • the status is "new"
  • It creates a node with label PROJECT and with property description, branch_name, taxonomy and status
@aadarsh-ram aadarsh-ram linked a pull request Oct 21, 2022 that will close this issue
alexgarel pushed a commit that referenced this issue Nov 7, 2022
- Add multiple labels (to support branch and taxonomy labelling) in parser
- Add multiple labels in unparser and tests
- Changed API endpoints accordingly to support different branches and taxonomies
- Wrapped entries.py in a class for easier use
- Added import functionality
- Added export functionality

fixes: 
- #69 
relates to:
- #71 
- #83
@aadarsh-ram
Copy link
Collaborator

Closed via #116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
2 participants