Comments (3)
See src/backend/expungeservice/endpoints/hello.py
for an example of a Flask endpoint
from recordexpungpdx.
@ash-tamraz noticed this was assigned to you so I assume you're working on it. Moved it to "In Progress", feel free to move it back to "Backlog" and let me know if you think that's more appropriate.
from recordexpungpdx.
Current design based on #361 and subsequent discussion:
GET /api/search
- Checks request for a cookie containing the encrypted user credentials for the OECI site
- Search query params: first name, last name, middle name, birth date.
- Decrypts the cookie, logs into the OECI site, and performs a record search.
- Runs the expunger on the search() result.
- Returns the analyzed record in this data format: https://github.com/codeforpdx/recordexpungPDX/blob/master/doc/results_format.json
- Logs the username and date (or the approximate date?) that the search was performed
- Logs some summarizing stats about the expungement result. See issues: #49 , #119 .
@maxkwallace you suggested this should be a GET method because it only saves logging data, but I still hesitate on that because the data we're recording is a processed result from the remote search results, e.g. number of eligible/ineligible records, or other non-trivial data collection. Feel a lot more like a POST.
from recordexpungpdx.
Related Issues (20)
- Paperwork printouts sometimes do not record checked boxes HOT 1
- Bounding box on cases in expanded analysis section HOT 4
- Create soft requirments for FillForms HOT 5
- Provide alternative search summary display HOT 6
- Create feature to log out of OECI credentials
- Create a section at the end of the Manual where we can post Form links
- Create new Eligibility types: "Eligible but on case with [Ineligible/Future Eligible] charge" HOT 14
- Add new Partners to the landing page HOT 5
- Add Arrest Date information to all expungement forms HOT 2
- Remove `#paybalances` links HOT 1
- Typo in "manual" page HOT 1
- Felony reduced to misdemeanor disambiguation
- Clackamas County HOT 4
- Implementing an "Expanded View" HOT 1
- NEW FORMS HOT 13
- NEW FORM PART 2 requests HOT 1
- Fix time analyzer tests HOT 4
- Makefile, Docker Compose, eslint HOT 5
- Broken deploy to staging
- Generate Paperwork button bug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recordexpungpdx.