1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

added /users/public endpoint

This commit is contained in:
Luke Pulverenti 2013-07-08 13:13:18 -04:00
parent a2ce0bdce6
commit d423d7e446
3 changed files with 15 additions and 2 deletions

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
*/