Inherit from WSGIWrapper implement the base API method. Should be inherited to create your own API
The root url of your ressources. Should present a list of ressources if method is GET. Should create a ressource if method is POST :param request: :type request: werkzeug.wrappers.Request if self.auth is set call authentication.Authentication.check_auth()
| Returns: | ApiController.get_list() if request.method is GET, ApiController.create() if request.method is POST |
|---|
invoke the Pagination class if the optional pagination has been set. return the objects from the datastore using datastore.get_list :param request: :type request: werkzeug.wrappers.Request
On the base implemetation only return self.paginate(request). Placeholder for pre pagination stuff.
| Parameters: | request (werkzeug.wrappers.Request) – |
|---|
Retreive a unique object with his URI. Act on it accordingly to the Http verb used.
| Parameters: | request (werkzeug.wrappers.Request) – |
|---|
Return an object or 404
| Parameters: | request (werkzeug.wrappers.Request) – |
|---|
Try to load the data received from json to python, format each field if a formater has been set and call the datastore for saving operation. Validation will be done on the datastore side
If creation is successfull, add the location the the headers of the response and render a 201 response with an empty body
| Parameters: | request (werkzeug.wrappers.Request) – |
|---|
Controller configure the application. Set all configuration options and parameters on the Controller, the View and the Ressource
| Parameters: | urls (list) – A list of tuple in the form (url(string), view(string), permitted Http verbs(list)) |
|---|
return a werkzeug.routing.Map
this method is automaticaly called by __init__ to build the Controller urls mapping
Make options enable Pagination, Authentication, Authorization, RateLimit and all other options an application need.
Base Wsgi application loader. WSGIWrapper is an abstract class. Herited by ApiController it make the class callable and implement the request/response process
instanciate a Request object, dispatch to the needed method, return a response
Using the werkzeug.routing.Map constructed by load_urls() call the view method with the request object and return the response object.
Auto generate a documentation endpoint for each endpoints registered.
Generate the schema url of each endpoints


{% load static %}
Reset password
Your password has been set. You may go ahead and log in now.
Log in


About Me
I received my Bachelor of Science in Physics with a minor in Astronomy at Western Washington University, where I was awarded both the Western Undergraduate Exchange Scholarship and the Dr. James and Joann Albers Scholarship. At WWU, I worked with Dr. James R. A. Davenport as an undergraduate researcher on a project that was recognized with an Outstanding Poster Award by the WWU Scholar's Week 2017 organizers. I also worked as a laboratory assistant for 3 years and as a faculty assistant for Dr. Melissa Rice for 1 year.
My research interests include age-activity-rotation studies of widely separated binary stars and modelling quasi-periodic pulsations in stellar flares using Gaussian processes. I am excited to evolve and expand these interests in the era of JWST and TESS.
I originally hail from the icy northern clime of Fairbanks, AK, but currently live in the slightly less icy Bellingham, WA.


Type in at least 2 characters in the first box and wait a while ;) Also try changing the "Name" to "Surname" :)
Name
Surname
Name
Multiple Names
Static List