Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
REST API Version 17.0 References
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

GET /ariel/functions/{function_name}

date_range 24-May-22

SUMMARY Retrieves AQL Function with given name for a given database.

Retrieves AQL Function

Table 1: GET /ariel/functions/{function_name} resource details:

GET /ariel/functions/{function_name} resource details

MIME Type

application/json

Table 2: GET /ariel/functions/{function_name} request parameter details:

GET /ariel/functions/{function_name} request parameter details

Parameter Type Optionality Data Type MIME Type Description

database

query

Required

String

text/plain

Required - Name of DB to retrieve functions for.

function_name

path

Required

String

text/plain

Required - The name of function to retrieve.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3: GET /ariel/functions/{function_name} response codes:

GET /ariel/functions/{function_name} response codes

HTTP Response Code Unique Code Description

200

Function is retrieved

Response Description

List of AQL Functions.

Response Sample

content_copy zoom_out_map
{
    "args_types": [
        "String"
    ],
    "catalog": "String",
    "class_name": "String",
    "info": "String",
    "name": "String",
    "required_args": 42,
    "required_capabilities": "String",
    "return_type": "String",
    "var_args": true
}
footer-navigation