Jump to content

Tags


TeamB

Recommended Posts

TeamB

Can we have the ability to filter on existence or non-existence of a flag in the API

/Users/{UserId}/Items?Tags=SomeFlag

I want to be able to add flags to items and have them NOT show up in API results.

One way might just to to allow adding a - in front of the flag like this:

/Users/{UserId}/Items?Tags=-SomeFlag

This would filter out any items with the tag SomeFlag

Link to comment
Share on other sites

Quote

/Users/{UserId}/Items?Tags=SomeFlag

Hi, this already exists and supports multiple, pipe delimited. Alternatively TagIds is also supported if you have those.

There is no exclusion filter  but it's not a bad idea to add.

Link to comment
Share on other sites

TeamB
54 minutes ago, Luke said:

There is no exclusion filter  but it's not a bad idea to add.

That is what I was actually asking for, I know you can filter on the existence of a tag but I wanted to be able to exclude also. using the -<TAGNAME> or -<TAGID> to exclude thoes items would help me with filtering out some items in API requests.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...