« API » : différence entre les versions
Aller à la navigation
Aller à la recherche
(+/design/kibaone/accents +design/footer) |
(→Design API Documentation : +/design/header +parameter to choose BootStrap, Foundation or no framework dependant syntax) |
||
Ligne 19 : | Ligne 19 : | ||
= Design API Documentation = | = Design API Documentation = | ||
== /design/header == | |||
''Not yet available.'' | |||
* '''Purpose:''' Serves a header HTML code to add in a Wolfplex document | |||
* '''URL:''' {{api|design/header}} | |||
== /design/footer == | == /design/footer == | ||
''Not yet available.'' | ''Not yet available.'' | ||
* '''Purpose:''' | * '''Purpose:''' Serves a footer HTML code to add in a Wolfplex document | ||
* '''URL:''' {{api|design/footer}} | * '''URL:''' {{api|design/footer}} | ||
* '''Parameters:''' | * '''Parameters:''' | ||
** content=full|common-column — Code selection | ** content=full-with-css|full|css|common-column — Code selection | ||
*** content=full-with-css — returns the full footer HTML code, with a HTML5-compliant scoped <style> block. | |||
*** content=css — returnes only the CSS code | |||
*** content=full — returns the full footer HTML code | *** content=full — returns the full footer HTML code | ||
*** content=common-column — returns the HTML code for the content of the second footer column, allowing you to personalize the 3 others | *** content=common-column — returns the HTML code for the content of the second footer column, allowing you to personalize the 3 others | ||
** framework=bootstrap2|foundation5 | |||
*** without this parameter — returns a code not defendant of a front-end framework, with custom columns widths hardcoded | |||
*** framework=bootstrap2 — returns a code optimized for BootStrap 2.32 (Kiba One is first prepared for Foundation, then adjusted for BootStrap) | |||
*** framework=foundation5 — returns a code optimized for Foundation 5 | |||
== /design/kibaone == | == /design/kibaone == |
Version du 6 février 2014 à 17:18
To provide data about Wolfplex, we offer an API.
Domain: http://api.wolfplex.be/
API Documentation
/pads
- Purpose: Returns a list of the pads on the Wolfplex Etherpad installation
- URL: http://api.wolfplex.be/pads
- Method: GET
- Parameters:
- format=json|raw|txt (default: json) — Output format
/space
- Purpose: Returns a JSON document compliant with Space API (format documentation)
- URL: http://api.wolfplex.be/space
- Method: GET
- Parameters: none
Design API Documentation
/design/header
Not yet available.
- Purpose: Serves a header HTML code to add in a Wolfplex document
- URL: http://api.wolfplex.be/design/header
Not yet available.
- Purpose: Serves a footer HTML code to add in a Wolfplex document
- URL: http://api.wolfplex.be/design/footer
- Parameters:
- content=full-with-css|full|css|common-column — Code selection
- content=full-with-css — returns the full footer HTML code, with a HTML5-compliant scoped <style> block.
- content=css — returnes only the CSS code
- content=full — returns the full footer HTML code
- content=common-column — returns the HTML code for the content of the second footer column, allowing you to personalize the 3 others
- framework=bootstrap2|foundation5
- without this parameter — returns a code not defendant of a front-end framework, with custom columns widths hardcoded
- framework=bootstrap2 — returns a code optimized for BootStrap 2.32 (Kiba One is first prepared for Foundation, then adjusted for BootStrap)
- framework=foundation5 — returns a code optimized for Foundation 5
- content=full-with-css|full|css|common-column — Code selection
/design/kibaone
This provides features specific to the Kiba One theme (see also Kiba).
/design/kibaone/accents
- Purpose: Returns a JSON document with a listing of Kiba One accents.
- URL: http://api.wolfplex.be/design/kibaone/accents
- Method: GET
- Parameters: none
- Format: An array of object, each one having 3 properties:
- name: the accent name
- accent: the background color
- headingColor: the heading color