Was this page helpful?

GET:site/properties

    Overview

    public. Retrieve the properties associated with the site

    Uri Parameters

    None

    Query Parameters
    NameTypeDescription
    authenticatebool?Force authentication for request (default: false)
    contentcutoffint?Only show property content shorter than this number of bytes. Default: 2048
    namesstring?Comma separated list of names of properties to return. The entire value should be URI encoded including the commas. Use '*' at the start or end of a name for wildcard matches. Default: all properties
    redirectsint?If zero, do not follow page redirects.
    Return Codes
    NameValueDescription
    BadRequest400Invalid input parameter
    Forbidden403ADMIN access is required
    Ok200The request completed successfully

    Message Format

    Response is a list of the standard property xml blocks as well as the language element.

    <properties count="{int}" href="{uri}">
     <property name="{text}" href="{uri}" etag="{text}">
      <contents type="{text}" href="{uri}">{text}</contents>
      <date.modified>{date}</date.modified>
      <user.modified id="{int}" href="{uri}">
        <nick>{text}</nick>
        <username>{text}</username>
      </user.modified>
      <change-description>{text}</change-description>
     </property>
     <language>{language}</language> 
    </properties>

    Implementation Notes

    • This feature shows the page language. An empty language indicates culture invariant.
    • ADMIN access is required to see site properties

    Code Samples

    C# Samples

     

    Curl Samples

     

    PHP Samples

     

    Other Code Samples

     

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by