Skip to main content
Skip table of contents

Update uploaded client

Update uploaded client

PUT /api/admin/v1/thick-clients/{client}

Method parameters

int client, unique identifier of the uploaded client


string name, client name


string description, client description


file file, client file (maximum file size - 100MB)


int major_version, major version of the client


int minor_version, minor version of the client


int revision_version, client revision number


int build_version, client build number


bool is_published, publish the client

200 OK

Successful response

JSON
{
    "id": 5,
    "name": "21312",
    "description": "32132-1",
    "url": "https://vms.local/storage/downloads/desktop/60e6d67bd225d/1.docx",
    "major_version": 13123,
    "minor_version": 1321,
    "revision_version": 2131,
    "build_version": 123,
    "is_published": 0,
    "created_at": "2021-07-08 16:42:03"
}

401 Unauthorized

Authorization token is not provided or is invalid. Obtaining a token

cURL
BASH
curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/thick-clients/{client}' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "client": 0,
    "name": "string",
    "description": "string",
    "file": "file",
    "major_version": 0,
    "minor_version": 0,
    "revision_version": 0,
    "build_version": 0,
    "is_published": true
}'
PHP
PHP
$data = array (
  'client' => 0,
  'name' => 'string',
  'description' => 'string',
  'file' => 'file',
  'major_version' => 0,
  'minor_version' => 0,
  'revision_version' => 0,
  'build_version' => 0,
  'is_published' => true,
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'PUT',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domain/api/admin/v1/thick-clients/{client}', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.