getFilesListByFolder()
Syntax
In case the method is used to get project detail, path
= projectId
. On the other hand, if the method is used to get folder detail, path
parameter will be created by joining the folder's name, and each name is separated by a slash “/” character.
Parameters
Name | Type | Required | Description |
---|---|---|---|
projectId | string | Yes | The project ID. |
path | string | Yes | The folder path is created by folders name, each name is separated by a "/". |
token | string | No | The authentication token response from Eueno API when login. After login, this token was saved in local storage with the name “eueno-token". |
Returns
Promise returns an object with two properties is:
“folders” - [ ]: array of folders name
“files” - [ ]: array of objects, each object includes file information
Example
The example below shows how to get a project detail.
Response of example:
Last updated