Response formats | json |
Response code | 200 |
Requires authentication | API key header 'X-Auth-Token' |
HTTP Method | POST |
Parameters
Name | Type | Default Value | Description |
name required | string | - | file name |
file_id required | string | - | the ID of the folder which you would like to convert to a Project Folder you can get the ID of the folder from Get /file/metadata find more info on how to get file_id here |
users_permissions: required | list of json | - | users_permissions[0]{'user_id'} |
user_id | string | - | the ID of the user you want to create a Project Folder with Get /user |
operations | number | - | List: 0 List and read: 2 Read and write: 31 Full and re-share : 63 |
notify (user permissions) | boolean | false | true or false select true in order to subscribe user(s) to upload notifications |
notify | boolean | false | true or false select true to notify user(s) about the Project Folder creation |
Example Request URL
{ "name": "PF-test", "file_id": "8e125cbc-00a6-4ebb-b054-57839503527d", "users_permissions": [ { "user_id": "0a4341a6-845c-4f14-8b62-a98b46ae8e25", "operations": 0, "notify": true } ], "notify": false } |
{ "created": 1537447530, "id": "e6e2a8e0-4721-489b-ae8a-c3184bb6f700", "name": "PF-test" } |