wiki:cachedResource

Caching XQuery results

Method

  • URL: /cached/{id}
    • Method: GET
    • Query parameters:
      • numResuls - max number of results to be returned (default: -1, which means all possible results)
      • startFrom - starting from N-th result (default: 1, start from the first)
    • Returns: text/xml
    • Description: returns results set of a cached XQuery results. One should provide an unique id which he/she received from a XQuery execution. See querying TNTBase for more information

Example

Coming soon...

Method

  • URL: /cached/{id}
    • Method: DELETE
    • Returns: text/xml
    • Description: deletes cached XQuery results from TNTBase. In a case of success the XML execution code 12 is returned.

Example

Coming soon...

Method

  • URL: /cached
    • Method: DELETE
    • Returns: text/xml
    • Description: deletes all cached XQuery results in TNTBase. In a case of success the XML execution code 13 is returned.

Example

Coming soon...

Method

  • URL: /cached
    • Method: GET
    • Returns: text/xml
    • Description: Returns names of all cached XQuery results in TNTBase in a form of XML result set.

Example

Coming soon...