Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2010
    Posts
    22

    Default HTTP-API: folders

    Hi,

    i am playing around with the OX-HTTP-API. And have the following question:

    In the Wiki i found:
    Get subfolders
    GET /ajax/folders?action=list

    Parameters:

    session – A session ID previously obtained from the login module.
    parent – Object ID of a folder, which is the parent folder of the requested folders.
    columns – A comma-separated list of columns to return. Each column is specified by a numeric column identifier. Column identifiers for folders are defined in Common folder data and Detailed folder data.
    tree – (Preliminary) The identifier of the folder tree. If missing '0' (primary folder tree) is assumed.
    allowed_modules – (Preliminary) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") allowed by requesting client. If missing, all available modules are considered.
    But the "allowed_modules"-Parameter doesn't work. I tried it with the value "tasks" and the numeric value "1". I always get all subfolders of the parentfolder.

    Is it a Bug, or do I something wrong?

    Thanks and bye
    moah
    Last edited by moah; 06-21-2010 at 05:09 PM. Reason: edith: a "e" was missing

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    this parameter is preliminary and might not be available with the current stable release yet. It also depends if additional modules like the new folder tree are installed.

    Greetings

  3. #3
    Join Date
    Mar 2010
    Posts
    22

    Default

    Quote Originally Posted by Martin Braun View Post
    Hi,

    this parameter is preliminary and might not be available with the current stable release yet. It also depends if additional modules like the new folder tree are installed.

    Greetings
    Thanks, you are god !

    I haven't installed the package "open-xchange-folder-json". Now it works.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •