Convert a node file/folder into a project library
POST/api/convert_node_entry_to_library
Adds one of a node's own files/folders to a project library: copies it (preserving its relative path) into the library's working copy - creating the library first if request.library_name is new - and links the node to it at the library's current working version. The node's own copy is left in place, untouched - the library is a separate, versioned "upstream" the node can later re-sync from (see update_node_entry_from_ library), not a replacement for the node's own file.
Request
Responses
- 200
- 400
- 404
- 409
- 422
Successful Response
Reserved file, or node doesn't belong to this project
Node, project, or path not found
That path already exists in the target library
Validation Error