D1sk 4 Posted August 29, 2024 Posted August 29, 2024 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?
Luke 39691 Posted August 29, 2024 Posted August 29, 2024 HI, there is a separate api for people. See /Persons.
D1sk 4 Posted August 30, 2024 Author Posted August 30, 2024 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
adminExitium 281 Posted August 30, 2024 Posted August 30, 2024 Use /Persons?serverId=8bc8ae6fe2d946fcbd21cb341832072d
D1sk 4 Posted August 30, 2024 Author Posted August 30, 2024 1 hour ago, adminExitium said: Use /Persons?serverId=8bc8ae6fe2d946fcbd21cb341832072d https://meinserver/Persons?serverId=8bc8ae6fe2d946fcbd21cb341832072d The file '/Persons' cound not be found.
Solution adminExitium 281 Posted August 30, 2024 Solution Posted August 30, 2024 It's a GET request, not POST.
D1sk 4 Posted August 30, 2024 Author Posted August 30, 2024 (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, 2024 by D1sk
Luke 39691 Posted September 5, 2024 Posted September 5, 2024 @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.
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