Skip to main content
POST
BatchUpsertSqlTests

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
sqlTests
SqlTest · object[]

List of SqlTests to upsert. Each SqlTest is matched on the id it carries, and on its path when it has no id, so a caller that keeps its own ids can rename or re-target a test without replacing it.

sqlTestIdsToReset
string[]

List of SqlTest IDs to re-arm, given as the same id sent above. A test has no learned state to discard: this re-arms the scheduler of a test that carries a recurrence rule, so it runs immediately rather than at its next slot, and does nothing for a test scheduled externally.

Response

200 - application/json

Success

createdIds
string[]

IDs for which SqlTests were created without error.

updatedIds
string[]

IDs for which SqlTests were updated without error.

errors
UpsertError · object[]

Errors raised while upsert. This list will be empty if there were no errors.