User REST Callback

From Sni.ps Documentation

Jump to: navigation, search
   The functionality specified for the User Callback is documented but not yet implemented.


REST Callbacks

user

Returns a list of all snips users.

Optional Arguments

name

A name or partial name that you would like to use to look up users.

Default: null

Example: name=cuteybunny69

Example: name=s - All users whose name begins with the letter s

email

An email or partial email that you would like to use to look up users.

Default: null

Example: email=alice%40example.com

Example: email=r - All users whose email begins with the letter r

openid

An openid or partial openid that you would like to use to look up users.

Default: null

Example: openid=https%3A%2F%2Fme.yahoo.com%2Fbob

Example: openid=https%3A%2F%2Fme.yahoo.com%2F - All users whose openid begin with http://me.yahoo.com/

sort

The order in which the snips will be return.

Default: asc

Options: asc and desc

Example: sort=desc

limit

The maximum number of users to return per page.

Default: 20

Maximum: 100

Example: limit=5

page

For result lists that have multiple pages worth of results, used to determine which page of results you would like returned.

Default: 1

Example: page=8

Personal tools