Templates

Read a template file

get/templates/{filename}

Request

  • Base URL
    https://ns-api.com/ns-api/v2
  • URL
    https://ns-api.com/ns-api/v2/templates/{filename}
  • Auth
    HTTP bearer

Path parameters

filenamestring required

Query parameters

resellerstring

The reseller or territory the template file applies to. Defaults to "*"

domainstring

This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.

Example:example.com

The domain the template file applies to. Defaults to "*"

serverstring

The server the template file applies to. Defaults to "*"

Response

domainstring required
serverstring required
descriptionstring required
resellerstring required
file-mime-typestring required
file-size-bytesinteger required
file-access-url string required

Changes

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status