Ticket #1031 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 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

comment:1 Changed 3 years ago by johnlawrenceaspden

  • Status changed from new to assigned

comment:2 Changed 3 years ago by rgrp

  • Description modified (diff)

comment:3 Changed 3 years ago by rgrp

  • Description modified (diff)

comment:4 Changed 3 years ago by rgrp

  • Description modified (diff)

comment:5 Changed 3 years ago by rgrp

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Description modified (diff)

Done, see cset:78d96b520679

comment:6 Changed 3 years ago by rgrp

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