mirror of
https://github.com/gethomepage/homepage.git
synced 2026-04-07 18:51:20 -07:00
Change: Use the absence of "field" to refer to the root of customapi response
This commit is contained in:
@@ -57,8 +57,8 @@ widget:
|
||||
- field: key
|
||||
label: Number of things in array
|
||||
format: size
|
||||
- field: . # This will take the root of the API response, e.g. when APIs return an array
|
||||
label: Number of items
|
||||
# This (no field) will take the root of the API response, e.g. when APIs return an array:
|
||||
- label: Number of items
|
||||
format: size
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user