Any other searches supported besides ?email=xxx on the /users action?
In discussion
locating users via the JSON API rick noted that he had
implemented a a way to search by email on the /users
action ala:
# make sure the email is properly url encoded, of course
GET /users?email=[email blocked]
I tried this and it worked for me. It did make me wonder though what other ?xxx=yyy search options you might have implemented at the same time and are now supporting. Care to divulge that? Thanks!
Discussions are closed to public comments.
If you need help with Tender please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by rick on 11 Dec, 2009 05:55 PM
That's it right now. I was thinking of adding searches for name and state as well. I know the docs are incomplete (I'm working on documenting some new features added in the last couple weeks actually), but the API itself will let you know about query params:
The URI template isn't the easiest to read, but it only mentions page and email parameters.
2 Posted by Chris Markle on 11 Dec, 2009 06:35 PM
Thanks Rick. I'd certainly vote for both of those query options you noted - name and state.
Support Staff 3 Posted by Courtenay on 11 Dec, 2009 08:04 PM
What about company_name as well ;)
4 Posted by rick on 11 Dec, 2009 08:10 PM
Well, you have access to the code base, add it yourself :)
5 Posted by Chris Markle on 11 Dec, 2009 10:59 PM
Rick,
> Well, you have access to the code base, add it yourself :)
I do? I am very very new to Tender so I didn't know that. Where is it hosted?
Chris
6 Posted by Will on 11 Dec, 2009 11:00 PM
Heh...
cmarkle -- he was talking to Courtenay as far as access to the codebase goes.
7 Posted by rick on 11 Dec, 2009 11:08 PM
Hah, sorry that was unclear. That was just some inner company elbow
nudging. We're definitely not in the habit of telling our customers
to fix the bug themselves, RTFM, etc.
I have a dev ticket open for this now.
Support Staff 8 Posted by Courtenay on 12 Dec, 2009 01:43 AM
Yeah sorry, we have a lot of fun building Tender. Sometimes that
spills over into customer service.