neontribe / Linked_Development

Linked Development
1 stars 1 forks source link

What are parameters in search calls #25

Closed tobybatch closed 11 years ago

tobybatch commented 11 years ago

This is the format displayed by the docs in the existing API:

http://api.ids.ac.uk/openapi/ site / search / data object / parameter / query

But I can't find reference to the PARAMETER component. All URLs seems to be in the following format (as shown at http://api.ids.ac.uk/docs/functions/search/)

http://api.ids.ac.uk/openapi/eldis/search/assets/?q=undp

http://api.ids.ac.uk/openapi/bridge/search/documents/?country=Angola

http://api.ids.ac.uk/openapi/eldis/search/organisations/?country=india&theme=climate

What is the parameter component of the URL?

practicalparticipation commented 11 years ago

The parameter I believe can be 'id', 'full' or 'short' to determine what level of detail is given in the response. This works on both /get/ and /search/ API calls.

By default the API appears to return 'short' results.