Was this page helpful?

GET:site/operations

    Overview

    public. Retrieve all known security operations

    Uri Parameters

    None

    Query Parameters
    NameTypeDescription
    authenticatebool?Force authentication for request (default: false)
    Return Codes
    NameValueDescription
    Ok200The request completed successfully

    Message Format

    Output:

    <operations href="{uri}" >{text}</operations>

    Implementation Notes

    See below for a description of currently defined role operations:

    System flags

    Action
    Description
    Numeric value
    LOGIN
    Can log in 1
    CONTROLPANEL Able to access the control panel 2048
    ADMIN Able to perform all actions and maintenance operations 9223372036854775808
    SUSCRIBE Can subscribe to RSS and see page changes 8

    Page flags

    Action
    Description
    Numeric value
    BROWSE Can see page title in navigation 2
    READ
    Can see page and attachment contents 4
    UPDATE Can edit an existing page and work with attachments 16
    CREATE Can create a new page 32
    DELETE Can delete a page 256
    CHANGEPERMISSIONS Can access permissions dialog and change permissions 1024

    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