storage
Credits: 0.000001
Create an index by name
indexstring
The name of the index
Request
Response
{}
Credits: 0.000001
Delete a record given its ID
idstring
The ID of the record to delete
indexstring
The index the record belongs to
Request
Response
{}
Credits: 0.000001
Delete an index by name
indexstring
The name of the index to delete
Request
Response
{}
Credits: 0.000001
Index a record i.e. insert a document to search for.
dataobject
The data to index
idstring
Optional ID for the record
indexstring
The index this record belongs to
recordobject
the indexed record
Request
Response
{
"record": {
"id": "0d5aab12-c716-4174-8c3a-f4222b337292",
"data": {
"name": "John Doe",
"age": 37,
"starsign": "Leo"
}
}
}
Credits: 0.000001
Search for records in a given in index
indexstring
The index the record belongs to
querystring
The query. See docs for query language examples
recordsarray
The matching records
Request
Response
{
"records": [
{
"id": "1234",
"data": {
"name": "John Doe",
"age": 37,
"starsign": "Leo"
}
}
]
}