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

Simplification of JSON format #21

Open
irl opened this issue Mar 9, 2022 · 0 comments
Open

Simplification of JSON format #21

irl opened this issue Mar 9, 2022 · 0 comments

Comments

@irl
Copy link
Collaborator

irl commented Mar 9, 2022

Some of the keys in the JSON format are redundant or just not needed, we can simplify the format and improve how we define what each field means.

Overall, we'll keep the format in the same hierachy. The only changes will be to the keys to the available_alternatives.

  • proto -> goes away
  • created_at -> goes away
  • updated_at -> goes away
  • type -> indicates that either special software is required to use this URL, or that the URL requires special parsing. initial possible values will be "web", "tor", "ifps"
  • url -> explicitly includes the protocol and does not include a trailing slash
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