MediaBrowser / Emby

Emby Server is a personal media server with apps on just about every device.
https://emby.media
GNU General Public License v2.0
4.18k stars 811 forks source link

can not search item by api ​/Users​/{UserId}​/Items #3771

Closed fuchenw closed 1 year ago

fuchenw commented 1 year ago

GET ​/Users​/{UserId}​/Items Gets items based on a query.

GET ​/Users​/{UserId}​/Items​/Resume Gets items based on a query.

i can search by ​/Users​/{UserId}​/Items​/Resume, but ​cant with /Users​/{UserId}​/Items, it always returns CollectionFolder, help!

fuchenw commented 1 year ago

IncludeItemTypes=Movie&Recursive=true&SearchTerm=

LukePulverenti commented 1 year ago

Can you please provide the complete query url that you're using?

As an example, here's what the web app sends:

Users/{id}/Items?SortBy=SortName&SortOrder=Ascending&IncludeItemTypes=Movie&ImageTypeLimit=1&Recursive=true&SearchTerm=bourne&Limit=100

fuchenw commented 1 year ago

Can you please provide the complete query url that you're using?

As an example, here's what the web app sends:

Users/{id}/Items?SortBy=SortName&SortOrder=Ascending&IncludeItemTypes=Movie&ImageTypeLimit=1&Recursive=true&SearchTerm=bourne&Limit=100

/emby/Users/{id}/Items?api_key=' + apiKey + '&IncludeItemTypes=Movie&Recursive=true&SearchTerm=

softworkz commented 1 year ago

The SearchTerm must be two characters long at least.

LukePulverenti commented 1 year ago

HI, has this answered your question?