Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle dynamic JSON in API responses #3

Open
sveniu opened this issue Sep 15, 2020 · 0 comments
Open

Handle dynamic JSON in API responses #3

sveniu opened this issue Sep 15, 2020 · 0 comments

Comments

@sveniu
Copy link
Owner

sveniu commented Sep 15, 2020

There is dynamic JSON all over the APIs. Examples:

  • strongauth/getU2FMetadata returning {"code":404,"message":"Not Found","content":"NO_KEYHANDLE_FOUND"} when no U2F devices are registered.
  • Most of the backup APIs seem fairly dynamic, for both input variables and the returned JSON.

Figure out a suitable way to handle dynamic JSON, and implement it. Start with the getU2FMetadata API for listing U2F devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant