Issue 10167

Decide on url structure for web services

10167
Reporter: omeyn
Assignee: jcuadra
Type: Epic
Summary: Decide on url structure for web services
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2011-11-08 09:49:48.532
Updated: 2013-12-09 14:01:23.935
Resolved: 2011-11-08 09:50:21.863


Author: omeyn@gbif.org
Created: 2011-11-08 09:50:18.643
Updated: 2011-11-08 09:50:18.643
        
Lars Francke Thu, 15 Sep at 6:51am
Different options
Oliver/Lars way
/occurrence?offset=400&page_size=100&dataset=555
/verbatim_occurrence?offset=400&page_size=100&dataset=555
/raw_occurrence?offset=400&page_size=100&dataset=555

/occurrence/123
/verbatim_occurrence/123
/raw_occurrence/123

/occurrence/123/images
/verbatim_occurrence/123/images
/raw_occurrence/123/images

Markus
/occurrence?offset=400&page_size=100&dataset=555
/verbatim/occurrence?offset=400&page_size=100&dataset=555
/raw/occurrence?offset=400&page_size=100&dataset=555

/occurrence/123
/verbatim/occurrence/123
/raw/occurrence/123

/occurrence/123/images
/verbatim/occurrence/123/images
/raw/occurrence/123/images

Jose/Fede/Kyle
/occurrence?offset=400&page_size=100&dataset=555
/occurrence/verbatim?offset=400&page_size=100&dataset=555
/occurrence/raw?offset=400&page_size=100&dataset=555

/occurrence/123
/occurrence/123/verbatim
/occurrence/123/raw

/occurrence/123/images
/occurrence/123/verbatim/images
/occurrence/123/raw/images


Lars Francke Thu, 15 Sep at 8:14am
Provide these for all implementations:
get interpreted/raw/verbatim by id
get all interpreted, raw or verbatim (with search parameters)
get sub resources for object by id

Oliver Meyn Tue, 20 Sep at 7:37am
By consensus agreed on the Markus version.