Open Science Framework Create a comment

Open Science Framework - Create a comment

Create a comment on a given node overview page or a reply to a comment on that node. To create a comment on the node overview page, the target `type` would be "nodes" and the target `id` would be the node `id`. To reply to a comment on this node, the target `type` would be "comments" and the target `id` would be the `id` of the comment to reply to. ####Required A relationship object with a `data` key, containing the target (`comments` or `nodes`) type and a target `id` is required. In addition, the `content` attribute describing the relationship between the node and the comment is required. ####Returns Returns a JSON object with a data key containing the representation of the new comment, 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](#Introduction_error_codes) to understand why this request may have failed.

Posted on:

2018-08-27

API Description

Provider

Open Science Framework

decription

OSF provides free and open source project management support for researchers across the entire research lifecycle. As a collaboration tool, OSF helps researchers work on projects privately with a limited number of collaborators and make parts of their projects public, or make all the project publicly accessible for broader dissemination. As a workflow system, OSF enables connections to the many services researchers already use to streamline their process and increase efficiency. As a flexible repository, it can store and archive research data, protocols, and materials.

Curl command through Streamdata.io

curl -v "https://streamdata.motwin.net/http://test-api.osf.io/v2/nodes/{node_id}/comments/?X-Sd-Token={streamdata_token}"



Return to Main Page



Submit Your API

Join the gallery to find out how much you can save with Streamdata.io.