Closed xmok closed 4 months ago
Hello @xmok, Thank you for the bug report!
The changed JSON structure was introduced in a previous bug fix and has now been rolled back. The example structure on https://2fa.directory/api/ is still the official one, and we only intentionally change it when we move to different API versions.
Information about the bug:
Bug description: Previously, the API format was an array of arrays as shown on https://2fa.directory/api/.
As of latest commits the output is now an object:
Bug reproduction: View the API file e.g. https://api.2fa.directory/v3/all.json
Impacted devices: All?
Expected behavior: The object format seems OK to me but need confirmation if this is the new format or if the old format will be brought back as it's currently breaking integrations.
Additional information: N/A