Download the slpropz configuration file

GET /snaplex/config_file/<path_to_groundplex>

Overview

This API downloads the slpropz configuration file for the Groundplex.

Prerequisites

  • Environment (Org) admin permissions

Request

 GET https://{controlplane_path}/api/1/rest/public/snaplex/config_file/<path_to_groundplex>

Path parameters

Key Description
controlplane_path Required. The path to the SnapLogic Control Plane: elastic.snaplogic.com
For the UAT or EMEA control plane, substitute the name for elastic. For example:
  • uat.snaplogic.com
  • emea.snaplogic.com
path_to_groundplex Required. The path to the Groundplex. The path comparison is case-sensitive.

Format: /{env_org}/{project_space}/{project_name}/{groundplex_name}

Example: /snaplogic/shared/Mygroundplex

Query parameters

None.

Request header

Specify Basic for authorization and application/json for content type.


Authorization: Basic {your_encoded_security_credentials}
Content-Type: application/json
          

Request body

None.

Response

The slpropz file is downloaded to the required location by the user when using the browser.

To download the slpropz to the specific output path, call the API via cURL.

        cURL --output <output path and filename>
        --location '<host>/api/1/rest/public/snaplex/config_file/<path_to_groundplex> 
        --header 'Authorization: Basic <token>