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

Feature request: RESTful API #14

Open
htrgouvea opened this issue Jun 21, 2024 · 0 comments
Open

Feature request: RESTful API #14

htrgouvea opened this issue Jun 21, 2024 · 0 comments

Comments

@htrgouvea
Copy link
Owner

CRUD - REST API / (GET/POST/PUT/DELETE) on these endpoints: /company, /alerts, /history, /rule

/company

NAME
EMAIL
STATUS

/rule

id_company (id que foi cadastrado ali no outro endpoint)
STRING
FILTER
SCORE
DESCRIPTION
STATUS

/alert

ID_COMPANY
DATETIME
STATUS
NOTIFICATION
CONTENT
HASH

/history

ID_COMPANY
SOURCE
DATETIME
STATUS

Reference:

https://github.com/htrgouvea/harpoon/blob/main/rest-server/database/app.sql
https://github.com/htrgouvea/harpoon/tree/main/rest-server/database

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