latestOpenAPI 3.0.02026-07-135965404.0 KB

a1bd874b5960

Resources

List contents of folder

Returns a list of files/folders for the parent resource ID.

You can use this API call to get information about all files and folders at a specified path. By default, the API returns basic metadata on each file/folder. An optional include parameter forces the return of additional metadata. As with all API calls, the path should be the full path relative to the user's home directory (e.g. /myfiles/some_folder).

Notes:

  • Authenticated user should have list permission.
get/resources/list/{id}

Path parameters

idinteger required

ID of the parent resource to get a list of resources for.

Query parameters

sortstring
Example:name

Endpoint support multiple sort fields by allowing array of sort params. Sort fields should be applied in the order specified. The sort order for each sort field is ascending unless it is prefixed with a minus (“-“), in which case it will be descending.

offsetinteger

Determines which item to start on for pagination. Use zero (0) to start at the beginning of the list.

limitinteger

The number of files to limit the result. Cannot be set higher than 100. If you have more than one hundred files in your directory, make multiple calls, incrementing the `offset parameter, above.

typestring

Limit types of resources returned to "file" or "dir" only.

includestring

Comma separated list of relationships to include in response. Possible values are share, notifications, directFile, parentResource, ownerUser, ownerUser.

Headers

ev-api-keystring required

API Key required to make the API call.

ev-access-tokenstring required

Access token required to make the API call.

Response

Successful Operation

ResourceCollectionResponse required— unresolved $ref