Ticket #1031 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

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 (last modified by rgrp) (diff)

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/util/user/lookup?q=querystr&limit=10
  • Return json objects containing {id: ..., name: ..., fullname: ...}
  • Put in a module called controllers/apiv2/user.py

Change History

Changed 2 years ago by johnlawrenceaspden

  • status changed from new to assigned

Changed 2 years ago by rgrp

  • description modified (diff)

Changed 2 years ago by rgrp

  • description modified (diff)

Changed 2 years ago by rgrp

  • description modified (diff)

Changed 2 years ago by rgrp

  • status changed from assigned to closed
  • resolution set to fixed
  • description modified (diff)

Done, see cset:78d96b520679

Changed 2 years ago by rgrp

  • description modified (diff)
Note: See TracTickets for help on using tickets.