added /users/public endpoint

This commit is contained in:
Luke Pulverenti
2013-07-08 13:13:18 -04:00
parent 56eea6a626
commit 1a0a50c8ab
5 changed files with 41 additions and 10 deletions
+11
View File
@@ -1429,6 +1429,17 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
});
};
self.getPublicUsers = function () {
var url = self.getUrl("users/public");
return self.ajax({
type: "GET",
url: url,
dataType: "json"
});
};
/**
* Gets all users from the server
*/