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

Improve API documentation #7

Open
cutoffthetop opened this issue Nov 30, 2012 · 3 comments
Open

Improve API documentation #7

cutoffthetop opened this issue Nov 30, 2012 · 3 comments
Assignees

Comments

@cutoffthetop
Copy link

  • document data schema for each endpoint
  • give examples for common use cases
  • describe parameters and their possible values
  • explain query syntax
  • frequently asked questions
  • more comprehensive terms of use
@ctriroli
Copy link

ctriroli commented Dec 2, 2012

Es sollte auch eine Lizenz-Dokumentation (Was darf ich, was darf ich nicht?) - also nicht lediglich eine technische - geben. Die allgemeinen Nutzungsbedingungen von Zeit Online sind IMO in einigen Punkten nicht spezifisch genug.

@spier
Copy link

spier commented Dec 7, 2012

Some specific cases of missing documentation (as of 2012/11/25) are:

  • the /content endpoint misses documentation for sort and fq
  • the /product/{id} endpoint misses documentation for the search parameters
  • some endpoints that allow searches are missing the operator parameter (although it is probably allowed)
  • the /series/{id} endpoint does not work at all. Error: "Due to an internal error the request could not be fulfilled."
  • the documentation states possible keyword types as: location, person, organisation or issue. When searching for keywords I also see subject though.
  • the documentation of the search query syntax (parameter q) is not sufficient. It looks like under the hood Lucene is being used but that is just a guess.
  • potentially the calls /author/{id}, /department/{id}, /keyword/{id}, /product/{id}, and /series/{id} should all be grouped below the content endpoint, as all of them are returning articles. The documentation is confusing as it e.g. states "Get keyword by ID", although the API call returns articles and not keywords.
  • documentation of the id parameter is missing. This parameter is part of the path, and not part of the query but nevertheless it is a parameter.
  • what are the maximum values for limit and offset?

@ghost ghost assigned cutoffthetop Dec 10, 2012
@cutoffthetop
Copy link
Author

We have added a new general page to the documentation http://developer.zeit.de/docs wich addresses some of the issues mentioned here. But we will keep working on the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants