Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

POST /snaplex/version/latest/{plex_path}

Overview

This API updates the Snaplex applications to the latest available version.

Prerequisites

You need:

  • Org Admin permissions

...

Request

Appsplus panel macro confluence macro
data{"features":[

...

"rounded"],"title":"

...

","titleColor":"

...

#FFFFFF","titleColorBG":"

...

#0052CC","titleSize":16,"titleBold":

...

false,"titleItalic":false,"titleUnderline":false,"link":"","linkIcon":false,"linkTab":false,"lozenge":"Hot stuff","lozengeColor":"#172B4D","lozengeColorBG":"#fff0b3","height":200,"panelPadding":12,"panelColor":"

...

#172B4D","panelColorBG":"

...

#dedede","borderColor":"#4C9AFF","borderRadius":3,"borderStyle":"solid","borderWidth":1,"icon":"editor/info","iconPrimary":"#FFFFFF","iconSecondary":"#0052CC","newMacro":false}

...

...

minLevel1
maxLevel1
classtocsidebar

Request

...

themeAscetic

...

POST

...

http://{pod_path}/api/1/rest/public/snaplex/version/latest

...

Path Parameters

Key

Description

pod_path

Required. The path to your SnapLogic pod.

Example: elastic.snaplogic.com

...

plex_path

Required. The path to the Snaplex to access.

Format: /{org}/{project_space}/{project_name}/{snaplex_name}

...

Query Parameters

None.

Request Header

Specify Basic Auth for authorization.

...

appsplus-panel-macro-confluence-macro

...

themeAscetic

...

data{"features":["rounded"],"title":"","titleColor":"#FFFFFF","titleColorBG":"#0052CC","titleSize":16,"titleBold":false,"titleItalic":false,"titleUnderline":false,"link":"","linkIcon":false,"linkTab":false,"lozenge":"Hot stuff","lozengeColor":"#172B4D","lozengeColorBG":"#fff0b3","height":200,"panelPadding":12,"panelColor":"#172B4D","panelColorBG":"#dedede","borderColor":"#4C9AFF","borderRadius":3,"borderStyle":"solid","borderWidth":1,"icon":"editor/info","iconPrimary":"#FFFFFF","iconSecondary":"#0052CC","newMacro":false}

Authorization: Basic {your_encoded_security_credentials}

Request Body

None.

Response

Response Header

Key

Description

X-SL-StatusCode

Status code indicating the results of the request.

Learn more: HTTP Status Code Registry

Response Body

...

Code Block
{
  "response_map": {
    "version": "...",
    "comment": "...",
    "status": "..."
  },
  "http_status_code": 200
}

Key

Type

Description

version

string

The latest active version of the Snaplex.

comment

string

A description of the Snaplex version.

status

string

The status of the Snaplex version. Possible values:

  • active

  • deprecated