Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag API is only returning tags that are already attached to a resource #380

Closed
alexlittle opened this issue Aug 15, 2016 · 1 comment
Closed
Labels
Milestone

Comments

@alexlittle
Copy link
Member

alexlittle commented Aug 15, 2016

When submitting resource updates via the API, the new tags aren't getting returned when requested as they're not attached to a resource (the API process creates the tag first and then adds to the resource).

for example: http://health-orb.org/api/v1/tag/?name=VSO&format=json&username=xxxxx&api_key=xxxxxx returns nothing, although 'vso' is already listed as a tag.

As it;s not returned as a current tag by the API, the upload process then tries to recreate the tag and an error is thrown since it already exists.

Unclear to me exactly why it's not being returned - possible (though I'm not 100% sure) that it's only returning tags if the are attached to an already approved resource.

@bennylope
Copy link
Contributor

In Pivotal Tracker: https://www.pivotaltracker.com/story/show/129453963

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants