Beware. these are for SDKs and may cost credits to perform.
Description:
Validates a API token
Request
Response
{
"valid": True,
"backendversion": "1.0.0"
}
Errors
Description:
Get a list of table names of the DB associated with the token
Cost: 0.02 Units
Request
Response
["table1", "table2", "table3"]
Errors
Description:
Get the ammount of availible credits for the token
Request
Response
{
"credits": 100
}
Errors
Description:
Gets rows from a table associated to the db of the token using a where object and a limit ammound of rows to return
Cost: 0.2 Units per 100 rows returned
Request
Response
[
{"id": 1, "name": "jan"}, {"id": 2, "name": "alice"}
] // List of rows found in table
Errors
Description:
Delete rows matching the where object
Request
Response
{
"success": True,
"message": "Records deleted successfully"
}
Errors
Description:
If a object is provided it will try to add it to the table provided filling empty fields with null or default if availible providing a list will add multiple records for the price of one
Request
{
"name": "test"
}
Response
{
"success": True,
"message": "Record created successfully"
}
Errors
Description:
Count the ammount the where string affects.
Request
Response
{
"count": 7
}
Errors