DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:repository:api

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:repository:api [2020-05-10 15:04] Klap-inplugin:repository:api [2024-01-29 23:41] (current) Klap-in
Line 7: Line 7:
 This API is used by the [[plugin:extension|Extension Manager Plugin]]. This API is used by the [[plugin:extension|Extension Manager Plugin]].
  
 +''/lib/plugins/pluginrepo/api.php?fmt=json&ext[]=plugin1&ext[]=plugin2''
 +
 +''/lib/plugins/pluginrepo/api.php?fmt=json'' with ''&ext[]=plugin1'', ''&tag[]=tag1'', ''&mail[]=mail1'', ''&type[]=4'' and/or ''&q=text''.
 ===== Commands ===== ===== Commands =====
  
Line 24: Line 27:
   * ''php'' -- PHP serialized data   * ''php'' -- PHP serialized data
   * ''json'' -- JSON encoded data (default)   * ''json'' -- JSON encoded data (default)
-    * give a callback name as ''cb'' parameter and it's JSONP +    * give a callback name as ''cb'' parameter and it's JSONPexample: <code>api.php?fmt=json&cb=my_callback</code>
- +
-example: ''api.php?fmt=json&cb=my_callback''+
  
 ===== Filters ===== ===== Filters =====
Line 108: Line 109:
 ''/lib/plugins/pluginrepo/repository.php'' returns plugin/template data as XML. Same syntax as for sorting/filtering the [[plugin:repository:manual#pluginrepo_table_component|repository table]] can be used as well as querying for an array of named plugins.  ''/lib/plugins/pluginrepo/repository.php'' returns plugin/template data as XML. Same syntax as for sorting/filtering the [[plugin:repository:manual#pluginrepo_table_component|repository table]] can be used as well as querying for an array of named plugins. 
  
-Still in use by e.g. [[teams:translate-tool|Translate Tool]]+Still in use by e.g. [[teams:translate-tool|Translate Tool]]\\  
 +(see for [[https://github.com/dokufreaks/dokuwiki-translation/blob/master/src/org/dokuwiki/translatorBundle/Services/DokuWikiRepositoryAPI/DokuWikiRepositoryAPI.php#L33|code]] with url [wiki]/lib/plugins/pluginrepo/repository.php?includetemplates=yes)
  
 Available filters: Available filters:
plugin/repository/api.1589115860.txt.gz · Last modified: 2020-05-10 15:04 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki