tengine:api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
tengine:api [2022/06/09 01:16] twinnytengine:api [2022/06/09 01:27] twinny
Line 1: Line 1:
 ===== API Documentation ===== ===== API Documentation =====
 +
 +( I accidentally nuked all documentation so It's currently being rebuilt! May be some missing parts of old/invalid details )
  
 This page provides details on how you can use TEngine via API calls This page provides details on how you can use TEngine via API calls
Line 153: Line 155:
     "string"=STRING     "string"=STRING
   }   }
 +  sortorder="ASC"/"DESC" - set the sort order to be returned. ASC by default. Note this is sorted by string value: not numeric
 +  startat=INTEGER - if set, skips the number of items configured here before potentially read and returning items. Useful for pagination
 +  limit=INTEGER - if set, limits the number of read/returned items. Useful for pagination
 +  conditions=ARRAY of ARRAYS e.g. {  {"begins_with", "sort_"}, {">", "sort_5"}, {"<", "sort_15"} }
 } }
 +</code>
 +
 +=== Return Format ===
 +<code javascript>
 +{
 +  result=[KEYS,DATA]
 +  success=BOOLEAN
 +  readcount=INTEGER  - how many items were read and returned (after limit, startat, conditions)
 +  foundcount=INTEGER - how many items were intiially found
 +  error=STRING
 +}
 +</code>
 +
 +=== Example Request ===
 +<code javascript>
 +tbd
 +</code>
 +
 +=== Example Return ===
 +<code javascript>
 +tbd
 </code> </code>
  
Line 257: Line 284:
 } }
 </code> </code>
 +
 +==== ListTables ====
 +
 +tbd
 +
 +==== DescribeTable ====
 +
 +tbd
 +
 +----
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
  • tengine/api.txt
  • Last modified: 2023/04/23 06:35
  • by twinny