Open RoteKekse opened 3 weeks ago
Here are some endpoints
response = requests.get( f'{url}/users?prefix=Götte', headers={'Authorization': f'Bearer {token}'}) data = response.json()["data"] print(data) d = { "group_name": "TestGroup2", "members": [ a.get("user_id") for a in data ] } response = requests.post( f'{url}/groups', headers={'Authorization': f'Bearer {token}'}, json=d) groups = response.json() print(groups) response = requests.get( f'{url}/groups', headers={'Authorization': f'Bearer {token}'}) response.json()
Pls check who should be liong to the group and also then add the group to all MMB uploads :)
Here are some endpoints
Pls check who should be liong to the group and also then add the group to all MMB uploads :)