getProjectInfo()
Syntax
Gets project information.
Parameters
Name | Type | Required | Description |
---|---|---|---|
projectId | string | Yes | The project ID. |
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 return object with the structure looks as follows:
totalFile: The number of files/folders in the project
totalSize: The project size (bytes)
id: The project id
name: The project name
ownerAddress: The address of the account which created the project
updatedAt: The last date time update project
createdAt: The date-time create the project
Example
Response of example:
Last updated