Skip to content

Hold a connected database's current state so reviewed wording can be saved

POST
/api/v1/learn/sources/{name}/description-review
curl --request POST \
--url http://localhost:11044/api/v1/learn/sources/example/description-review \
--header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'
name
required
string

Name of the connected database whose current state is held as the baseline for saving reviewed wording, as listed by GET /api/v1/learn/sources; 404 when no connected database has that name

No such connected database

Media typeapplication/json

A refusal carrying only its explanation, with no code to branch on

object
error
required

What went wrong, written to be shown. Carries the underlying driver’s or parser’s own message where there is one

string

Example generated

{
"error": "example"
}