createProject()
Syntax
This method is used when you want to create a new project.
Parameters
Name | Type | Required | Description |
---|---|---|---|
data | NewProject | Yes | Object contains project information. |
token | string | Yes | The authentication token response from Eueno API when login. After login, this token was saved in local storage with the name “eueno-token". |
The interface of NewProject looks as below
Returns
Promise returns a JSON - project info:
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 Owallet 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