List feedback types
curl --request GET \
--url https://api.lighton.ai/api/v2/feedback/feedback-types/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lighton.ai/api/v2/feedback/feedback-types/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lighton.ai/api/v2/feedback/feedback-types/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"results": [
{
"id": 123,
"value_type": "boolean",
"name": "<string>",
"value_range_start": 123,
"value_range_end": 123,
"unique_feedback": true
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Feedbacks
List feedback types
API endpoint for viewing and editing feedback types.
GET
/
api
/
v2
/
feedback
/
feedback-types
/
List feedback types
curl --request GET \
--url https://api.lighton.ai/api/v2/feedback/feedback-types/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lighton.ai/api/v2/feedback/feedback-types/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lighton.ai/api/v2/feedback/feedback-types/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"count": 123,
"results": [
{
"id": 123,
"value_type": "boolean",
"name": "<string>",
"value_range_start": 123,
"value_range_end": 123,
"unique_feedback": true
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
A page number within the paginated result set.
boolean- Boolean flagfloat- Float rangecomment- Free text commenttag- String tag
Available options:
boolean, comment, float, tag