Sjabloon:EdurepJsonsearchQuery: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
(bugfix + sort) |
(add recordSchema) |
||
Regel 1: | Regel 1: | ||
<includeonly>{|style="width: 100%; background: #ebf8f9; height: 40px; border: 1px solid darkgray; margin: 10px;" |
<includeonly>{|style="width: 100%; background: #ebf8f9; height: 40px; border: 1px solid darkgray; margin: 10px;" |
||
− | | '''/jsonsearch:''' [https://wszoeken.edurep.kennisnet.nl/jsonsearch?query={{urlencode:{{{query}}} }}{{#ifeq:{{{facet|}}}|{{{facet|-}}} | &facet={{urlencode:{{{facet}}} }} }}{{#ifeq:{{{pagesize|}}}|{{{pagesize|-}}} | &page-size={{{pagesize}}} }}{{#ifeq:{{{page|}}}|{{{page|-}}} | &page={{{page}}} }}{{#ifeq:{{{sort|}}}|{{{sort|-}}} | &sort={{{sort}}} }} query={{{query}}}{{#ifeq:{{{pagesize|}}}|{{{pagesize|-}}} | &page-size={{{pagesize}}} }}{{#ifeq:{{{page|}}}|{{{page|-}}} | &page={{{page}}} }}{{#ifeq:{{{facet|}}}|{{{facet|-}}} | &facet={{{facet}}} }}{{#ifeq:{{{sort|}}}|{{{sort|-}}} | &sort={{{sort}}} }} ] |
+ | | '''/jsonsearch:''' [https://wszoeken.edurep.kennisnet.nl/jsonsearch?query={{urlencode:{{{query}}} }}{{#ifeq:{{{facet|}}}|{{{facet|-}}} | &facet={{urlencode:{{{facet}}} }} }}{{#ifeq:{{{pagesize|}}}|{{{pagesize|-}}} | &page-size={{{pagesize}}} }}{{#ifeq:{{{page|}}}|{{{page|-}}} | &page={{{page}}} }}{{#ifeq:{{{sort|}}}|{{{sort|-}}} | &sort={{{sort}}} }} query={{{query}}}{{#ifeq:{{{pagesize|}}}|{{{pagesize|-}}} | &page-size={{{pagesize}}} }}{{#ifeq:{{{page|}}}|{{{page|-}}} | &page={{{page}}} }}{{#ifeq:{{{facet|}}}|{{{facet|-}}} | &facet={{{facet}}} }}{{#ifeq:{{{sort|}}}|{{{sort|-}}} | &sort={{{sort}}} }}{{#ifeq:{{{schema|}}}|{{{schema|-}}} | &recordSchema={{{schema}}} }} ] |
|}</includeonly><noinclude> |
|}</includeonly><noinclude> |
||
{{Sjabloondoc|Maakt een link naar een Jsonsearch query op Edurep<br /> |
{{Sjabloondoc|Maakt een link naar een Jsonsearch query op Edurep<br /> |
||
Regel 11: | Regel 11: | ||
* facet |
* facet |
||
* sort |
* sort |
||
+ | * schema |
||
{{EdurepJsonsearchQuery|query=handig}}}} |
{{EdurepJsonsearchQuery|query=handig}}}} |
||
[[Category:Opmaak Sjablonen]] |
[[Category:Opmaak Sjablonen]] |
Huidige versie van 10 nov 2021 om 11:55
EdurepJsonsearchQuery Sjabloon
Documentatie:
Maakt een link naar een Jsonsearch query op Edurep
Gebruik {{EdurepJsonsearchQuery|query=handig}}
Ondersteunde argumenten:
- query
- pagesize
- page
- facet
- sort
- schema
/jsonsearch: query=handig |