404
edits
Line 63: | Line 63: | ||
== API hierarchy == | == API hierarchy == | ||
=== Query available URIs with OPTIONS === | |||
The Allegro REST API has the fixed URI <code>API/stats</code> for statistics. To see all possible subtrees of a specific request, use the '''OPTIONS''' request instead of ''GET'''. It can be set with the parameter <code>-X OPTIONS</code> for curl. | The Allegro REST API has the fixed URI <code>API/stats</code> for statistics. To see all possible subtrees of a specific request, use the '''OPTIONS''' request instead of ''GET'''. It can be set with the parameter <code>-X OPTIONS</code> for curl. | ||
<pre> | |||
$ curl --silent -k -u 'admin:allegro' 'https://allegro-mm-XXXX/API/stats' -X OPTIONS | $ curl --silent -k -u 'admin:allegro' 'https://allegro-mm-XXXX/API/stats' -X OPTIONS | ||
{ | { | ||
Line 84: | Line 86: | ||
} | } | ||
</pre> | </pre> | ||
== API parameters == | == API parameters == |
edits