D1sk 4 Posted August 29 Share Posted August 29 https://meinServerde/Items?&ids=16475&serverId=8bc8ae6fe2d946fcbd21cb341832072d { "Items": [ { "Name": "Miwa Kouzuki", "ServerId": "8bc8ae6fe2d946fcbd21cb341832072d", "Id": "16475", "Type": "Person", "ImageTags": { "Primary": "2fc8bcf6609bea971aca7debd742dc59" }, "BackdropImageTags": [] } ], "TotalRecordCount": 1 } If I do the following I get this information Why can't I filter for everything that is type person based on the ServerID? https://MeinServers.de/Items?type=Person&serverId=8bc8ae6fe2d946fcbd21cb341832072d How can I do that? Link to comment Share on other sites More sharing options...
Luke 37956 Posted August 29 Share Posted August 29 HI, there is a separate api for people. See /Persons. Link to comment Share on other sites More sharing options...
D1sk 4 Posted August 30 Author Share Posted August 30 10 hours ago, Luke said: HI, there is a separate api for people. See /Persons. Hi Luke I don't really understand how to get the information. I only see Get and person but how do I use the ServerId? https://swagger.emby.media/?staticview=true#/PersonsService/getPersons Link to comment Share on other sites More sharing options...
adminExitium 221 Posted August 30 Share Posted August 30 Use /Persons?serverId=8bc8ae6fe2d946fcbd21cb341832072d Link to comment Share on other sites More sharing options...
D1sk 4 Posted August 30 Author Share Posted August 30 1 hour ago, adminExitium said: Use /Persons?serverId=8bc8ae6fe2d946fcbd21cb341832072d https://meinserver/Persons?serverId=8bc8ae6fe2d946fcbd21cb341832072d The file '/Persons' cound not be found. Link to comment Share on other sites More sharing options...
Solution adminExitium 221 Posted August 30 Solution Share Posted August 30 It's a GET request, not POST. Link to comment Share on other sites More sharing options...
D1sk 4 Posted August 30 Author Share Posted August 30 (edited) I need more help with the api i try to update the image with an other Example Postman setup: URL: https://meinserver.de/emby/Items/78951/Images/Primary/Upload Method: POST Headers: Key: x-emby-Token Value: Your API token Body: Select form-data Add a field: Key: file Type: File Value: i Select the image file on your computer Input string was not in a correct format. I also don't know I don't understand these API rules when I look at what is in the documentation and what I have to enter for a query is somehow different? Edited August 30 by D1sk Link to comment Share on other sites More sharing options...
Luke 37956 Posted September 5 Share Posted September 5 @D1skdid you try comparing your request to what the web app sends for it's image uploads? You can do this using the browser debugging tools. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now