I am trying to use the REST API to provide a button that when clicked by a user will create a new custom stream, enable email notifications for the stream, and associate tags with that stream. I have the first two parts, but am having trouble with the third (tag association). Does anyone know how to do this? Is it even possible?
In what I currently have I am able to associate a place with the newly created stream by passing its URI in an array through the API POST call.
var array = ["https://jive/api/core/v3/places/2711757"]; dataString = JSON.stringify(array);
So I figured I should be able to do the same with a tag, so I added one to the array:
var array = ["https://jive/api/core/v3/places/2711757", "https://jive/api/core/v3/tags/165589/"];
When I ran this, the stream was created and the place was associated, but the tag threw a 400 error:
Which leads me to believe the URI is wrong for the tag, and the question: What is the proper URI for a tag.
This particular URI I found by
All of which means either:
Any and all insight, ideas, or answers are - as always - greatly appreciated.