Hold a connected database's current state so reviewed wording can be saved
POST
/api/v1/learn/sources/{name}/description-review
const url = 'http://localhost:11044/api/v1/learn/sources/example/description-review';const options = {method: 'POST', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:11044/api/v1/learn/sources/example/description-review \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”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
Responses
Section titled “Responses”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"}
