Update Instructions

Update Instructions#

In order to get the best performance from the engine you should try using different instructions for each database connection. You can update the instructions for a database connection using the PUT method.

Request this PUT endpoint:

/api/v1/instructions/{instruction_id}

** Parameters **

Name

Type

Description

instruction_id

string

Instruction id we want to update, Required

Request body

{
 "instruction": "string"
}

Responses

HTTP 200 code response

{
"id": "string",
"instruction": "string",
"db_connection_id": "string"
}

Example

Only set a instruction for a database connection

 curl -X 'PUT' \
'<host>/api/v1/instructions/{instruction_id}' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"instruction": "string"
}'