The API is to create new project in team.
- POST
(POST)https://www.689cloud.com/api/project/create| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| name | String | (Required) project name |
| description | String | (Optional) project description |
| max_download | String | (Required) (default value: 1) project max download |
{
"result":{
"project_id":"e9ac4e663b26477da37f843e0e7b0908",
"team_id":"34ee29628110424696ea902bf5b342f2",
"name":"Create Project",
"description":"Description here",
"project_type":1,
"create_date":"2015/09/10 11:41:24",
"modify_date":null,
"max_download":1,
"status":1
},
"status_code":200,
"total_records":null
}The API is to update project info.
- POST
(POST)https://www.689cloud.com/api/project/edit| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| project_id | String | (Required) the project id will be updated |
| name | String | (Required) new project name |
| description | String | (Optional) new project description |
| max_download | String | (Optional) new project max download |
{
"result":{
"project_id":"e9ac4e663b26477da37f843e0e7b0908",
"team_id":"34ee29628110424696ea902bf5b342f2",
"name":"Create Project update",
"description":"Description here",
"project_type":1,
"create_date":"2015/09/10 11:41:24",
"modify_date":"2015/09/10 11:52:29",
"max_download":1,
"status":1
},
"status_code":200,
"total_records":null
}The API is to delete project. Only project owner is able to delete project.
- POST
(POST)https://www.689cloud.com/api/project/delete| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| project_id | String | (Required) the project_id of project will be deleted |
{
"status_code":200,
"total_records":null
}The API is to upload files from computer to HoGoPro.
- POST
(POST)https://www.689cloud.com/api/upload| Name | Data Format | Description |
|---|---|---|
| file_name | String | name of file |
| file | MultipartFile | a file is uploaded |
| auth_token | String | (Required) the current auth_token |
| folder_id | String | (Optional) parent folder_id |
| project_id | String | (Optional) project_id |
| name | String | |
| chunk | String | |
| chunks | String | |
| session_upload | String |
{
"result":{
"file_id":"73e03f3795d543598ac49661f645d347",
"team_id":"34ee29628110424696ea902bf5b342f2",
"user_id":"4f7d3f4b2d104ea3a5f4ef534b9ae7b1",
"upload_file_id":"73e03f3795d543598ac49661f645d347",
"be_contents_id":"_",
"be_contents_id_p":"_",
"krpdfx_be_contents_id":"_",
"krpdfx_be_contents_id_p":"_",
"is_encrypt":0,
"title":"AngularJS Interview Questions & Answers - By Shailendra Chauhan.pdf",
"description":"AngularJS Interview Questions & Answers - By Shailendra Chauhan.pdf",
"file_type":1,
"create_date":"2015/09/10 12:10:31",
"modify_date":"2015/09/10 07:10:31",
"file_size":1871618,
"thumbnail":null,
"status":1,
"in_recycle_bin":0,
"content_type":"application/pdf"
},
"status_code":200,
"total_records":null
}The API is to upload files from could(Dropbox, Box, GoogleDrive).
- POST
(POST)https://www.689cloud.com/api/upload/cloud| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| file_name | String | (Required) name of file |
| content_url | String | (Required) the loud url of file is uploaded |
| file_type | String | (Required) file type |
| folder_id | String | (Optional) parent folder_id |
| project_id | String | (Optional) project_id |
| session_upload | String | (Optional) |
| cloud_type | int | (Required) DROPBOX(1), BOX(2), GOOGLE_DRIVE(3) |
{
"result":{
"file_id":"3a838b62c69b48c39db2ffa4834d0396",
"team_id":"ac8ab8d709f842ea99f1fbea4e358f23",
"user_id":"d6258f5480f84bf1b566744b53283262",
"upload_file_id":"3a838b62c69b48c39db2ffa4834d0396",
"be_contents_id":"_",
"be_contents_id_p":"_",
"krpdfx_be_contents_id":"_",
"krpdfx_be_contents_id_p":"_",
"is_encrypt":0,
"title":"HoGoPro_CSV_File_Template.csv",
"description":"HoGoPro_CSV_File_Template.csv",
"file_type":5,
"create_date":"2015/09/10 12:27:55",
"modify_date":"2015/09/10 19:27:55",
"file_size":175,
"thumbnail":null,
"status":1,
"in_recycle_bin":0,
"content_type":"text/csv"
},
"status_code":200,
"total_records":null
}The API is to encode file & register license for member in project
- POST
(POST)https://www.689cloud.com/api/encode/start/license| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| file_ids | String | (Required) list of file_id will be encoded |
| transaction_id | String | (Optional) |
| project_id | String | (Optional) project_id |
| label | String | (Optional) |
| printable | int | (Optional) the number of printing encoded file |
| editable | int | (Optional) the number of editable encoded file |
| expiry_date | String | (Optional) the encoded file will be expire at this date |
| local_copy | int | (Optional) the number of local copy allow |
{
"result":"OK",
"description":"",
"status_code":200,
"total_records":null
}The API is to check the encode status of a file.
- POST
(POST)https://www.689cloud.com/api/encode/status| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| file_ids | String | (Required) list of file ids is encoding |
{
"result":[
{
"status_encode":2,
"description":"Document is encoding",
"file_id":"58d4d9e1b8284fafad7123a6468fcc4e"
}
],
"description":"OK",
"status_code":200,
"total_records":null
}{
"result":[
{
"status_encode":3,
"description":"OK - Encode successfully!",
"file_id":"58d4d9e1b8284fafad7123a6468fcc4e"
}
],
"description":"OK",
"status_code":200,
"total_records":null
}The API is to create new folder in project.
- POST
(POST)https://www.689cloud.com/api/project/f/create| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| project_id | String | (Required) the project parent id |
| parent_folder_id | String | (Optional) folder parent id |
| name | String | (Required) name of project |
{
"result":{
"folder_id":"42e4c4c41fe146b0a9705871fce0140a",
"project_id":"bf2ea6d6dcab4c11a38717191cce43ce",
"parent_folder_id":null,
"name":"Test Folder",
"create_date":"2015/09/11 07:12:31",
"modify_date":null,
"status":1
},
"status_code":200,
"total_records":null
}The API is to update folder/file name.
- POST
(POST)https://www.689cloud.com/api/project/f/edit| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| project_id | String | (Required) the project parent id |
| folder_id | String | (Optional) folder_id will be edited |
| file_id | String | (Optional) file_id will be edited |
| name | String | (Required) |
{
"result":{
"folder_id":"42e4c4c41fe146b0a9705871fce0140a",
"project_id":"bf2ea6d6dcab4c11a38717191cce43ce",
"parent_folder_id":null,
"name":"Test Folder rename",
"create_date":"2015/09/11 07:12:31",
"modify_date":"2015/09/11 02:17:29",
"status":1
},
"status_code":200,
"total_records":null
}{
"result":{
"file_id":"bb2dcba1bfc24793aca94567e019b92f",
"team_id":"34ee29628110424696ea902bf5b342f2",
"user_id":"714a93c5b3074edebdeb3ba9c71a5981",
"upload_file_id":"bb2dcba1bfc24793aca94567e019b92f",
"be_contents_id":"_",
"be_contents_id_p":"_",
"krpdfx_be_contents_id":"_",
"krpdfx_be_contents_id_p":"_",
"is_encrypt":0,
"title":"File rename",
"description":"HoGo2 Requirements.pptx.pptx",
"file_type":4,
"create_date":"2015/09/08 10:56:43",
"modify_date":"2015/09/11 02:18:06",
"file_size":489298,
"thumbnail":null,
"status":1,
"in_recycle_bin":0,
"content_type":"application/vnd.openxmlformats-officedocument.presentationml.presentation"
},
"status_code":200,
"total_records":null
}This API is to delete folder/file.
- POST
(POST)https://www.689cloud.com/api/project/f/delete| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| project_id | String | (Required) the project parent id |
| folder_id | String | (Optional) folder_id will be deleted |
| file_id | String | (Optional) file_id will be deleted |
{
"status_code":200,
"total_records":null
}The API is to get project info. However, only auth_token of user in the project is able to call the API.
- POST
(POST)https://www.689cloud.com/api/project/info| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| project_id | String | (Required) the project_id will be get data |
{
"result":{
"number_of_file":6,
"create_date":"2015/09/04 02:08:06",
"status":1,
"number_of_user":2,
"description":"",
"modify_date":"2015/09/07 07:13:32",
"name":"test002 test",
"project_id":"bf2ea6d6dcab4c11a38717191cce43ce",
"max_download":1,
"project_type":1,
"team_id":"34ee29628110424696ea902bf5b342f2"
},
"status_code":200,
"total_records":null
}The API is to get the project list of a user.
- POST
(POST)https://www.689cloud.com/api/project/list| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| search_key | String | (Optional) search key to look for project with the name like this |
| sort_key | int | (Optional) (default value: 6) sort by create_date DESC |
| length | int | (Optional) (default value: 10) the number of projects will get |
| start | int | (Optional) (default value: 10) the position of project will start to be get |
| draw | String | (Optional) |
{
"result":{
"draw":"1",
"total_result":2,
"data":[
{
"project_id":"07572640562b4df4bc4bc9d8f11a56e4",
"project_name":"test 002 test",
"owner_id":"4f7d3f4b2d104ea3a5f4ef534b9ae7b1",
"owner_name":"Le Tran",
"create_date":"2015/09/07 02:13:52",
"number_file":1,
"number_member":2,
"link":null,
"project_role_id":1,
"total_result":2
},
{
"project_id":"bf2ea6d6dcab4c11a38717191cce43ce",
"project_name":"test002 test",
"owner_id":"4f7d3f4b2d104ea3a5f4ef534b9ae7b1",
"owner_name":"Le Tran",
"create_date":"2015/09/04 02:08:06",
"number_file":6,
"number_member":2,
"link":null,
"project_role_id":1,
"total_result":2
}
]
},
"status_code":200,
"total_records":null
}The API is to get files/folder in project/folder parent.
- POST
(POST)https://www.689cloud.com/api/project/f/browse| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| project_id | String | (Required) the project parent id |
| folder_id | String | (Optional) the folder parent id |
| search_key | String | (Optional) key word to search for folder/file |
| sort_key | int | (Optional) (default value: 1) |
| active | boolean | (Optional) (default value: 'true') |
| folder_only | boolean | (Optional) (default value: 'false') |
| search_global | boolean | (Optional) (default value: 'false') |
{
"result":{
"member":[
{
"create_date":"2015/09/04 07:08:06",
"status":1,
"project_role_id":1,
"user_id":"4f7d3f4b2d104ea3a5f4ef534b9ae7b1"
},
{
"create_date":"2015/09/04 07:08:06",
"status":1,
"project_role_id":2,
"user_id":"714a93c5b3074edebdeb3ba9c71a5981"
}
],
"project":{
"project_id":"bf2ea6d6dcab4c11a38717191cce43ce",
"team_id":"34ee29628110424696ea902bf5b342f2",
"name":"test002 test",
"description":"",
"project_type":1,
"create_date":"2015/09/04 07:08:06",
"modify_date":"2015/09/07 07:13:32",
"max_download":1,
"status":1
},
"file_info":[
{
"id":"77551145cf8849d58f1223064f63a20f",
"name":"KKKKKK",
"file_type":0,
"is_folder":true,
"last_modified_date":null,
"parent_folder_id":null,
"file_size":0,
"status":1,
"is_encrypt":0,
"thumbnail":null,
"content_type":null
},
{
"id":"f0e23f457bf54739b9508f3b291e5ff2",
"name":"QQQ",
"file_type":0,
"is_folder":true,
"last_modified_date":null,
"parent_folder_id":null,
"file_size":0,
"status":1,
"is_encrypt":0,
"thumbnail":null,
"content_type":null
},
{
"id":"1826fb09c2c146c18076436383aa50c6",
"name":"Test02",
"file_type":0,
"is_folder":true,
"last_modified_date":null,
"parent_folder_id":null,
"file_size":0,
"status":1,
"is_encrypt":0,
"thumbnail":null,
"content_type":null
},
{
"id":"68bf066e31fe45e2afea7978e99a09ef",
"name":"HoGoPro_CSV_File_Template.csv",
"file_type":5,
"is_folder":false,
"last_modified_date":"2015/09/08 05:54:01",
"parent_folder_id":null,
"file_size":155,
"status":1,
"is_encrypt":0,
"thumbnail":null,
"content_type":"text/csv"
},
{
"id":"7d2c77f899ec46b783d89e6c1791f62f",
"name":"HoGo_Pro_Alpha_Notifications.pptx",
"file_type":4,
"is_folder":false,
"last_modified_date":"2015/09/08 05:56:42",
"parent_folder_id":null,
"file_size":151483,
"status":1,
"is_encrypt":0,
"thumbnail":null,
"content_type":"application/vnd.openxmlformats-officedocument.presentationml.presentation"
},
{
"id":"2e851844f62d44d2af3fd938f508d5c2",
"name":"NIT-Software 's Quotation - Care Reach App (1).xlsx",
"file_type":3,
"is_folder":false,
"last_modified_date":"2015/09/04 05:37:12",
"parent_folder_id":null,
"file_size":18175,
"status":1,
"is_encrypt":0,
"thumbnail":null,
"content_type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
},
{
"id":"4f3e9310a5114207a9238baf8bfdba26",
"name":"NIT-Software 's Quotation - Care Reach App (1).xlsx",
"file_type":3,
"is_folder":false,
"last_modified_date":"2015/09/04 05:32:28",
"parent_folder_id":null,
"file_size":18175,
"status":1,
"is_encrypt":0,
"thumbnail":null,
"content_type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
},
{
"id":"903fe7a4336a4e5f8462ff8d2a85c801",
"name":"NIT-Software 's Quotation - Care Reach App (1).xlsx",
"file_type":3,
"is_folder":false,
"last_modified_date":"2015/09/04 05:36:17",
"parent_folder_id":null,
"file_size":18175,
"status":1,
"is_encrypt":0,
"thumbnail":null,
"content_type":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
}
]
},
"status_code":200,
"total_records":null
}The API is to move folder/file.
- POST
(POST)https://www.689cloud.com/api/project/f/move| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| project_id | String | (Required) the project parent id |
| folder_id | String | (Optional) folder_id of folder will be moved |
| file_id | String | (Optional) file_id of folder will be moved |
| new_parent_folder_id | String | (Optional) new parent folder id |
{
"status_code":200,
"total_records":null
}The API is to get file info.
- POST
(POST)https://www.689cloud.com/api/project/f/info| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| project_id | String | (Required) the project parent id |
| f_id | String | (Required) file_id |
| active | boolean | (Optional) (default value: 'true') file status |
{
"result":{
"file":{
"file_id":"68bf066e31fe45e2afea7978e99a09ef",
"team_id":"34ee29628110424696ea902bf5b342f2",
"user_id":"4f7d3f4b2d104ea3a5f4ef534b9ae7b1",
"upload_file_id":"68bf066e31fe45e2afea7978e99a09ef",
"be_contents_id":"_",
"be_contents_id_p":"_",
"krpdfx_be_contents_id":"_",
"krpdfx_be_contents_id_p":"_",
"is_encrypt":0,
"title":"HoGoPro_CSV_File_Template.csv",
"description":"HoGoPro_CSV_File_Template.csv",
"file_type":5,
"create_date":"2015/09/08 10:54:01",
"modify_date":"2015/09/08 10:54:01",
"file_size":155,
"thumbnail":null,
"status":1,
"in_recycle_bin":0,
"content_type":"text/csv"
},
"path":[
]
},
"status_code":200,
"total_records":null
}The API is to restore folder/file which is temporarily deleted.
- POST
(POST)https://www.689cloud.com/api/project/f/restore| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| project_id | String | (Required) the project parent id |
| folder_ids | String | (Optional) list of folder_ids will be restored |
| file_ids | String | (Optional) list of file_ids will be restored |
{
"status_code":200,
"total_records":null
}The API is to delete folders/files forever from the project.
- POST
(POST)https://www.689cloud.com/api/project/f/deleteforever| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| project_id | String | (Required) the project parent id |
| folder_ids | String | (Optional) list of folder_ids will be deleted forever |
| file_ids | String | (Optional) list of file_ids will be deleted forever |
{
"status_code":200,
"total_records":null
}The API is used to download file.
- POST
(POST)https://www.689cloud.com/api/download| Name | Data Format | Description |
|---|---|---|
| file_id | String | (Required) file_id will be downloaded |
| project_id | String | (Required) the project parent id |
| download_type | int | (Required) NORMAL(1), TO_VIEWER (2), ZIP(3) |
| require_auth | boolean | (Optional) (default value : 'true') |
Return File binary data stream
The API is to invite members in team to specify project.
- POST
(POST)https://www.689cloud.com/api/user/project/invite| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| user_ids | String | (Required) list of member id to be invited |
| project_id | String | (Required) the project parent id |
| project_role_id | int | (Required) Owner(1), Editor (2), Member(3), LimitedMember(4) |
| team_id | String | (Required) team id |
| message | String | (Optional) message to send to member through email |
{
"result":"OK",
"description":"",
"status_code":200,
"total_records":null
}The API is to remove users from project.
- POST
(POST)https://www.689cloud.com/api/user/project/kick| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| user_ids | String | (Required) list of user ids will be remove from project |
| project_id | String | (Required) the project id |
{
"status_code":200,
"total_records":null
}The API is to update member role in project.
- POST
(POST)https://www.689cloud.com/api/user/project/update| Name | Data Format | Description |
|---|---|---|
| auth_token | String | (Required) the current auth_token |
| user_role | String | (Required) list of user change. For intance: xxxx_1, yyyy_2,... which xxxx is user_id, and Owner(1), Editor (2), Member(3), LimitedMember(4) |
| project_id | String | (Required) the project id |
{
"status_code":200,
"total_records":null
}