youyesyet/docs/youyesyet.routes.auto-json.html

3 lines
114 KiB
HTML

<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>youyesyet.routes.auto-json documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Youyesyet</span> <span class="project-version">0.2.2-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="authorisation.html"><div class="inner"><span>Security and authorisation</span></div></a></li><li class="depth-1 "><a href="competitors.html"><div class="inner"><span>Competitor Analysis</span></div></a></li><li class="depth-1 "><a href="database.html"><div class="inner"><span>Database Specification</span></div></a></li><li class="depth-1 "><a href="scaling.html"><div class="inner"><span>YouYesYet: Scaling</span></div></a></li><li class="depth-1 "><a href="userspec.html"><div class="inner"><span>YouYesYet: User-oriented specification</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>youyesyet</span></div></div></li><li class="depth-2 branch"><a href="youyesyet.cache.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>cache</span></div></a></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>canvasser-app</span></div></div></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.ajax.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>ajax</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.gis.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gis</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.handlers.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>handlers</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.state.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>state</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.subscriptions.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>subscriptions</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.canvasser-app.ui-utils.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>ui-utils</span></div></a></li><li class="depth-3"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>views</span></div></div></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.about.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>about</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.building.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>building</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.dwelling.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>dwelling</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.elector.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>elector</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.followup.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>followup</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.gdpr.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>gdpr</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.issue.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>issue</span></div></a></li><li class="depth-4 branch"><a href="youyesyet.canvasser-app.views.issues.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>issues</span></div></a></li><li class="depth-4"><a href="youyesyet.canvasser-app.views.map.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>map</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.config.html"><div class="inner"><span class="tree" style="top: -548px;"><span class="top" style="height: 557px;"></span><span class="bottom"></span></span><span>config</span></div></a></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>db</span></div></div></li><li class="depth-3"><a href="youyesyet.db.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.handler.html"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>handler</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.layout.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>layout</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.locality.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>locality</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.middleware.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>middleware</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.oauth.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>oauth</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.outqueue.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>outqueue</span></div></a></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>routes</span></div></div></li><li class="depth-3 branch"><a href="youyesyet.routes.auto.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>auto</span></div></a></li><li class="depth-3 branch current"><a href="youyesyet.routes.auto-json.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>auto-json</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.home.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>home</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.issue-experts.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>issue-experts</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.logged-in.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>logged-in</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.manual.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>manual</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.oauth.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>oauth</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.rest.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>rest</span></div></a></li><li class="depth-3 branch"><a href="youyesyet.routes.roles.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>roles</span></div></a></li><li class="depth-3"><a href="youyesyet.routes.services.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>services</span></div></a></li><li class="depth-2 branch"><a href="youyesyet.utils.html"><div class="inner"><span class="tree" style="top: -331px;"><span class="top" style="height: 340px;"></span><span class="bottom"></span></span><span>utils</span></div></a></li><li class="depth-2"><a href="youyesyet.validation.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>validation</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-auto-rest-routes"><div class="inner"><span>auto-rest-routes</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-address.21"><div class="inner"><span>create-address!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-authority.21"><div class="inner"><span>create-authority!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-canvasser.21"><div class="inner"><span>create-canvasser!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-district.21"><div class="inner"><span>create-district!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-dwelling.21"><div class="inner"><span>create-dwelling!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-elector.21"><div class="inner"><span>create-elector!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-event.21"><div class="inner"><span>create-event!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-followupaction.21"><div class="inner"><span>create-followupaction!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-followupmethod.21"><div class="inner"><span>create-followupmethod!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-followuprequest.21"><div class="inner"><span>create-followuprequest!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-gender.21"><div class="inner"><span>create-gender!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-intention.21"><div class="inner"><span>create-intention!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-issue.21"><div class="inner"><span>create-issue!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-option.21"><div class="inner"><span>create-option!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-role.21"><div class="inner"><span>create-role!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-team.21"><div class="inner"><span>create-team!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-create-visit.21"><div class="inner"><span>create-visit!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-address.21"><div class="inner"><span>delete-address!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-authority.21"><div class="inner"><span>delete-authority!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-canvasser.21"><div class="inner"><span>delete-canvasser!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-district.21"><div class="inner"><span>delete-district!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-dwelling.21"><div class="inner"><span>delete-dwelling!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-elector.21"><div class="inner"><span>delete-elector!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-event.21"><div class="inner"><span>delete-event!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-followupaction.21"><div class="inner"><span>delete-followupaction!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-followupmethod.21"><div class="inner"><span>delete-followupmethod!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-followuprequest.21"><div class="inner"><span>delete-followuprequest!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-gender.21"><div class="inner"><span>delete-gender!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-intention.21"><div class="inner"><span>delete-intention!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-issue.21"><div class="inner"><span>delete-issue!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-option.21"><div class="inner"><span>delete-option!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-role.21"><div class="inner"><span>delete-role!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-team.21"><div class="inner"><span>delete-team!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-delete-visit.21"><div class="inner"><span>delete-visit!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-address"><div class="inner"><span>get-address</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-authority"><div class="inner"><span>get-authority</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-canvasser"><div class="inner"><span>get-canvasser</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-canvasser-by-username"><div class="inner"><span>get-canvasser-by-username</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-district"><div class="inner"><span>get-district</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-dwelling"><div class="inner"><span>get-dwelling</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-elector"><div class="inner"><span>get-elector</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-event"><div class="inner"><span>get-event</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-followupaction"><div class="inner"><span>get-followupaction</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-followupmethod"><div class="inner"><span>get-followupmethod</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-followuprequest"><div class="inner"><span>get-followuprequest</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-gender"><div class="inner"><span>get-gender</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-intention"><div class="inner"><span>get-intention</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-issue"><div class="inner"><span>get-issue</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-option"><div class="inner"><span>get-option</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-role"><div class="inner"><span>get-role</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-role-by-name"><div class="inner"><span>get-role-by-name</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-team"><div class="inner"><span>get-team</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-get-visit"><div class="inner"><span>get-visit</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-addresses"><div class="inner"><span>list-addresses</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-addresses-by-canvasser"><div class="inner"><span>list-addresses-by-canvasser</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-addresses-by-dwelling"><div class="inner"><span>list-addresses-by-dwelling</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-addresses-by-visit"><div class="inner"><span>list-addresses-by-visit</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-authorities"><div class="inner"><span>list-authorities</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-authorities-by-canvasser"><div class="inner"><span>list-authorities-by-canvasser</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-canvassers"><div class="inner"><span>list-canvassers</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-canvassers-by-followupaction"><div class="inner"><span>list-canvassers-by-followupaction</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-canvassers-by-followuprequest"><div class="inner"><span>list-canvassers-by-followuprequest</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-canvassers-by-issue"><div class="inner"><span>list-canvassers-by-issue</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-canvassers-by-role"><div class="inner"><span>list-canvassers-by-role</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-canvassers-by-visit"><div class="inner"><span>list-canvassers-by-visit</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-districts"><div class="inner"><span>list-districts</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-districts-by-address"><div class="inner"><span>list-districts-by-address</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-districts-by-team"><div class="inner"><span>list-districts-by-team</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-dwellings"><div class="inner"><span>list-dwellings</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-dwellings-by-address"><div class="inner"><span>list-dwellings-by-address</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-dwellings-by-elector"><div class="inner"><span>list-dwellings-by-elector</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-electors"><div class="inner"><span>list-electors</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-electors-by-canvasser"><div class="inner"><span>list-electors-by-canvasser</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-electors-by-dwelling"><div class="inner"><span>list-electors-by-dwelling</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-electors-by-followuprequest"><div class="inner"><span>list-electors-by-followuprequest</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-electors-by-intention"><div class="inner"><span>list-electors-by-intention</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-events"><div class="inner"><span>list-events</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-events-by-team"><div class="inner"><span>list-events-by-team</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-followupactions"><div class="inner"><span>list-followupactions</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-followupactions-by-followuprequest"><div class="inner"><span>list-followupactions-by-followuprequest</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-followupmethods"><div class="inner"><span>list-followupmethods</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-followupmethods-by-followuprequest"><div class="inner"><span>list-followupmethods-by-followuprequest</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-followuprequests"><div class="inner"><span>list-followuprequests</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-followuprequests-by-followupaction"><div class="inner"><span>list-followuprequests-by-followupaction</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-genders"><div class="inner"><span>list-genders</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-genders-by-elector"><div class="inner"><span>list-genders-by-elector</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-intentions"><div class="inner"><span>list-intentions</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-issues"><div class="inner"><span>list-issues</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-issues-by-canvasser"><div class="inner"><span>list-issues-by-canvasser</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-issues-by-followuprequest"><div class="inner"><span>list-issues-by-followuprequest</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-members-by-team"><div class="inner"><span>list-members-by-team</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-options"><div class="inner"><span>list-options</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-options-by-intention"><div class="inner"><span>list-options-by-intention</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-organisers-by-team"><div class="inner"><span>list-organisers-by-team</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-roles"><div class="inner"><span>list-roles</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-roles-by-canvasser"><div class="inner"><span>list-roles-by-canvasser</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-teams"><div class="inner"><span>list-teams</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-teams-by-canvasser"><div class="inner"><span>list-teams-by-canvasser</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-teams-by-event"><div class="inner"><span>list-teams-by-event</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-visits"><div class="inner"><span>list-visits</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-visits-by-followuprequest"><div class="inner"><span>list-visits-by-followuprequest</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-list-visits-by-intention"><div class="inner"><span>list-visits-by-intention</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-addresses"><div class="inner"><span>search-strings-addresses</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-authorities"><div class="inner"><span>search-strings-authorities</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-canvassers"><div class="inner"><span>search-strings-canvassers</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-districts"><div class="inner"><span>search-strings-districts</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-dwellings"><div class="inner"><span>search-strings-dwellings</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-electors"><div class="inner"><span>search-strings-electors</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-events"><div class="inner"><span>search-strings-events</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-followupactions"><div class="inner"><span>search-strings-followupactions</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-followupmethods"><div class="inner"><span>search-strings-followupmethods</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-followuprequests"><div class="inner"><span>search-strings-followuprequests</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-genders"><div class="inner"><span>search-strings-genders</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-intentions"><div class="inner"><span>search-strings-intentions</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-issues"><div class="inner"><span>search-strings-issues</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-options"><div class="inner"><span>search-strings-options</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-roles"><div class="inner"><span>search-strings-roles</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-teams"><div class="inner"><span>search-strings-teams</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-search-strings-visits"><div class="inner"><span>search-strings-visits</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-address.21"><div class="inner"><span>update-address!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-authority.21"><div class="inner"><span>update-authority!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-canvasser.21"><div class="inner"><span>update-canvasser!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-district.21"><div class="inner"><span>update-district!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-dwelling.21"><div class="inner"><span>update-dwelling!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-elector.21"><div class="inner"><span>update-elector!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-event.21"><div class="inner"><span>update-event!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-followupaction.21"><div class="inner"><span>update-followupaction!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-followupmethod.21"><div class="inner"><span>update-followupmethod!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-followuprequest.21"><div class="inner"><span>update-followuprequest!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-gender.21"><div class="inner"><span>update-gender!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-intention.21"><div class="inner"><span>update-intention!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-issue.21"><div class="inner"><span>update-issue!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-option.21"><div class="inner"><span>update-option!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-role.21"><div class="inner"><span>update-role!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-team.21"><div class="inner"><span>update-team!</span></div></a></li><li class="depth-1"><a href="youyesyet.routes.auto-json.html#var-update-visit.21"><div class="inner"><span>update-visit!</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">youyesyet.routes.auto-json</h1><div class="doc"><div class="markdown"><p>JSON routes for youyesyet auto-generated by <a href="https://github.com/simon-brooke/adl">Application Description Language framework</a> at 20190502T102202.387Z</p></div></div><div class="public anchor" id="var-auto-rest-routes"><h3>auto-rest-routes</h3><div class="usage"></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1876">view source</a></div></div><div class="public anchor" id="var-create-address.21"><h3>create-address!</h3><div class="usage"><code>(create-address! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>addresses</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:address :postcode :district_id :latitude :longitude)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L18">view source</a></div></div><div class="public anchor" id="var-create-authority.21"><h3>create-authority!</h3><div class="usage"><code>(create-authority! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>authorities</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:request-token-uri :access-token-uri :authorize-uri :consumer-key :consumer-secret :id)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L39">view source</a></div></div><div class="public anchor" id="var-create-canvasser.21"><h3>create-canvasser!</h3><div class="usage"><code>(create-canvasser! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>canvassers</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:username :fullname :avatar :bio :elector_id :address_id :phone :email :authority_id :authorised)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L53">view source</a></div></div><div class="public anchor" id="var-create-district.21"><h3>create-district!</h3><div class="usage"><code>(create-district! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>districts</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:name)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L78">view source</a></div></div><div class="public anchor" id="var-create-dwelling.21"><h3>create-dwelling!</h3><div class="usage"><code>(create-dwelling! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>dwellings</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:address_id :sub-address)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L91">view source</a></div></div><div class="public anchor" id="var-create-elector.21"><h3>create-elector!</h3><div class="usage"><code>(create-elector! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>electors</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:name :dwelling_id :phone :email :gender :signature)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 100000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L105">view source</a></div></div><div class="public anchor" id="var-create-event.21"><h3>create-event!</h3><div class="usage"><code>(create-event! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>events</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:name :date :time :decription :cancelled)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L121">view source</a></div></div><div class="public anchor" id="var-create-followupaction.21"><h3>create-followupaction!</h3><div class="usage"><code>(create-followupaction! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>followupactions</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:request_id :actor :date :notes :closed)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L141">view source</a></div></div><div class="public anchor" id="var-create-followupmethod.21"><h3>create-followupmethod!</h3><div class="usage"><code>(create-followupmethod! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>followupmethods</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:id)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L157">view source</a></div></div><div class="public anchor" id="var-create-followuprequest.21"><h3>create-followuprequest!</h3><div class="usage"><code>(create-followuprequest! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>followuprequests</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:elector_id :visit_id :issue_id :issue_detail :method_id :method_detail :locked_by :locked)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L170">view source</a></div></div><div class="public anchor" id="var-create-gender.21"><h3>create-gender!</h3><div class="usage"><code>(create-gender! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>genders</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:id)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L188">view source</a></div></div><div class="public anchor" id="var-create-intention.21"><h3>create-intention!</h3><div class="usage"><code>(create-intention! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>intentions</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:visit_id :elector_id :option_id :locality)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L201">view source</a></div></div><div class="public anchor" id="var-create-issue.21"><h3>create-issue!</h3><div class="usage"><code>(create-issue! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>issues</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:url :current :brief :id)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 1000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L214">view source</a></div></div><div class="public anchor" id="var-create-option.21"><h3>create-option!</h3><div class="usage"><code>(create-option! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>options</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:id)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L230">view source</a></div></div><div class="public anchor" id="var-create-role.21"><h3>create-role!</h3><div class="usage"><code>(create-role! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>roles</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:name :id)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L243">view source</a></div></div><div class="public anchor" id="var-create-team.21"><h3>create-team!</h3><div class="usage"><code>(create-team! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>teams</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:name :district_id :latitude :longitude)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L256">view source</a></div></div><div class="public anchor" id="var-create-visit.21"><h3>create-visit!</h3><div class="usage"><code>(create-visit! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to insert one record to the <code>visits</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:address_id :canvasser_id :date)</code>. Returns a map containing the keys <code>#{"id"}</code> identifying the record created. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L277">view source</a></div></div><div class="public anchor" id="var-delete-address.21"><h3>delete-address!</h3><div class="usage"><code>(delete-address! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>addresses</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L290">view source</a></div></div><div class="public anchor" id="var-delete-authority.21"><h3>delete-authority!</h3><div class="usage"><code>(delete-authority! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>authorities</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L311">view source</a></div></div><div class="public anchor" id="var-delete-canvasser.21"><h3>delete-canvasser!</h3><div class="usage"><code>(delete-canvasser! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>canvassers</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L324">view source</a></div></div><div class="public anchor" id="var-delete-district.21"><h3>delete-district!</h3><div class="usage"><code>(delete-district! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>districts</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L349">view source</a></div></div><div class="public anchor" id="var-delete-dwelling.21"><h3>delete-dwelling!</h3><div class="usage"><code>(delete-dwelling! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>dwellings</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L362">view source</a></div></div><div class="public anchor" id="var-delete-elector.21"><h3>delete-elector!</h3><div class="usage"><code>(delete-elector! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>electors</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 100000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L376">view source</a></div></div><div class="public anchor" id="var-delete-event.21"><h3>delete-event!</h3><div class="usage"><code>(delete-event! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>events</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L392">view source</a></div></div><div class="public anchor" id="var-delete-followupaction.21"><h3>delete-followupaction!</h3><div class="usage"><code>(delete-followupaction! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>followupactions</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L412">view source</a></div></div><div class="public anchor" id="var-delete-followupmethod.21"><h3>delete-followupmethod!</h3><div class="usage"><code>(delete-followupmethod! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>followupmethods</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L428">view source</a></div></div><div class="public anchor" id="var-delete-followuprequest.21"><h3>delete-followuprequest!</h3><div class="usage"><code>(delete-followuprequest! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>followuprequests</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L441">view source</a></div></div><div class="public anchor" id="var-delete-gender.21"><h3>delete-gender!</h3><div class="usage"><code>(delete-gender! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>genders</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L459">view source</a></div></div><div class="public anchor" id="var-delete-intention.21"><h3>delete-intention!</h3><div class="usage"><code>(delete-intention! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>intentions</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L472">view source</a></div></div><div class="public anchor" id="var-delete-issue.21"><h3>delete-issue!</h3><div class="usage"><code>(delete-issue! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>issues</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 1000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L485">view source</a></div></div><div class="public anchor" id="var-delete-option.21"><h3>delete-option!</h3><div class="usage"><code>(delete-option! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>options</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L501">view source</a></div></div><div class="public anchor" id="var-delete-role.21"><h3>delete-role!</h3><div class="usage"><code>(delete-role! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>roles</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L514">view source</a></div></div><div class="public anchor" id="var-delete-team.21"><h3>delete-team!</h3><div class="usage"><code>(delete-team! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>teams</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L527">view source</a></div></div><div class="public anchor" id="var-delete-visit.21"><h3>delete-visit!</h3><div class="usage"><code>(delete-visit! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to delete one record from the <code>visits</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L548">view source</a></div></div><div class="public anchor" id="var-get-address"><h3>get-address</h3><div class="usage"><code>(get-address request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>addresses</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@490531d1</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L561">view source</a></div></div><div class="public anchor" id="var-get-authority"><h3>get-authority</h3><div class="usage"><code>(get-authority request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>authorities</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@352cf516</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L582">view source</a></div></div><div class="public anchor" id="var-get-canvasser"><h3>get-canvasser</h3><div class="usage"><code>(get-canvasser request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>canvassers</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@771caed2</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L595">view source</a></div></div><div class="public anchor" id="var-get-canvasser-by-username"><h3>get-canvasser-by-username</h3><div class="usage"><code>(get-canvasser-by-username request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>canvassers</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@771caed2</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L620">view source</a></div></div><div class="public anchor" id="var-get-district"><h3>get-district</h3><div class="usage"><code>(get-district request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>districts</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@1c48b9f5</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L647">view source</a></div></div><div class="public anchor" id="var-get-dwelling"><h3>get-dwelling</h3><div class="usage"><code>(get-dwelling request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>dwellings</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@f0e6e3d6</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L660">view source</a></div></div><div class="public anchor" id="var-get-elector"><h3>get-elector</h3><div class="usage"><code>(get-elector request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>electors</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@c7611432</code>. Results will be held in cache for 100000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L674">view source</a></div></div><div class="public anchor" id="var-get-event"><h3>get-event</h3><div class="usage"><code>(get-event request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>events</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@3ac90901</code>. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L690">view source</a></div></div><div class="public anchor" id="var-get-followupaction"><h3>get-followupaction</h3><div class="usage"><code>(get-followupaction request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>followupactions</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@6b32af0e</code>. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L710">view source</a></div></div><div class="public anchor" id="var-get-followupmethod"><h3>get-followupmethod</h3><div class="usage"><code>(get-followupmethod request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>followupmethods</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@3c72487c</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L726">view source</a></div></div><div class="public anchor" id="var-get-followuprequest"><h3>get-followuprequest</h3><div class="usage"><code>(get-followuprequest request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>followuprequests</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@ae10eaf</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L739">view source</a></div></div><div class="public anchor" id="var-get-gender"><h3>get-gender</h3><div class="usage"><code>(get-gender request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>genders</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@3c72487c</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L755">view source</a></div></div><div class="public anchor" id="var-get-intention"><h3>get-intention</h3><div class="usage"><code>(get-intention request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>intentions</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@27b31781</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L768">view source</a></div></div><div class="public anchor" id="var-get-issue"><h3>get-issue</h3><div class="usage"><code>(get-issue request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>issues</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@606826e4</code>. Results will be held in cache for 1000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L781">view source</a></div></div><div class="public anchor" id="var-get-option"><h3>get-option</h3><div class="usage"><code>(get-option request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>options</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@3c72487c</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L797">view source</a></div></div><div class="public anchor" id="var-get-role"><h3>get-role</h3><div class="usage"><code>(get-role request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>roles</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@a81570c6</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L810">view source</a></div></div><div class="public anchor" id="var-get-role-by-name"><h3>get-role-by-name</h3><div class="usage"><code>(get-role-by-name request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>roles</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@a81570c6</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L823">view source</a></div></div><div class="public anchor" id="var-get-team"><h3>get-team</h3><div class="usage"><code>(get-team request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>teams</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@31118d64</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L836">view source</a></div></div><div class="public anchor" id="var-get-visit"><h3>get-visit</h3><div class="usage"><code>(get-visit request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select one record from the <code>visits</code> table. Expects the following key(s) to be present in <code>params</code>: <code>#{"id"}</code>. Returns a map containing the following keys: <code>clojure.lang.LazySeq@a7611ce6</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L857">view source</a></div></div><div class="public anchor" id="var-list-addresses"><h3>list-addresses</h3><div class="usage"><code>(list-addresses request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>addresses</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:address :postcode :district_id :latitude :longitude :dwellings :locality :id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L870">view source</a></div></div><div class="public anchor" id="var-list-addresses-by-canvasser"><h3>list-addresses-by-canvasser</h3><div class="usage"><code>(list-addresses-by-canvasser {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L891">view source</a></div></div><div class="public anchor" id="var-list-addresses-by-dwelling"><h3>list-addresses-by-dwelling</h3><div class="usage"><code>(list-addresses-by-dwelling {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L896">view source</a></div></div><div class="public anchor" id="var-list-addresses-by-visit"><h3>list-addresses-by-visit</h3><div class="usage"><code>(list-addresses-by-visit {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L901">view source</a></div></div><div class="public anchor" id="var-list-authorities"><h3>list-authorities</h3><div class="usage"><code>(list-authorities request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>authorities</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:request-token-uri :access-token-uri :authorize-uri :consumer-key :consumer-secret :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L906">view source</a></div></div><div class="public anchor" id="var-list-authorities-by-canvasser"><h3>list-authorities-by-canvasser</h3><div class="usage"><code>(list-authorities-by-canvasser {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L919">view source</a></div></div><div class="public anchor" id="var-list-canvassers"><h3>list-canvassers</h3><div class="usage"><code>(list-canvassers request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>canvassers</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:username :fullname :avatar :bio :elector_id :address_id :phone :email :authority_id :authorised :roles :expertise :teams :id)</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L924">view source</a></div></div><div class="public anchor" id="var-list-canvassers-by-followupaction"><h3>list-canvassers-by-followupaction</h3><div class="usage"><code>(list-canvassers-by-followupaction {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L949">view source</a></div></div><div class="public anchor" id="var-list-canvassers-by-followuprequest"><h3>list-canvassers-by-followuprequest</h3><div class="usage"><code>(list-canvassers-by-followuprequest {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L954">view source</a></div></div><div class="public anchor" id="var-list-canvassers-by-issue"><h3>list-canvassers-by-issue</h3><div class="usage"><code>(list-canvassers-by-issue {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L959">view source</a></div></div><div class="public anchor" id="var-list-canvassers-by-role"><h3>list-canvassers-by-role</h3><div class="usage"><code>(list-canvassers-by-role {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L964">view source</a></div></div><div class="public anchor" id="var-list-canvassers-by-visit"><h3>list-canvassers-by-visit</h3><div class="usage"><code>(list-canvassers-by-visit {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L969">view source</a></div></div><div class="public anchor" id="var-list-districts"><h3>list-districts</h3><div class="usage"><code>(list-districts request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>districts</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:name :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L974">view source</a></div></div><div class="public anchor" id="var-list-districts-by-address"><h3>list-districts-by-address</h3><div class="usage"><code>(list-districts-by-address {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L987">view source</a></div></div><div class="public anchor" id="var-list-districts-by-team"><h3>list-districts-by-team</h3><div class="usage"><code>(list-districts-by-team {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L992">view source</a></div></div><div class="public anchor" id="var-list-dwellings"><h3>list-dwellings</h3><div class="usage"><code>(list-dwellings request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>dwellings</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:address_id :sub-address :electors :id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L997">view source</a></div></div><div class="public anchor" id="var-list-dwellings-by-address"><h3>list-dwellings-by-address</h3><div class="usage"><code>(list-dwellings-by-address {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1011">view source</a></div></div><div class="public anchor" id="var-list-dwellings-by-elector"><h3>list-dwellings-by-elector</h3><div class="usage"><code>(list-dwellings-by-elector {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1016">view source</a></div></div><div class="public anchor" id="var-list-electors"><h3>list-electors</h3><div class="usage"><code>(list-electors request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>electors</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:name :dwelling_id :phone :email :gender :signature :id)</code>. Results will be held in cache for 100000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1021">view source</a></div></div><div class="public anchor" id="var-list-electors-by-canvasser"><h3>list-electors-by-canvasser</h3><div class="usage"><code>(list-electors-by-canvasser {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1037">view source</a></div></div><div class="public anchor" id="var-list-electors-by-dwelling"><h3>list-electors-by-dwelling</h3><div class="usage"><code>(list-electors-by-dwelling {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1042">view source</a></div></div><div class="public anchor" id="var-list-electors-by-followuprequest"><h3>list-electors-by-followuprequest</h3><div class="usage"><code>(list-electors-by-followuprequest {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1047">view source</a></div></div><div class="public anchor" id="var-list-electors-by-intention"><h3>list-electors-by-intention</h3><div class="usage"><code>(list-electors-by-intention {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1052">view source</a></div></div><div class="public anchor" id="var-list-events"><h3>list-events</h3><div class="usage"><code>(list-events request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>events</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:name :teams :date :time :decription :cancelled :id)</code>. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1057">view source</a></div></div><div class="public anchor" id="var-list-events-by-team"><h3>list-events-by-team</h3><div class="usage"><code>(list-events-by-team {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1077">view source</a></div></div><div class="public anchor" id="var-list-followupactions"><h3>list-followupactions</h3><div class="usage"><code>(list-followupactions request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>followupactions</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:request_id :actor :date :notes :closed :id)</code>. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1082">view source</a></div></div><div class="public anchor" id="var-list-followupactions-by-followuprequest"><h3>list-followupactions-by-followuprequest</h3><div class="usage"><code>(list-followupactions-by-followuprequest {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1098">view source</a></div></div><div class="public anchor" id="var-list-followupmethods"><h3>list-followupmethods</h3><div class="usage"><code>(list-followupmethods request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>followupmethods</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1103">view source</a></div></div><div class="public anchor" id="var-list-followupmethods-by-followuprequest"><h3>list-followupmethods-by-followuprequest</h3><div class="usage"><code>(list-followupmethods-by-followuprequest {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1118">view source</a></div></div><div class="public anchor" id="var-list-followuprequests"><h3>list-followuprequests</h3><div class="usage"><code>(list-followuprequests request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>followuprequests</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:elector_id :visit_id :issue_id :issue_detail :method_id :method_detail :locked_by :locked :actions :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1123">view source</a></div></div><div class="public anchor" id="var-list-followuprequests-by-followupaction"><h3>list-followuprequests-by-followupaction</h3><div class="usage"><code>(list-followuprequests-by-followupaction {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1141">view source</a></div></div><div class="public anchor" id="var-list-genders"><h3>list-genders</h3><div class="usage"><code>(list-genders request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>genders</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1146">view source</a></div></div><div class="public anchor" id="var-list-genders-by-elector"><h3>list-genders-by-elector</h3><div class="usage"><code>(list-genders-by-elector {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1159">view source</a></div></div><div class="public anchor" id="var-list-intentions"><h3>list-intentions</h3><div class="usage"><code>(list-intentions request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>intentions</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:visit_id :elector_id :option_id :locality :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1164">view source</a></div></div><div class="public anchor" id="var-list-issues"><h3>list-issues</h3><div class="usage"><code>(list-issues request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>issues</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:url :current :brief :experts :id)</code>. Results will be held in cache for 1000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1177">view source</a></div></div><div class="public anchor" id="var-list-issues-by-canvasser"><h3>list-issues-by-canvasser</h3><div class="usage"><code>(list-issues-by-canvasser {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1193">view source</a></div></div><div class="public anchor" id="var-list-issues-by-followuprequest"><h3>list-issues-by-followuprequest</h3><div class="usage"><code>(list-issues-by-followuprequest {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1198">view source</a></div></div><div class="public anchor" id="var-list-members-by-team"><h3>list-members-by-team</h3><div class="usage"><code>(list-members-by-team {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1203">view source</a></div></div><div class="public anchor" id="var-list-options"><h3>list-options</h3><div class="usage"><code>(list-options request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>options</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1208">view source</a></div></div><div class="public anchor" id="var-list-options-by-intention"><h3>list-options-by-intention</h3><div class="usage"><code>(list-options-by-intention {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1221">view source</a></div></div><div class="public anchor" id="var-list-organisers-by-team"><h3>list-organisers-by-team</h3><div class="usage"><code>(list-organisers-by-team {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1226">view source</a></div></div><div class="public anchor" id="var-list-roles"><h3>list-roles</h3><div class="usage"><code>(list-roles request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>roles</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:name :members :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1231">view source</a></div></div><div class="public anchor" id="var-list-roles-by-canvasser"><h3>list-roles-by-canvasser</h3><div class="usage"><code>(list-roles-by-canvasser {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1244">view source</a></div></div><div class="public anchor" id="var-list-teams"><h3>list-teams</h3><div class="usage"><code>(list-teams request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>teams</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:name :district_id :latitude :longitude :members :organisers :events :id)</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1249">view source</a></div></div><div class="public anchor" id="var-list-teams-by-canvasser"><h3>list-teams-by-canvasser</h3><div class="usage"><code>(list-teams-by-canvasser {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1270">view source</a></div></div><div class="public anchor" id="var-list-teams-by-event"><h3>list-teams-by-event</h3><div class="usage"><code>(list-teams-by-event {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1275">view source</a></div></div><div class="public anchor" id="var-list-visits"><h3>list-visits</h3><div class="usage"><code>(list-visits request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>visits</code> table. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:address_id :canvasser_id :date :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1280">view source</a></div></div><div class="public anchor" id="var-list-visits-by-followuprequest"><h3>list-visits-by-followuprequest</h3><div class="usage"><code>(list-visits-by-followuprequest {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1293">view source</a></div></div><div class="public anchor" id="var-list-visits-by-intention"><h3>list-visits-by-intention</h3><div class="usage"><code>(list-visits-by-intention {:keys [params]})</code></div><div class="doc"><div class="markdown"><p><strong>TODO</strong>: write docs</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1298">view source</a></div></div><div class="public anchor" id="var-search-strings-addresses"><h3>search-strings-addresses</h3><div class="usage"><code>(search-strings-addresses request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>addresses</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:address :postcode :district_id :latitude :longitude :dwellings :locality :id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1303">view source</a></div></div><div class="public anchor" id="var-search-strings-authorities"><h3>search-strings-authorities</h3><div class="usage"><code>(search-strings-authorities request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>authorities</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:request-token-uri :access-token-uri :authorize-uri :consumer-key :consumer-secret :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1326">view source</a></div></div><div class="public anchor" id="var-search-strings-canvassers"><h3>search-strings-canvassers</h3><div class="usage"><code>(search-strings-canvassers request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>canvassers</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:username :fullname :avatar :bio :elector_id :address_id :phone :email :authority_id :authorised :roles :expertise :teams :id)</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1341">view source</a></div></div><div class="public anchor" id="var-search-strings-districts"><h3>search-strings-districts</h3><div class="usage"><code>(search-strings-districts request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>districts</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:name :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1368">view source</a></div></div><div class="public anchor" id="var-search-strings-dwellings"><h3>search-strings-dwellings</h3><div class="usage"><code>(search-strings-dwellings request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>dwellings</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:address_id :sub-address :electors :id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1383">view source</a></div></div><div class="public anchor" id="var-search-strings-electors"><h3>search-strings-electors</h3><div class="usage"><code>(search-strings-electors request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>electors</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:name :dwelling_id :phone :email :gender :signature :id)</code>. Results will be held in cache for 100000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1399">view source</a></div></div><div class="public anchor" id="var-search-strings-events"><h3>search-strings-events</h3><div class="usage"><code>(search-strings-events request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>events</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:name :teams :date :time :decription :cancelled :id)</code>. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1417">view source</a></div></div><div class="public anchor" id="var-search-strings-followupactions"><h3>search-strings-followupactions</h3><div class="usage"><code>(search-strings-followupactions request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>followupactions</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:request_id :actor :date :notes :closed :id)</code>. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1437">view source</a></div></div><div class="public anchor" id="var-search-strings-followupmethods"><h3>search-strings-followupmethods</h3><div class="usage"><code>(search-strings-followupmethods request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>followupmethods</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1455">view source</a></div></div><div class="public anchor" id="var-search-strings-followuprequests"><h3>search-strings-followuprequests</h3><div class="usage"><code>(search-strings-followuprequests request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>followuprequests</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:elector_id :visit_id :issue_id :issue_detail :method_id :method_detail :locked_by :locked :actions :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1470">view source</a></div></div><div class="public anchor" id="var-search-strings-genders"><h3>search-strings-genders</h3><div class="usage"><code>(search-strings-genders request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>genders</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1488">view source</a></div></div><div class="public anchor" id="var-search-strings-intentions"><h3>search-strings-intentions</h3><div class="usage"><code>(search-strings-intentions request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>intentions</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:visit_id :elector_id :option_id :locality :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1503">view source</a></div></div><div class="public anchor" id="var-search-strings-issues"><h3>search-strings-issues</h3><div class="usage"><code>(search-strings-issues request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>issues</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:url :current :brief :experts :id)</code>. Results will be held in cache for 1000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1518">view source</a></div></div><div class="public anchor" id="var-search-strings-options"><h3>search-strings-options</h3><div class="usage"><code>(search-strings-options request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>options</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1536">view source</a></div></div><div class="public anchor" id="var-search-strings-roles"><h3>search-strings-roles</h3><div class="usage"><code>(search-strings-roles request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>roles</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:name :members :id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1551">view source</a></div></div><div class="public anchor" id="var-search-strings-teams"><h3>search-strings-teams</h3><div class="usage"><code>(search-strings-teams request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>teams</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:name :district_id :latitude :longitude :members :organisers :events :id)</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1566">view source</a></div></div><div class="public anchor" id="var-search-strings-visits"><h3>search-strings-visits</h3><div class="usage"><code>(search-strings-visits request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to select all records from the <code>visits</code> table with any text field matching the value of the key <code>:pattern</code> which should be in the request. If the keys <code>(:limit :offset)</code> are present in the request then they will be used to page through the data. Returns a sequence of maps each containing the following keys: <code>(:address_id :canvasser_id :date :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1589">view source</a></div></div><div class="public anchor" id="var-update-address.21"><h3>update-address!</h3><div class="usage"><code>(update-address! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>addresses</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:address :district_id :id :latitude :longitude :postcode)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1604">view source</a></div></div><div class="public anchor" id="var-update-authority.21"><h3>update-authority!</h3><div class="usage"><code>(update-authority! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>authorities</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:access-token-uri :authorize-uri :consumer-key :consumer-secret :id :request-token-uri)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1625">view source</a></div></div><div class="public anchor" id="var-update-canvasser.21"><h3>update-canvasser!</h3><div class="usage"><code>(update-canvasser! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>canvassers</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:address_id :authorised :authority_id :avatar :bio :elector_id :email :fullname :id :phone :username)</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1639">view source</a></div></div><div class="public anchor" id="var-update-district.21"><h3>update-district!</h3><div class="usage"><code>(update-district! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>districts</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:id :name)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1664">view source</a></div></div><div class="public anchor" id="var-update-dwelling.21"><h3>update-dwelling!</h3><div class="usage"><code>(update-dwelling! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>dwellings</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:address_id :id :sub-address)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1677">view source</a></div></div><div class="public anchor" id="var-update-elector.21"><h3>update-elector!</h3><div class="usage"><code>(update-elector! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>electors</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:dwelling_id :email :gender :id :name :phone :signature)</code>. Results will be held in cache for 100000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1691">view source</a></div></div><div class="public anchor" id="var-update-event.21"><h3>update-event!</h3><div class="usage"><code>(update-event! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>events</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:cancelled :date :decription :id :name :time)</code>. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1707">view source</a></div></div><div class="public anchor" id="var-update-followupaction.21"><h3>update-followupaction!</h3><div class="usage"><code>(update-followupaction! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>followupactions</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:actor :closed :date :id :notes :request_id)</code>. </p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1727">view source</a></div></div><div class="public anchor" id="var-update-followupmethod.21"><h3>update-followupmethod!</h3><div class="usage"><code>(update-followupmethod! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>followupmethods</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1743">view source</a></div></div><div class="public anchor" id="var-update-followuprequest.21"><h3>update-followuprequest!</h3><div class="usage"><code>(update-followuprequest! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>followuprequests</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:elector_id :id :issue_detail :issue_id :locked :locked_by :method_detail :method_id :visit_id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1756">view source</a></div></div><div class="public anchor" id="var-update-gender.21"><h3>update-gender!</h3><div class="usage"><code>(update-gender! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>genders</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:id)</code>. Results will be held in cache for 1000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1774">view source</a></div></div><div class="public anchor" id="var-update-intention.21"><h3>update-intention!</h3><div class="usage"><code>(update-intention! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>intentions</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:elector_id :id :locality :option_id :visit_id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1787">view source</a></div></div><div class="public anchor" id="var-update-issue.21"><h3>update-issue!</h3><div class="usage"><code>(update-issue! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>issues</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:brief :current :id :url)</code>. Results will be held in cache for 1000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1800">view source</a></div></div><div class="public anchor" id="var-update-option.21"><h3>update-option!</h3><div class="usage"><code>(update-option! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>options</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:id)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1816">view source</a></div></div><div class="public anchor" id="var-update-role.21"><h3>update-role!</h3><div class="usage"><code>(update-role! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>roles</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:id :name)</code>. Results will be held in cache for 10000000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1829">view source</a></div></div><div class="public anchor" id="var-update-team.21"><h3>update-team!</h3><div class="usage"><code>(update-team! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>teams</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:district_id :id :latitude :longitude :name)</code>. Results will be held in cache for 10000 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1842">view source</a></div></div><div class="public anchor" id="var-update-visit.21"><h3>update-visit!</h3><div class="usage"><code>(update-visit! request)</code></div><div class="doc"><div class="markdown"><p>Auto-generated function to update one record in the <code>visits</code> table. Expects the following key(s) to be present in <code>params</code>: <code>(:address_id :canvasser_id :date :id)</code>. Results will be held in cache for 100 seconds.</p></div></div><div class="src-link"><a href="https://github.com/simon-brooke/youyesyet/blob/master/src/clj/youyesyet/routes/auto_json.clj#L1863">view source</a></div></div></div></body></html>