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

[WIP] Feature/new apis #578

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

[WIP] Feature/new apis #578

wants to merge 14 commits into from

Conversation

hoangpn
Copy link
Contributor

@hoangpn hoangpn commented Mar 14, 2025

No description provided.

@hoangpn hoangpn requested a review from a team as a code owner March 14, 2025 08:13
hoangpn added 5 commits March 19, 2025 17:27
When accessing APIs created by Promgen's Django REST Framework, users will need a Token
for authentication. We have added a new panel on the Profile page that allows users to
create and manage their own tokens.
We plan to add version v2 to Promgen's API. We have chosen drf-spectacular as
the OpenAPI 3 Schema Generation for these new APIs.
We also use Rapidoc for the OpenAPI Spec Documentation.
- Add v2 Router for v2 APIs.
- Create rest_v2.py file with base functions: RuleMixin, NotifierMixin and PromgenPagination.
 We have added several APIs for retrieving User data.
- List User
- Get the User data based on the current Token
We have added several APIs for retrieving and filtering Audit Log data.
hoangpn added 9 commits March 20, 2025 11:17
We have added several APIs for retrieving and updating Notifier, as well as Notifier's filters.
We have added several APIs for retrieving, updating and deleting Rule.
We have added several APIs for interacting with Farm, as well as Farm's hosts.
We have added several APIs for retrieving Exporter data.
We have added several APIs for retrieving URL data.
We have added several APIs to help users easily manage Projects
and objects related to each project, such as notifiers, rules, exporters, and URLs.
We have added several APIs to help users easily manage Services
and objects related to each service, includes notifiers and rules.
We have added several APIs for retrieving Shard data and the list of projects for each shard.
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.

1 participant