-
Notifications
You must be signed in to change notification settings - Fork 101
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
update API documentation #154
Conversation
@@ -10,14 +10,99 @@ toc_max_heading_level: 4 | |||
https://api.adguard-dns.io/static/swagger/openapi.json to markdown using | |||
https://swagger-markdown-ui.netlify.app/. | |||
|
|||
Changelog is from here: | |||
https://api.adguard-dns.io/static/api/CHANGELOG.md | |||
|
|||
If you want to change it, ask the developers to change the OpenAPI spec. | |||
--> | |||
|
|||
## AdGuard DNS API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we remove these lines?
## AdGuard DNS API
DNS API documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's auto-generated, any change here will make it much more complex to apply updates
## Version: 1.4 | ||
## AdGuard DNS API Change Log | ||
|
||
### v1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One could argue versions should go the other way around, from most recent to the oldest one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's also auto-generated
### v1.1 | ||
|
||
- Added methods to retrieve statistics by time, domains, companies and devices. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an empty line?
here new field `safebrowsing_settings` is used instead of deprecated `safebrowsing_enabled`, whose value | ||
stored in `block_dangerous_domains`. | ||
|
||
## Version: 1.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changelog for v1.5 is already added above in this pull request, it's unclear what this "Version 1.5" means then
No description provided.