Wojtek Wajerowicz

t is for tags

Continuing the Atlas A-Z series, next in line is T and T is for tags.

We recently decided to introduce concept of tags to Atlas Deer.

So what is a tag? At the moment, tags are replacements for topic references in Atlas Owl and Atlas Deer. They are more powerful than simple topics though, tags allow us to model relationship between content and other entities, (e.g. places).

It’s also possible to search for content that was given a particular topic. You can use the Atlas content endpoint filtering feature to do that.

Try using

http://atlas.metabroadcast.com/4/content.json?key={apiKey}
&annotations=description,tags.topic.description
&tags.topic.id={topicId}

to look for content tagged with a given topic. The endpoint has pagination, of course.

Example response would look like this:

Tags as replacements for topic references can be used in multiple contexts, e.g. to mark content as special season or educational. We’re also going to look at how tags work alongside genres in the future, and possibly merge the two. This could be useful for creating applications panels with movies from a particual genre.

That’s it as far as tags are concerned for now, but watch this space for further developments regarding more uses of tags.

If you enjoyed the read, drop us a comment below or share the article, follow us on Twitter or subscribe to our #MetaBeers newsletter. Before you go, grab a PDF of the article, and let us know if it’s time we worked together.

blog comments powered by Disqus