mirror of
https://github.com/ihabunek/toot
synced 2024-12-23 15:37:47 +01:00
add get_lists method
This commit is contained in:
parent
4c12a210c4
commit
39e1f92970
@ -519,3 +519,8 @@ def clear_notifications(app, user):
|
||||
def get_instance(base_url):
|
||||
url = f"{base_url}/api/v1/instance"
|
||||
return http.anon_get(url).json()
|
||||
|
||||
|
||||
def get_lists(app, user):
|
||||
path = "/api/v1/lists"
|
||||
return _get_response_list(app, user, path)
|
||||
|
Loading…
Reference in New Issue
Block a user