Folder resource

Get folder list - Get folder list v1

OVERVIEW

This is the first version of this API which was changed in Collaborate 4.1.4 and above

This API method provides a list of folders under a given folder.

Request

GET       /api/1/folders/{folderid}/items

Parameters
 

Parameter Name

Value

Description

folderid

Int

The ID for the folder in question

 

Query Parameters

 

Parameter Name

Value

Description

limit

Int

The no of items to return for this request

offset

Int

The starting point for each item returned

orderby

String

The items can be organized by either asc/desc order

ordertype

String

In addition to the order we can organize items by name/author and last modified date.

 

Request body

No request body is required for this call.

Response

If API endpoint returns a 200 OK in case of a successful operation, with the following XML response body:

 

 <folders>
    <folder>
        <id>3078</id>
        <name>My folder for activity</name>
        <permission>UPDATE</permission>
        <child>0</child>
        <description>This is my desc in this folder</description>
        <parentFolderID>9</parentFolderID>
        <createddate>26 May 2014 06:34</createddate>
        <modifieddate>13 Jun 2014 09:03</modifieddate>
        <createdby>
            <firstname>Tom</firstname>
            <lastname>Chick</lastname>
            <email>user@highq.com</email>
            <userid>103</userid>
        </createdby>
        <modifiedby>
            <firstname>Tom</firstname>
            <lastname>Chick</lastname>
            <email>user@highq.com</email>
            <userid>103</userid>
        </modifiedby>
    </folder>
<folders>

 

Parameter Name

Value

Description

id

Int

The ID for the folder in question

name

String

Name of the folder /file

permission

String

Permission for this item.

child

String

The no of children under this item

description

String

The description for this folder item

parentFolderID

Int

ID of the parent folder

createddate

Date

Date is provided in “dd mmm yyyy” format based on UTC timezone.

 

modifieddate

Date

The modified date for this item

createdby

Object

Details of the person who created this object, this is a cut down user object item

modifiedby

Object

Details of the person who created this object, this is a cut down user object item

 

In case of an error the method returns an error object.

 

Comments


8 Comments

Last Updated: Jun 09,2023