5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-02-02 09:47:07 +03:00

24 Commits

Author SHA1 Message Date
Thomas Lamprecht
1f79cc8cea api-viewer: adapt to changes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-02 16:19:34 +02:00
Dominik Csapak
37d44f8e21 build api-viewer from widget-toolkit-dev
build-depends naturally on the new proxmox-widget-toolkit-dev package

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-06-02 15:35:48 +02:00
Fabian Grünbichler
78f5fcdc70 include allowtoken info in api-viewer
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-02-12 14:12:53 +01:00
Thomas Lamprecht
afbe0fcce5 api-viewer: tree-tools: use modern callback and add tooltips
The 'handler' config is deprecated since ExtJS 4.2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-12-11 15:45:53 +01:00
Thomas Lamprecht
f081718e44 api-viewer: flex search field
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-12-11 15:45:22 +01:00
Thomas Lamprecht
78bcda1de1 api-viewer: trim trailing slashes and spaces from tree-path url
as else the store.findNode(...) works on "/access" but not
"/access/", which some browser auto-complete to.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-12-11 14:39:03 +01:00
Tim Marx
ab918a4fc7 apiviewer: add search and collapse/expand tools
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-12-11 14:14:11 +01:00
Tim Marx
16e6779d4c apiviewer: add api endpoint deeplink ability
use #/<endpoint> to deeplink to a specific endpoint

Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-12-11 14:14:11 +01:00
Thomas Lamprecht
b77cddaade api-viewer: fine-tune RAW return type showing
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-12-10 14:51:53 +01:00
Tim Marx
8753d260ad apiviewer: format return values as grid with optionial toggle raw
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-12-10 14:30:52 +01:00
Tim Marx
87ec83f4b8 whitespace cleanup
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-12-10 14:23:22 +01:00
Thomas Lamprecht
7420d3f101 api-viewer: add missing </pre> closing tag
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-08-17 12:55:02 +02:00
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