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:
parent
a2ce0bdce6
commit
d423d7e446
3 changed files with 15 additions and 2 deletions
11
ApiClient.js
11
ApiClient.js
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue