mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2025-06-09 12:38:39 +00:00
More verbose info about instance
This commit is contained in:
parent
17229d48b8
commit
d39a86a2a9
2 changed files with 29 additions and 5 deletions
src
|
@ -72,7 +72,9 @@ def get_me():
|
|||
def get_instance_settings():
|
||||
r = current_instance.s.get(
|
||||
f'https://{current_instance.instance}/api/v1/instance/settings')
|
||||
return r.json()
|
||||
r_node = current_instance.s.get(
|
||||
f'https://{current_instance.instance}/api/v1/instance/nodeinfo/2.0/')
|
||||
return r.json(), r_node.json()
|
||||
|
||||
|
||||
@logger.catch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue