Catalog APIs

The catalog APIs provide a way to access and browse all of the resources stored in the catalogue. They represent a parametric interface on Catalog REST and SOAP services that you can query using a method name base.

To access different services, use the following path:

        
        http://data.fao.org/developers/api/catalog/<api-method>

There are different API methods, such as:

  • The 'resource' method:

    Allows you to browse catalog resources. The path is: http://data.fao.org/developers/api/catalog/resource/<function-name>.<ext>?<parameters>

  • The 'named-query' method:

    Allows you to execute a sparql query to directly get specific sets of catalog resources. The path is: http://data.fao.org/developers/api/catalog/named-query.<ext>?<parameters>

  • The type-descriptor method:

    Allows you to obtain a resource type descriptor. The path is: http://data.fao.org/developers/api/catalog/type-descriptor.<ext>?<parameters>

  • The find-uri method:

    Allows you to obtain a resource URI by resource name. The path is: http://data.fao.org/developers/api/catalog/find-uri?<parameters>

To obtain a list of the provided services by example, see the example page.