, ,
RESTful Web Services , , .
:
utils/views/field-views/myFieldView/{UserID}
, RESTful, utils . , (imho) URI API. URI, :
people/{UserID}/profile/fields/name,age,gender/
people/{UserID}/profile/?fields=name,age,gender
fields . , fields URI, - people/{UserID}/profile/. , ?page=1, ?page=2 ..
:
.
-:
intersection URI URI. , , friends, , ..
GET people/{UserID}/relationships/friends/intersections/{Value-1};{Value-2}
GET people/{UserID}/relationships/friends/?intersections={Value-1};{Value-2}
, , , people/{UserID}/relationships/friends/
-, :
"{Value-1/2}" - URL "people/exampleUID-1/friends" "/exampleUID-2/"
, {Value-1/2} GET, - , RESTful. friends - , , :
GET friends/{UserID-1};{UserID-2};{UserID-3}
, - ; , , fields. , . OR (,), , AND (;), .
API, .