Angelblue05 4130 Posted November 13, 2015 Share Posted November 13, 2015 Is there an api entrypoint that can tell me which view contains which media folders? I found the ancestor api and I'm really interested in using it, however since it returns media folders, rather than the view, I would need to know how to bridge the two. Thank you Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 13, 2015 Author Share Posted November 13, 2015 (edited) I got it! Use Items/{Id}/Ancestors and use the Path Then, I can use /Library/VirtualFolders and compare Path to Locations Then the name is the view name. Edit: Nevermind, VirtualFolders does not follow views.... Oh wait, I can use the "GroupedFolders" key from the user to compare when views are grouped, that works. /SpecialViewOption can easily translate and will work with groupedfolders. Just saw that it doesn't return mixed content. Second Edit: Wow, I just realized, if I put the userId in the Items/{Id}/Ancestors field, it will return user views! That's great Much simpler! Edited November 13, 2015 by Angelblue05 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