Skip to content
Steven Davidovitz edited this page May 13, 2013 · 3 revisions

See:

  # Corresponds to /api/v2/users/search?query="[email protected]"
  # http://developer.zendesk.com/documentation/rest_api/users.html#search-users
  client.users.search(:query => "[email protected]")

  # Corresponds to /api/v2/search?query="type:ticket moon"
  # http://developer.zendesk.com/documentation/rest_api/search.html
  client.search(query: 'type:ticket moon').first

  # Finding by id
  client.tickets.find(id: '24')

Also relevant is the page on client-side caching.

Clone this wiki locally