Changes to structure of count results

When using the “count” function, the results returned are now structured to show the object requested.
For example when counting documents by theme, the theme’s id, name and type are returned as an array along with the count.

This supersedes the use of a combined “object” string.

http://api.ids.ac.uk/openapi/eldis/count/documents/theme?q=undp

returns

"theme_count": [
        {
            "count": 358,
            "metadata_url": "http://api.ids.ac.uk/openapi/eldis/get/theme/C2/full/theme/",
            "object_id": "C2",
            "object_name": "Theme",
            "object_type": "theme"
        },


Leave a Reply

Your email address will not be published. Required fields are marked *

IDS Open API

The IDS Knowledge Services API button

Your feedback

Please let us know if any of our documentation is not clear, or you have an queries, using the comments box at the bottom of each page.