Difference between revisions of "Workdocumentation 2021-03-22/lukas guenther task"
Line 8: | Line 8: | ||
| ?Ordinal | | ?Ordinal | ||
|format={{#urlget:format|datatables}} | |format={{#urlget:format|datatables}} | ||
− | |limit={{#urlget:limit| | + | |limit={{#urlget:limit|50}} |
}} | }} | ||
Line 28: | Line 28: | ||
===== Example ===== | ===== Example ===== | ||
− | https://www.openresearch.org/wiki/Workdocumentation_2021-03-22/lukas_guenther_task'''?limit=50&ord=1&format=json''' | + | <code>https://www.openresearch.org/wiki/Workdocumentation_2021-03-22/lukas_guenther_task'''?limit=50&ord=1&format=json'''</code> |
+ | |||
+ | |||
+ | == Ideas for extending the urlget-Extension == | ||
+ | |||
+ | * When checking <code>$params</code>, it just makes sure there are two brackets. There could be Edge-Cases like <code>url.de/index?params]0[=value</code>. So strpos of the right bracket should be higher than the left bracket. |
Revision as of 15:57, 31 March 2021
Loading...
Parameters
You're able to filter the Results with the following parameters
Parameter | Example | Description |
---|---|---|
ord | 1 | Selects only Events with the specified Ordinal |
format | json | Changes the return format of the Result-Set |
limit | 50 | Lets you limit the size of the Result-Set |
Example
https://www.openresearch.org/wiki/Workdocumentation_2021-03-22/lukas_guenther_task?limit=50&ord=1&format=json
Ideas for extending the urlget-Extension
- When checking
$params
, it just makes sure there are two brackets. There could be Edge-Cases likeurl.de/index?params]0[=value
. So strpos of the right bracket should be higher than the left bracket.