Create a fork of this node
Creates a fork of the given node.
Forking a project creates a copy of an existing node and all of its contents. The fork always points back to the original node, forming a network of nodes.
You might use a fork to copy another's work to build on and extend. For example, a professor may create an OSF project of materials for individual student use. Each student forks the project to have his or her own copy of the materials to start his/her own work.
When creating a fork, your fork will only contain public components of the current node and components for which you are a contributor. Private components that you do not have access to will not be forked.
Required
There are no required attributes when creating a fork, as all of the forked node's attributes will be copied from the current node.
The title field is optional, with the default title being "Fork of " prepended to the current node's title.
Returns
Returns a JSON object with a data key containing the complete srepresentation of the forked node, if the request is successful. If the request is unsuccessful, an errors key containing information about the failure will be returned. Refer to the list of error codes to understand why this request may have failed.
Path parameters
The unique identifier of the node.
Request body
Example request
{
"data": {
"type": "nodes",
"attributes": {
"title": "An Excellent Project Title",
"category": "software"
}
}
}Response
Created