LabelPackages

LabelPackages - Activate

Activates a LabelPackage with given ID.

POST

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/LabelPackages/{id}/activate

Parameter

Field
Label in UI
Type
Description

id

-

String

Existing LabelPackage ID. Mandatory Field

Request Example

{
    "data": {}
}

Success Response

{
    "status": "Success",
    "message": "/monitorapi/{pool_UUID}/{logpoint_identifier}/orders/{request_id}"
}

Clone

Clones a LabelPackage with given ID.

POST

Parameters

Field
Label in UI
Type
Description

clone_name

Choose New Names

String

Name of the label package after getting cloned. Each label package name must be unique, and the value of the name parameter can contain alphanumeric characters, hyphen (-), white space character, and underscore (_). It must begin and end with an alphanumeric character and the total length must be between 2 and 100 characters. It must not begin with LParrow-up-right. Mandatory Field

package_id

-

String

Existing LabelPackage ID. Mandatory Field

replace

Replace Existing?

String

Value can be "on" or "off". Set value as "on"(exact) to replace an existing package with the same name. Optional Field

Request Example

Success Response

LabelPackages - Create

Creates a new Label Package.

POST

Parameters

Field
Label in UI
Type
Description

description

Description

String

Description of the Label Package. Optional Field

name

Name

String

Name of the label package. Each label package name must be unique, and the value of the name parameter can contain alphanumeric characters, hyphen (-), white space character, and underscore (_). It must begin and end with an alphanumeric character and the total length must be between 2 and 100 characters. It must not begin with LParrow-up-right. Mandatory Field

Request Example

Success Response

Deactivate

Deactivates a LabelPackage with given ID.

POST

Parameter

Field
Label in UI
Type
Description

id

-

String

Existing LabelPackage ID. Mandatory Field

Request Example

Success Response


Edit

Edits the Label Package with given id.

PUT

Parameters

Field
Label in UI
Type
Description

description

Description

String

Description of the Label Package. Optional Field

id

-

String

LabelPackage id. Mandatory Field

name

Name

String

Name of the label package. Each label package name must be unique, and the value of the name parameter can contain alphanumeric characters, hyphen (-), white space character, and underscore (_). It must begin and end with an alphanumeric character and the total length must be between 2 and 100 characters. It must not begin with LParrow-up-right. Mandatory Field

Request Example

Success Response

LabelPackages - Get

Gets the LabelPackage with given ID.

GET

Parameter

Field
Label in UI
Type
Description

id

-

String

ID of the existing LabelPackage that you want to fetch.

Success Response

LabelPackages - Install

Install a given labelpackage pak file.

POST

Parameters

Field
Label in UI
Type
Description

file_location

-

String

Location of the file to install. Can be either 'private' or 'public'. Mandatory Field

file_name

Search Labels

String

Name of the pak file for LabelPackage. Mandatory Field

Request Example

Success Response

LabelPackages - List

Lists all LabelPackages in the Fabric-enabled LogPoint.

GET

Success Response

LabelPackages - ListPrivateUploads

List all the pak files that contains labelpackages in private storage.

GET

Success Response

LabelPackages - ListPublicUploads

List all the pak files that contains labelpackages in public storage.

GET

Success Response

LabelPackages - Trash

Removes the LabelPackage with given ID.

DELETE

Parameter

Field
Label in UI
Type
Description

id

-

String

ID of the existing LabelPackage that you want to delete. Mandatory Field

Success Response

LabelPackages - TrashPrivateUploads

Delete the file with given name from private storage.

DELETE

Parameter

Field
Label in UI
Type
Description

file_name

-

String

Name of the file to be deleted. Mandatory Field

Success Response

LabelPackages - TrashPublicUploads

Delete the file with given name from public storage.

DELETE

Parameters

Field
Label in UI
Type
Description

file_name

-

String

Name of the file to be deleted. Mandatory Field

Success Response

LabelPackages - Upload

Upload pak file containing labelpackages to private storage.

POST

Field
Label in UI
Description

file_name

Name of the file to be uploaded.

Content-Type

application/octet-stream

replace_existing

Set the value of this parameter as 'true' to replace the existing file with the same name with the new file. Default value is 'false'. Value can be 'true' or 'false'. Optional field

Parameters

Field
Label in UI
Type
Description

file

-

[Object]

(pak) to be uploaded. Mandatory Field

Success Response

LabelPackages - UploadPublic

Upload pak file containing labelpackages to public storage.

POST

Header

Field
Label in UI
Description

file_name

Name of the file to be uploaded.

Content-Type

application/octet-stream

replace_existing

Set the value of this parameter as 'true' to replace the existing file with the same name with the new file. Default value is 'false'. Value can be 'true' or 'false'. Optional field

Parameter

Field
Label in UI
Type
Description

file

-

[Object]

(pak) to be uploaded. Mandatory Field

Success Response

Last updated

Was this helpful?