Création par lot de feedback
curl --request POST \
--url https://api.example.com/feedback/batch/create \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"batch": [
{
"project_id": "<string>",
"weave_ref": "<string>",
"feedback_type": "<string>",
"payload": {},
"id": "018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b",
"creator": "Jane Smith",
"annotation_ref": "weave:///entity/project/object/name:digest",
"runnable_ref": "weave:///entity/project/op/name:digest",
"call_ref": "weave:///entity/project/call/call_id",
"trigger_ref": "weave:///entity/project/object/name:digest",
"queue_id": "018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b",
"wb_user_id": "<string>"
}
]
}
'{
"res": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"wb_user_id": "<string>",
"payload": {}
}
]
}Création par lot de feedback
Ajouter plusieurs éléments de feedback à des appels ou à des objets.
POST
/
feedback
/
batch
/
create
Création par lot de feedback
curl --request POST \
--url https://api.example.com/feedback/batch/create \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"batch": [
{
"project_id": "<string>",
"weave_ref": "<string>",
"feedback_type": "<string>",
"payload": {},
"id": "018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b",
"creator": "Jane Smith",
"annotation_ref": "weave:///entity/project/object/name:digest",
"runnable_ref": "weave:///entity/project/op/name:digest",
"call_ref": "weave:///entity/project/call/call_id",
"trigger_ref": "weave:///entity/project/object/name:digest",
"queue_id": "018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b",
"wb_user_id": "<string>"
}
]
}
'{
"res": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"wb_user_id": "<string>",
"payload": {}
}
]
}Documentation Index
Fetch the complete documentation index at: https://wb-21fd5541-kb-refresh.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Autorisations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Corps
application/json
Show child attributes
Show child attributes
Réponse
Réponse réussie
Show child attributes
Show child attributes
Cette page vous a-t-elle été utile ?
⌘I