Ticket #1031 (new enhancement) — at Initial Version
User lookup API
Reported by: | rgrp | Owned by: | johnlawrenceaspden |
---|---|---|---|
Priority: | critical | Milestone: | ckan-v1.4-sprint-4 |
Component: | ckan | Keywords: | api bitesize |
Cc: | Repository: | ||
Theme: |
Description
Add an api for searching users. This is needed for any kind of ajax autocomplete (needed for anywhere we want to add users).
- API location: /api/utils/userlookup?q=querystr&limit=10&offset=0
- Return json objects containing {id: ..., name: ..., fullname: ...}
- Put in a module called controllers/api/user.py
Note: See
TracTickets for help on using
tickets.