GET /staged_config/remote_services/{service_id}

Retrieves a staged remote service by ID.

Retrieves a staged remote service by ID.

Table 1. GET /staged_config/remote_services/{service_id} resource details
MIME Type

application/json

Table 2. GET /staged_config/remote_services/{service_id} request parameter details
Parameter Type Optionality Data Type MIME Type Description

service_id

path

Required

Number (Integer)

text/plain

ID that is used for the retrieval of a staged remote service.

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 /staged_config/remote_services/{service_id} response codes
HTTP Response Code Unique Code Description

200

The staged remote service was successfully retrieved.

404

1002

No staged remote service was found with the provided ID.

500

1020

An error occurred during the retrieval of the remote service.

Response Description

The associated staged remote service object.
  • id - Long - The ID of the remote service.
  • name - String - The name of the remote service.
  • description - String - The description of the remote service.
  • group - String - The group the remote service belongs to.
  • cidrs - Array of <String> - A list of all the CIDR ranges that belong to the remote service.

Response Sample


{
    "cidrs": [
        "String"
    ],
    "description": "String",
    "group": "String",
    "id": 42,
    "name": "String"
}