List feedback records for a taxonomy node
GET/v1/taxonomy/nodes/{node_id}/records
Returns the feedback records assigned to a node and all of its (visible) descendant nodes, via the
clusters those nodes reference. Tenant-scoped; returns 404 if the node does not belong to the tenant
or has been removed. An empty data therefore means the node genuinely holds no records. The limit
in the response reflects the applied cap.
Path Parameters
node_id: string
formatuuid
Query Parameters
tenant_id: string
Tenant that owns the node.
minLength1
maxLength255
limit: optional number
Maximum number of feedback records to return.
formatint64
minimum1
maximum100
Returns
limit: number
The applied maximum number of records.
formatint64
List feedback records for a taxonomy node
curl http://localhost:8080/v1/taxonomy/nodes/$NODE_ID/records \
-H "Authorization: Bearer $HUB_API_KEY"{
"data": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"collected_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"field_id": "field_id",
"field_type": "text",
"source_type": "source_type",
"submission_id": "submission_id",
"tenant_id": "tenant_id",
"updated_at": "2019-12-27T18:11:19.117Z",
"emotions": [
"joy"
],
"field_group_id": "field_group_id",
"field_group_label": "field_group_label",
"field_label": "field_label",
"language": "language",
"metadata": {
"foo": "bar"
},
"sentiment": "very_negative",
"sentiment_score": -1,
"source_id": "source_id",
"source_name": "source_name",
"translation_lang_key": "translation_lang_key",
"user_id": "user_id",
"value_boolean": true,
"value_date": "2019-12-27T18:11:19.117Z",
"value_id": "value_id",
"value_number": 0,
"value_text": "value_text",
"value_text_translated": "value_text_translated"
}
],
"limit": 0
}Returns Examples
{
"data": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"collected_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"field_id": "field_id",
"field_type": "text",
"source_type": "source_type",
"submission_id": "submission_id",
"tenant_id": "tenant_id",
"updated_at": "2019-12-27T18:11:19.117Z",
"emotions": [
"joy"
],
"field_group_id": "field_group_id",
"field_group_label": "field_group_label",
"field_label": "field_label",
"language": "language",
"metadata": {
"foo": "bar"
},
"sentiment": "very_negative",
"sentiment_score": -1,
"source_id": "source_id",
"source_name": "source_name",
"translation_lang_key": "translation_lang_key",
"user_id": "user_id",
"value_boolean": true,
"value_date": "2019-12-27T18:11:19.117Z",
"value_id": "value_id",
"value_number": 0,
"value_text": "value_text",
"value_text_translated": "value_text_translated"
}
],
"limit": 0
}