Send a feedback item

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.sbgenomics.com/v2/action/notifications/feedback
https://eu-api.sbgenomics.com/v2/action/notifications/feedback

Example request

POST /v2/action/notifications/feedback HTTP/1.1
Host: api.sbgenomics.com
X-SBG-Auth-Token: 27f1432ffef34790a94e44e9782c5c36
Content-Type: application/json
curl -X POST \
  https://api.sbgenomics.com/v2/action/notifications/feedback \
  -H 'content-type: application/json' \
  -H 'x-sbg-auth-token: 27f1432ffef34790a94e44e9782c5c36' \
from sevenbridges import Api

api = Api(url='https://api.sbgenomics.com/v2',
          token='3259c50e1ac5426ea8f1273259740f74')

# send POST request to SB API
api.actions.send_feedback(
    referrer='Rosalind Franklin',
    text='I have an idea on what you can change for the Workflow Editor.'
)

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

Example request body

{
    "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 Seven Bridges Platform authentication token.

Content-Type
required

application/json

Response

See a list of Seven Bridges Platform-specific 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.