Skip to content

Instantly share code, notes, and snippets.

@t-book
Last active March 12, 2020 14:40
Show Gist options
  • Save t-book/3a895024eaae5dd1e663c223492556f7 to your computer and use it in GitHub Desktop.
Save t-book/3a895024eaae5dd1e663c223492556f7 to your computer and use it in GitHub Desktop.

1. Send GET request to:

http://esx-XXX.gbv.de/api/v1/session

2. Use token from 1. for a POST request to:

http://esx-XXX.gbv.de/api/v1/session/authenticate?token=XXX&login=XXX&password=XXX

3. set x-easydb-token from 2 for further requests afainst "Bilder api"

http://esx-XXX.gbv.de/api/v1/db/bilder/bilder__all_fields/global_object_id/XXXX@local

4. or "Orts-API", (use _system_object_id from 3)

ort_des_motivs_id->_system_object_id

http://esx-XXX.gbv.de/api/v1/db/ortsthesaurus/ortsthesaurus__l/global_object_id/XXXX@local

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