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 create/delete project observation endpoints from v1 API #139

Closed
6 tasks done
Tracked by #230
JWCook opened this issue May 17, 2021 · 3 comments · Fixed by #226
Closed
6 tasks done
Tracked by #230

Add create/delete project observation endpoints from v1 API #139

JWCook opened this issue May 17, 2021 · 3 comments · Fixed by #226
Labels
new endpoint Add a new API endpoint
Milestone

Comments

@JWCook
Copy link
Member

JWCook commented May 17, 2021

API reference: https://api.inaturalist.org/v1/docs/#!/Projects/post_projects_id_add

  • POST /projects/{id}/add
  • DELETE /projects/{id}/remove
  • Doctrings + type annotations
  • Usage examples
  • Sample response data
  • Unit tests

TODO: I'm not quite sure what the difference is between these two endpoints and POST/DELETE /project_observations.

  • Both `POST endpoints have the same description of "Add an observation to a project."
  • DELETE /projects/{id}/remove: "Remove an observation from a project"
  • DELETE /project_observations/{id}: "Delete a project observation"
@JWCook JWCook added the new endpoint Add a new API endpoint label May 17, 2021
@JWCook JWCook changed the title Add create/delete project observation endpoints Add create/delete project observation endpoints from v1 API May 17, 2021
@AugustT
Copy link

AugustT commented Jul 16, 2021

+1 for adding observations to projects. For tool I'm developing I would like observations to automatically be added to projects. At the moment that has to be done manually afterwards.

@JWCook JWCook added this to the v0.15 milestone Jul 16, 2021
@JWCook
Copy link
Member Author

JWCook commented Jul 31, 2021

@AugustT
add_project_observation() is now available in 0.15.0dev0

@JWCook JWCook mentioned this issue Jul 31, 2021
20 tasks
@AugustT
Copy link

AugustT commented Jul 31, 2021

Sweet

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

Successfully merging a pull request may close this issue.

2 participants