List feedback types
curl --request GET \
--url https://api.lighton.ai/api/v2/feedback/feedback-types/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lighton.ai/api/v2/feedback/feedback-types/{id}/"
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/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": 123,
"value_type": "boolean",
"name": "<string>",
"value_range_start": 123,
"value_range_end": 123,
"unique_feedback": true
}Feedbacks
List feedback types
API endpoint for viewing and editing feedback types.
GET
/
api
/
v2
/
feedback
/
feedback-types
/
{id}
/
List feedback types
curl --request GET \
--url https://api.lighton.ai/api/v2/feedback/feedback-types/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lighton.ai/api/v2/feedback/feedback-types/{id}/"
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/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": 123,
"value_type": "boolean",
"name": "<string>",
"value_range_start": 123,
"value_range_end": 123,
"unique_feedback": true
}Authorizations
Response
200 - application/json