Skip to main content
NICE CXone Expert
Expert Success Center

site/properties/{key}/info (GET)


Retrieve the metadata about a site property

  • REST Method: GET
  • Method Access: public

Uri Parameters

Name Type Description
key string A unique identifier for a property that is obtained through GET:site/properties

Query Parameters

Name Type Description
redirects int? If zero, do not follow page redirects.
contentcutoff int? Only show property content shorter than this number of bytes. Default: 2048
authenticate bool? Force authentication for request (default: false)

Return Codes

Name Value Description
OK 200 The request completed successfully
Bad Request 400 Invalid input parameter or request body
Forbidden 403 ADMIN access is required
Not Found 404 Requested property could not be found

Message Format

Response is the standard property XML

<property name="{text}" href="{uri}" etag="{text}">
  <contents type="{text}" href="{uri}">{text}</contents>
  <user.modified id="{int}" href="{uri}">

Implementation Notes

  • The response XML will contain the contents text only for text based mimetypes with values less than 2048 chars in length. Otherwise the contents is available at the URI pointed to by property/contents/@href.
  • ADMIN access is required to see site properties

C# Code Sample: Retrieve Site Property Metadata

The following code authenticates and retrieves information about a site property named 'foo' .

Sample Code

Plug p = Plug.New("http://devwiki/@api/deki"); 
p.At("users", "authenticate")
 .WithCredentials("sysop", "password").Get(); 
XDoc ret = p.At("site", "properties", "foo", "info")

Sample Response from executing Code

<property name="foo" href="http://devwiki/@api/deki/site/properties/foo/info" etag="4463.r1_ts2009-03-20T22:48:15Z">
  <contents type="text/plain; charset=utf-8" href="http://devwiki/@api/deki/site/properties/foo">My Value</contents>
  <user.modified id="1" href="http://devwiki/@api/deki/users/1">
  <change-description>initial value</change-description>

Curl Code Sample: Retrieve Site Property Metadata

The following command fetches information about site property "foo":

Sample Code

curl -u admin:password -i http://mindtouch.address/@api/deki/properties/foo/info

Sample Response from executing Code

Example output of retrieving the metadata of site property listed here.

Content-Type: application/xml

<property name="foo" href="" etag="115.r1_ts2010-02-01T23:49:47Z">
  <contents type="text/plain" size="3" href="">bar</contents>
  <user.modified id="1" href="">

Implementation notes 

curl flags

Provides external user authentication.
Outputs the HTTP response headers. Useful for debugging.


ADMIN permission is required to execute above command.

Site properties

To view a list of all site properties, follow the instructions here.


  • Was this article helpful?