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

update API documentation #154

Merged
merged 2 commits into from
Nov 3, 2023
Merged

update API documentation #154

merged 2 commits into from
Nov 3, 2023

Conversation

ameshkov
Copy link
Member

@ameshkov ameshkov commented Nov 3, 2023

No description provided.

@@ -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
Copy link
Member

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

Copy link
Member Author

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
Copy link
Member

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

Copy link
Member Author

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.

Copy link
Member

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
Copy link
Member

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

@vbagirov vbagirov self-requested a review November 3, 2023 13:49
@vbagirov vbagirov merged commit 097ad51 into master Nov 3, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants