edgeryders / discourse-annotator

A text annotation and analysis application for Discourse. Made with Annotator.js and Ruby on Rails.
https://edgeryders.eu/t/6811
Other
4 stars 0 forks source link

Document the latest Open Ethnographer API #245

Closed tanius closed 1 year ago

tanius commented 1 year ago

The project feature has been deployed for some time now and works well, but we missed documenting the changes to the Open Ethnographer API.

@damingo, please document the changes in the Edgeryders API Manual, or alternatively outline the API interface here and I will change the manual accordingly.

I already found out some bits and pieces:

  1. To obtain the list of all projects and their IDs:

    curl -X GET "https://edgeryders.eu/annotator/projects.json" -H "Api-Key: 11e3b…"
  2. To obtain annotations that belong to a certain project:

    curl -X GET "https://edgeryders.eu/annotator/annotations.json?project_id=1" -H "Api-Key: 11e3b…"

But I cannot get the https://edgeryders.eu/annotator/codes.json to work anymore, even when providing a project_id parameter.

damingo commented 1 year ago

API manual is now updated. Can be closed if it's all good.