Commit Graph

12 Commits (feat/database/query-result-fetch-associative-fetch-num)

Author SHA1 Message Date
jld3103 c2d45cb172
Add single status code descriptions for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 08:05:21 +07:00
jld3103 6c840984f8
dashboard: Fix get widgets OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 17:41:37 +07:00
Richard Steinmetz 6982597b6a
feat(dashboard): implement widget item api v2
This API enables the dashboard to render all widgets from the API data
alone without having apps to provide their own bundles. This saves a lot
of traffic and execution time as a lot less javascript has to be parsed
on the frontend.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-22 08:36:53 +07:00
jld3103 f8bed12cfb
dashboard: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 07:23:00 +07:00
Julien Veyssier da74da8a9c
adjust empty array check
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:24:43 +07:00
Robin Appelman d9e75f00b1
move widget options into a Option class
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:06:21 +07:00
Julien Veyssier 845149bb7c
add IItemOptionWidget to define some item-related parameters, only getItemIconsRound() for now
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:06:21 +07:00
Robin Appelman a3912e264a
change widget button api to support multiple button types
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +07:00
Robin Appelman 79adca6b8b
allow adding button to dashboard api output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +07:00
Robin Appelman 7f52a99ffb
allow filtering dashboard items api by widgets
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +07:00
Robin Appelman 0e5944748d
add dashboard api to list widgets
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +07:00
Julien Veyssier e15270cbb9
implement dashboard API for clients, new WidgetItem class, new IAPIWidget interface
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-06-15 21:34:00 +07:00