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] Employment API #361

Merged
merged 10 commits into from
Mar 26, 2024
Merged

[FEAT] Employment API #361

merged 10 commits into from
Mar 26, 2024

Conversation

DMalone87
Copy link
Collaborator

In Progress

Adding API Calls for creating and retrieving employment records for officers. Will also include an API call for the Agencies API that will retrieve all known officers of that agency.

Adding this PR now to avoid duplicating the effort.

@mikeyavorsky mikeyavorsky marked this pull request as ready for review March 19, 2024 23:31
- Create Agency
- Get Agencies
- Get Agency by ID

Some incomplete/untested endpoints for updating
and deleting agencies are also included.
 - Officer|Agency(Employment)
 - Officer|Perpetrator(Accusation)
many-to-many relationships
 - officers
 - agencies
 - Add Employment Records
 - Get all Employment Records

Tests still to come.
 - Add Employment History
 - Get Employment History
them. This is done by checking if and employment
record already exists for the officer, agency,
and badge number.
Also adds tests for managing employment records
@DMalone87 DMalone87 merged commit e24765b into main Mar 26, 2024
4 checks passed
@DMalone87 DMalone87 deleted the dmalone/employment_api branch March 26, 2024 00:35
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