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

feat: created audit and added change history. #14

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

k-avy
Copy link
Collaborator

@k-avy k-avy commented Aug 7, 2023

feat: added audit and change history endpoints.

    - /api/audit: to get all the change logs
    - /api/audit/:audit_id: to get the change log by its id
    - /api/audit/:audit_id/changes: to get all the change history of a particular change log
    - /api/audit/:audit_id/changes/:id: to get change of a particular change history

@k-avy k-avy force-pushed the kavya/api/audit branch 3 times, most recently from 89d3f23 to 9c928eb Compare August 9, 2023 19:10
@k-avy k-avy force-pushed the kavya/api/audit branch 2 times, most recently from cf7382f to fd2e014 Compare August 17, 2023 13:25
	Get license with specific search term:
		field: represents the name of field to be searched
		search_term: represents the term to be searched
		search: represent the algorithm to search with

	authenticate the API:
		added the struct for user
		created a user table in the database
		added basic user endpoints:
			get user using id
			get all user
			create user
		added basic authentication to all the API endpoints i.e, group of endpoints

Signed-off-by: Kavya Shukla <kavyuushukla59@gmail.com>
    - /api/audit: to get all the audit logs
    - /api/audit/:audit_id: to get the audit by its id
    - /api/audit/:audit_id/changes: to get all the change log of a particular audit
    - /api/audit/:audit_id/changes/:id: to get change of a particular change log

Signed-off-by: Kavya Shukla <kavyuushukla59@gmail.com>
@GMishx GMishx merged commit 7b973d0 into fossology:main Dec 4, 2023
2 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