Upload

Upload - Install

Install a given application

POST

https://api-server-host-name/configapi/Uploads/{pool_UUID}/{logpoint_identifier}/install

Parameters

Field
Label in UI
Type
Description

application_type

-

String

Type of the application to install. can be either 'application' or 'patch'. Mandatory Field

file_location

-

String

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

file_name

File

String

Name of the file to install. Mandatory Field

Request Example

{
    "data": {
        "application_type": "Application",
        "file_location": "private",
        "file_name": "test_1.0.0.pak"
    }
}

Success Response

Upload - List

List all files in private storage

GET

Success Response

Upload - ListPublic

List all files in public storage

GET

Success Response

Upload - TrashPrivate

Delete the file with given name from private storage

DELETE

Parameters

Field
Label in UI
Type
Description

file_name

String

File to be deleted. Mandatory Field

Success Response

Upload - TrashPublic

Delete the file with given name from public storage

DELETE

Parameters

Field
Label in UI
Type
Description

file_name

String

File to be deleted. Mandatory Field

Success Response

Upload - Upload

Upload files to private storage

POST

Field
Label in UI
Description

file_name

Name of the file to be uploaded. The file name must be in the format name_version.pak.

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

Upload - UploadPublic files

Upload files to public storage

POST

Header

Field
Label in UI
Description

file_name

Name of the file to be uploaded. The file name must be in the format name_version.pak.

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

Last updated

Was this helpful?