Describe the bug
If I am reading the Mastodon documentation correctly, the id query parameter is supposed to be an array, not a single string: https://docs.joinmastodon.org/methods/accounts/#relationships
Array parameters are marked with square brackets, here is an example from the doc: Sample call with id[]=1&id[]=2. Tuba doesn't add square brackets (at least in some cases).
Steps To Reproduce
- Go to any Profile page.
- The server receives a request:
GET /api/v1/accounts/relationships?id=0194e23e-d2a6-8dc7-4122-afb2978eeb05
Logs and/or Screenshots
(tuba:20461): Tuba-CRITICAL **: 16:28:32.666: Network.vala:83: Request "https://***/api/v1/accounts/relationships?id=dd4ebc18-269d-4c7b-a310-03d29c6ab551" failed: 400 Bad Request
Instance Backend
I'm not sure / Other
Operating System
Debian 13
Package
OS repositories
Troubleshooting information
No response
Additional Context
Tuba version: 0.9.2
Server software: Mitra
Describe the bug
If I am reading the Mastodon documentation correctly, the
idquery parameter is supposed to be an array, not a single string: https://docs.joinmastodon.org/methods/accounts/#relationshipsArray parameters are marked with square brackets, here is an example from the doc:
Sample call with id[]=1&id[]=2. Tuba doesn't add square brackets (at least in some cases).Steps To Reproduce
GET /api/v1/accounts/relationships?id=0194e23e-d2a6-8dc7-4122-afb2978eeb05Logs and/or Screenshots
Instance Backend
I'm not sure / Other
Operating System
Debian 13
Package
OS repositories
Troubleshooting information
No response
Additional Context
Tuba version: 0.9.2
Server software: Mitra