/action/notifications/feedback
Use this call to send feedback on ideas, thoughts, and problems via the API with three available types: "idea
", "thought
", and "problem
". You can send one feedback item per minute.
Request
https://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/action/notifications/feedback
POST /v2/action/notifications/feedback HTTP/1.1
Host: api.sb.biodatacatalyst.nhlbi.nih.gov
X-SBG-Auth-Token: 27f1432ffef34790a94e44e9782c5c36
Content-Type: application/json
curl -X POST \
https://api.sb.biodatacatalyst.nhlbi.nih.gov/v2/action/notifications/feedback \
-H 'content-type: application/json' \
-H 'x-sbg-auth-token: 27f1432ffef34790a94e44e9782c5c36' \
Request body
In the request body, you should enter the following list of key-value pairs:
Key | Data type of value | Content of value |
---|---|---|
text | string | Specifies the content for the feedback i.e. feedback text. |
file_ids | string | Specifies the type of feedback. The following are available: idea thought * problem |
{
"text": "I have an idea on what you can change for the Workflow Editor.",
"type": "idea",
"referrer": "Rosalind Franklin"
}
Header Fields
Name | Description |
---|---|
X-SBG-Auth-Token required | Your authentication token. |
Content-Type required | application/json |
Response
See a list of response codes that may be contained in the body of the response.
If the request executed properly, there will be no response body for this request.