Functions ========= .. code-block:: http /api/repositories/{repository}/functions .. csv-table:: :header: Parameter, Type, Purpose :widths: 20, 20, 60 :stub-columns: 1 repository, string, The name of the :doc:`repository ` to access Get ~~~ .. http:get:: /api/repositories/(string:repository)/functions :synopsis: List the available functions in the repository Get a list of the available functions in the :doc:`repository `. .. code-block:: http GET /api/repositories/jupiter/functions Accept: application/json .. csv-table:: :header: Response Code, Reason :widths: 25, 75 200, Success 500, Server error The response is a JSON string: .. code-block:: json { "functions": { "function": [ { "$": { "id": "::com::avellino::metabase::builtins::divideint" }, "quality_id": [""], "returns" :["number"], "params": ["2"], "category" :["Numeric"], "name": ["DIVIDEINT"], "description": ["Returns the integer part of a divison"], "qualifier": [""], "property": ["0"], "implementation_package": ["com::avellino::metabase::builtins"], "loaded_only": ["0"], "abr_only": ["0"] } ] } } The list of available functions is quite long, so isn't reproduced here. However, each element in the ``function`` array will have the same structure as shown above.