Functions

/api/repositories/{repository}/functions
Parameter Type Purpose
repository string The name of the repository to access

Get

GET /api/repositories/(string: repository)/functions

Get a list of the available functions in the repository.

GET /api/repositories/jupiter/functions
Accept: application/json
Response Code Reason
200 Success
500 Server error

The response is a JSON string:

{
    "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.