Giter VIP home page Giter VIP logo

Comments (3)

erikjasso avatar erikjasso commented on June 1, 2024

See src/backend/expungeservice/endpoints/hello.py for an example of a Flask endpoint

from recordexpungpdx.

maxkwallace avatar maxkwallace commented on June 1, 2024

@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.

wittejm avatar wittejm commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.