Commit Graph

12 Commits

Author SHA1 Message Date
Dietmar Maurer
0c83a706e6 api-viewer: correctly escape html when displaying return types.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2018-09-14 13:36:36 +02:00
Dietmar Maurer
ba295265e6 api-viewer: minor style fix 2018-03-22 13:32:32 +01:00
Thomas Lamprecht
69c4b95624 api-viewer: show full return info if available
if we have extended information available about what a API call
returns the show it.

Just stringify the items and/or properties object and put it in <pre>
tags.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-22 13:06:16 +01:00
Dominik Csapak
4a0cf6f845 fix typo in api viewer
authententification -> authentication
authententicated -> authenticated

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-02-14 11:40:38 +01:00
Thomas Lamprecht
cd115543df api-viewer: adapt and add flex for parameter coolumns
Allow to use space better on higher resolutions.

Names, Defaults and Types can be read comfortably without the need of
resizing the colum width manually each time.

Cleanup trailing whithespace in the surrounding area.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-12-22 07:58:48 +01:00
Thomas Lamprecht
bc6d4d50de api-viewer: also show the 'default' schema column
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-12-22 07:58:26 +01:00
Dietmar Maurer
6068d8ce89 api-viewer/PVEAPI.js: fix syntax error 2016-09-05 10:07:41 +02:00
Dietmar Maurer
61e5a832cd api-viewer: use verbose_description if available 2016-09-05 09:42:35 +02:00
Dietmar Maurer
7f5866a309 iapi-viewer: correctly encode type text 2016-09-05 09:03:35 +02:00
Dominik Csapak
b47424198c set the first tab of a page active
else no tab would be selected by default,
but the first would still be shown,
leading to confusion which tab is active

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-05 06:57:34 +02:00
Dietmar Maurer
b2ff6d63c3 use ExtJS6 for API viewer (theme crisp-touch) 2016-04-30 15:07:52 +02:00
Dietmar Maurer
356064f40d add api-viewer to index.adoc 2016-04-29 14:13:12 +02:00