Tools
Exactly what the server advertised in the scan completed . Effects and capabilities are classified by Squatch from each tool's metadata. Squatch never runs tools.
- Effect: Read 7
- Effect: Write 4
- Effect: Delete 4
Showing 15 of 15 tools
| Details | ||
|---|---|---|
| delete_grade DELETE /queries/id/grades/key: forget the query's grade of the item at `key`. | Effect: Delete | |
| delete_grid DELETE /: delete the grid and everything in it, items, queries and grades; its key stops working. | Effect: Delete | |
| delete_item DELETE /items/key: delete the item at `key`, and every grade of it. | Effect: Delete | |
| delete_query DELETE /queries/id: delete the query `id` and its grades. | Effect: Delete | |
| create_grid POST /: create a grid, your own store of items; no API key needed. Returns its `api_key`, shown only now: pass it as `api_key` to every oth… | Effect: Write | |
| create_query POST /queries: store a question to ask of the items, its content as put_item takes it. Returns its `id`, which the other query tools take. … | Effect: Write | |
| put_grade PUT /queries/id/grades/key: grade the item at `key` (as get_results returns it, e.g. "42") for the query `id`. `score` is from -1 (wrong) t… | Effect: Write | |
| put_item PUT /items/key: write the item at `key` (e.g. "42", no leading /), creating it or replacing its content. Text is a string and a record a JS… | Effect: Write | |
| get_grade GET /queries/id/grades/key: the query's grade of the item at `key`. | Effect: Read | |
| get_grid GET /: the grid the API key opens: its name and its limit on items, `max_items` (queries included; null: no limit). | Effect: Read | |
| get_item GET /items/key: the item at `key`, with its `content` as put_item takes it. | Effect: Read | |
| get_query GET /queries/id: the query `id`, with its `content` as create_query takes it. | Effect: Read | |
| get_results GET /queries/id/results: `results`, the query's best items under any of `prefixes` (e.g. ["tools/"]; all items by default), best first, eac… | Effect: Read | |
| list_grades GET /queries/id/grades: `grades`, the query's grades, {"key", "score"}, in path order. | Effect: Read | |
| list_items GET /items?prefix=: `items`, those whose keys start with `prefix` (e.g. "tools/"; all by default), in key order, without their content (get… | Effect: Read |