Post a feedback item

/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

Example request

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:

KeyData type of valueContent of value
textstringSpecifies the content for the feedback i.e. feedback text.
file_idsstringSpecifies the type of feedback. The following are available:
idea
thought
* problem

Example request body

{
    "text": "I have an idea on what you can change for the Workflow Editor.",
    "type": "idea",
     "referrer": "Rosalind Franklin"
}

Header Fields

NameDescription
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.