ginjaninja 537 Posted December 20, 2022 Share Posted December 20, 2022 i would like to get the tags for an id and post (add/remove) tags for an id. (testing on 4.8.0.21) what endpoints/fields should i use please? /metadataeditor returns not much useful, authenticated with apikey, i presume tags are system specific not user specific? Link to comment Share on other sites More sharing options...
Cheesegeezer 3087 Posted December 20, 2022 Share Posted December 20, 2022 16 minutes ago, ginjaninja said: i would like to get the tags for an id and post (add/remove) tags for an id. (testing on 4.8.0.21) what endpoints/fields should i use please? /metadataeditor returns not much useful, authenticated with apikey, i presume tags are system specific not user specific? Hi fella, unfortunately i use the C# interfaces. but they are item specific and not user specific. let me see if i have any endpoints This works http://localhost:8096/emby/Items?Fields=Tags&Ids=12000&api_key={AuthToken} returns { "Items": [ { "Name": "Avengers: Infinity War", "ServerId": "f7aa59c6fe9448d0a15d7dfb977ba6c6", "Id": "12000", "RunTimeTicks": 4428666670, "IsFolder": false, "Type": "Movie", "TagItems": [ { "Name": "Avengers", "Id": 37881 }, { "Name": "MCU", "Id": 37882 } ], "ImageTags": { "Primary": "01b7def2d68f25292394ee3251e4d7cd", "Logo": "ad7c9611e943846d0193bb6d8c7d1146", "Thumb": "3025177bd27cac67ec1bb85937002b0d", "Art": "79c924093688bf290bc6d644e8be0c32", "Banner": "6f80e94636303e95f87a789b23473076", "Disc": "3e772dbe10ad24ddc9e04e01b5c934a4" }, "BackdropImageTags": [ "0a867961b3b56c09dbc3a76d8b5e23f8", "15afaf6ce4faa3b96ffa66703544b5d2", "181fc241b7e72f5454442a2489b8c7dc" ], "MediaType": "Video" } ], "TotalRecordCount": 1 } Link to comment Share on other sites More sharing options...
ginjaninja 537 Posted December 20, 2022 Author Share Posted December 20, 2022 5 minutes ago, Cheesegeezer said: Hi fella, unfortunately i use the C# interfaces. but they are item specific and not user specific. let me see if i have any endpoints This works http://localhost:8096/emby/Items?Fields=Tags&Ids=12000&api_key={AuthToken} returns { "Items": [ { "Name": "Avengers: Infinity War", "ServerId": "f7aa59c6fe9448d0a15d7dfb977ba6c6", "Id": "12000", "RunTimeTicks": 4428666670, "IsFolder": false, "Type": "Movie", "TagItems": [ { "Name": "Avengers", "Id": 37881 }, { "Name": "MCU", "Id": 37882 } ], "ImageTags": { "Primary": "01b7def2d68f25292394ee3251e4d7cd", "Logo": "ad7c9611e943846d0193bb6d8c7d1146", "Thumb": "3025177bd27cac67ec1bb85937002b0d", "Art": "79c924093688bf290bc6d644e8be0c32", "Banner": "6f80e94636303e95f87a789b23473076", "Disc": "3e772dbe10ad24ddc9e04e01b5c934a4" }, "BackdropImageTags": [ "0a867961b3b56c09dbc3a76d8b5e23f8", "15afaf6ce4faa3b96ffa66703544b5d2", "181fc241b7e72f5454442a2489b8c7dc" ], "MediaType": "Video" } ], "TotalRecordCount": 1 } thanks, thought i tried field=tags ...i think this has got me over the hump Link to comment Share on other sites More sharing options...
Cheesegeezer 3087 Posted December 20, 2022 Share Posted December 20, 2022 1 minute ago, ginjaninja said: thanks, thought i tried field=tags ...i think this has got me over the hump excellent stuff... happy coding Link to comment Share on other sites More sharing options...
neik 837 Posted December 21, 2022 Share Posted December 21, 2022 Is it also possible to add tags via API or just to list them? Link to comment Share on other sites More sharing options...
Luke 37099 Posted December 21, 2022 Share Posted December 21, 2022 1 hour ago, neik said: Is it also possible to add tags via API or just to list them? Yes it is. Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted December 21, 2022 Share Posted December 21, 2022 3 hours ago, neik said: Is it also possible to add tags via API or just to list them? See here 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