POST /domains/:domain_id/signResource

Creates the signature of desired resource. 

 

This feature is useful when a temporary access to report/dashboard/view needs to be granted to another user. It ensures as well, that URL parameters cannot be changed. By adding signature, report/dashboard/view is available for the user for 120 seconds, which is the default validity. When signature is not present, current user permissions are
validated.
Sign resource is available for plain dashboard and embedded views only.

Signatures are helping to achieve more security and gives flexibility of sharing protected resources.

Signatures can be automatically added to all REST API requests to ensure the URL is not changed between the two remotes.

This resource is available only for Global admin or Domain admin.

Resource Information

Request Parameters

Parameters

Detail

domain_id
(path parameter)

Identifies the domain namespace the signature is created for.

data
(form parameter)

Parameters in JSON format with the following structure:

NameDescription
usernameUsername of the user the signature is created for.
queryDetermines the URL query, which points to the protected resource to be signed.
validity(Optional) Defines the validity of the signature in seconds. Default value is 120.

Returns

Signature string.

RDQX1Qx9UokSf4n3KAVWgNClvrFUqncSZg7fK3gnVAfNIAOylN
  • No labels