folders create
POST {{baseUrl}}/folders
Creates a Folder
object with the given values.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
is_debug_mode | boolean | Whether to include debug fields (such as log file links) in the response. | |
run_async | boolean | Whether or not third-party updates should be run asynchronously. |
Request Body
[{"name"=>"name", "value"=>"Platform", "datatype"=>"string"}, {"name"=>"folder_url", "value"=>"https://drive.com/1234", "datatype"=>"string"}, {"name"=>"size", "value"=>"2738000", "datatype"=>"number"}, {"name"=>"description", "value"=>"This is a wild folder.", "datatype"=>"string"}, {"name"=>"parent_folder", "value"=>"urn:uuid:596ec697-9f8d-b9ab-8113-ad6fda7872a8", "datatype"=>"string"}, {"name"=>"drive", "value"=>"urn:uuid:274944ed-8332-18e3-2da9-687de582496e", "datatype"=>"string"}, {"name"=>"integration_params", "value"=>"[object Object]", "datatype"=>"string"}, {"name"=>"linked_account_params", "value"=>"[object Object]", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"errors":[{"detail":"custom_fields is a required field on model.","problem_type":"MISSING_REQUIRED_FIELD","title":"Missing Required Field","source":{"pointer":"exercitation incididunt Ut"}},{"detail":"custom_fields is a required field on model.","problem_type":"MISSING_REQUIRED_FIELD","title":"Missing Required Field","source":{"pointer":"anim quis reprehender"}}],"model":{"id":"urn:uuid:50042d38-db7d-4374-4bbd-15ca3c146367","remote_id":"14","name":"Platform","folder_url":"https://drive.com/1234","size":2738000,"description":"This is a wild folder.","parent_folder":"d86371ff-761a-b72a-ddfa-cd52b9bbf30c","drive":"4dda04ed-424c-46e5-aad6-4e095fd1514e","remote_created_at":"2016-10-28T03:56:28.082Z","remote_updated_at":"1994-11-22T13:27:16.999Z","field_mappings":{"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},"remote_data":[{"ex38":{}},{"laboris4d":{},"officiab":{}}]},"warnings":[{"detail":"An unrecognized field, age, was passed in with request data.","problem_type":"UNRECOGNIZED_FIELD","title":"Unrecognized Field","source":{"pointer":"deserunt aute"}},{"detail":"An unrecognized field, age, was passed in with request data.","problem_type":"UNRECOGNIZED_FIELD","title":"Unrecognized Field","source":{"pointer":"nulla est laborum irure nostrud"}}],"logs":[{"dashboard_view":"https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832","log_id":"99433219-8017-4acd-bb3c-ceb23d663832","log_summary":{"method":"POST","status_code":200,"url":"https://harvest.greenhouse.io/v1/candidates/"}},{"dashboard_view":"https://app.merge.dev/logs/99433219-8017-4acd-bb3c-ceb23d663832","log_id":"99433219-8017-4acd-bb3c-ceb23d663832","log_summary":{"method":"POST","status_code":200,"url":"https://harvest.greenhouse.io/v1/candidates/"}}]}