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 /reference_data/sets

date_range 24-May-22

SUMMARY Retrieve a list of all reference sets.

Retrieve a list of all reference sets.

Table 1: GET /reference_data/sets resource details:

GET /reference_data/sets resource details

MIME Type

application/json

Table 2: GET /reference_data/sets request parameter details:

GET /reference_data/sets request parameter details

Parameter Type Optionality Data Type MIME Type Description

Range

header

Optional

String

text/plain

Optional - Use this parameter to restrict the number of elements that are returned in the list to a specified range. The list is indexed starting at zero.

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.

filter

query

Optional

String

text/plain

Optional - This parameter is used to restrict the elements in a list base on the contents of various fields.

Table 3: GET /reference_data/sets response codes:

GET /reference_data/sets response codes

HTTP Response Code Unique Code Description

200

The reference set list has been retrieved

500

1020

An error occurred while attempting to retrieve all of the reference sets

Response Description

A list of all of the reference sets. This returns information about the sets but not the contained data.

Response Sample

content_copy zoom_out_map
[
    {
        "collection_id": 42,
        "creation_time": 42,
        "element_type": "String <one of: ALN, NUM, IP, PORT, ALNIC, DATE>",
        "name": "String",
        "namespace": "String <one of: PRIVATE, SHARED, TENANT>",
        "number_of_elements": 42,
        "time_to_live": "String",
        "timeout_type": "String <one of: UNKNOWN, FIRST_SEEN, LAST_SEEN>"
    }
]
footer-navigation