Was this page helpful?

GET:site/services

    Overview

    public. Retrieve list of services.

    Uri Parameters

    None

    Query Parameters
    NameTypeDescription
    authenticatebool?Force authentication for request (default: false)
    limitstring?Maximum number of items to retrieve. Must be a positive number or 'all' to retrieve all items. (default: 100)
    offsetint?Number of items to skip. Must be a positive number or 0 to not skip any. (default: 0)
    sortby{description, type, init, sid, uri}?Sort field. Prefix value with '-' to sort descending. default: No sorting
    type{auth, ext}?Return only these types of services. Default: Return all
    Return Codes
    NameValueDescription
    BadRequest400Invalid input parameter or request body
    Forbidden403MindTouch API key or Administrator access is required.
    Ok200The request completed successfully

    Message Format

    Output:

    <services count="{int}" href="{uri}">
        <service id="{int}" href="{uri}">
            <sid>{sid}</sid> 
            <uri>{uri}</uri> 
            <type>{auth|ext}</type> 
            <description>{text}</description> 
            <date.modified>{date}</date.modified> 
            <status>{enabled|disabled}</status> 
            <init>{local/remote}</init> 
            <lasterror>{text}</lasterror> 
            <config>
                <value key="{text}">{text}</value>
                ...
            </config> 
            <preferences>
                <value key="{text}">{text}</value>
                ...
            </preferences> 
        </service>
    </services>

    Implementation Notes

    Refer here for more information about Dream services. 

    Refer to the feature POST:site/services for details about the message contents.

    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