Hi,
i am playing around with the OX-HTTP-API. And have the following question:
In the Wiki i found:
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
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.
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.
Is it a Bug, or do I something wrong?
Thanks and bye
moah
Comment