<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Atlas: How to pull the Tag attribute value? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165467#M49599</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15019/hecdguzman.html" nodeid="15019"&gt;@H G&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you want to get the Tag/Trait info then use:
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;GET &lt;A href="http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/types/{trait_name}" target="_blank"&gt;http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/types/{trait_name}&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you want to get the Tags/Traits associated with an Entity, with details, use:
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;GET &lt;A href="http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/entities/{guid}" target="_blank"&gt;http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/entities/{guid}&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Dec 2016 08:59:43 GMT</pubDate>
    <dc:creator>egarelnabi</dc:creator>
    <dc:date>2016-12-21T08:59:43Z</dc:date>
    <item>
      <title>Atlas: How to pull the Tag attribute value?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165466#M49598</link>
      <description>&lt;P&gt;If I have a 'User ID' tag with attribute 'ID Number' and add this to entity A, how can I pull the attribute ID Number VALUE using the REST api?&lt;/P&gt;&lt;P&gt;Farthest I'm able to get is pulling the tags for entity A but not the attribute values:&lt;/P&gt;&lt;P&gt;sandbox:2100/api/atlas/entities/{guid}/traits&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 07:17:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165466#M49598</guid>
      <dc:creator>Hecdguzman</dc:creator>
      <dc:date>2016-12-21T07:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas: How to pull the Tag attribute value?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165467#M49599</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15019/hecdguzman.html" nodeid="15019"&gt;@H G&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you want to get the Tag/Trait info then use:
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;GET &lt;A href="http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/types/{trait_name}" target="_blank"&gt;http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/types/{trait_name}&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you want to get the Tags/Traits associated with an Entity, with details, use:
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;GET &lt;A href="http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/entities/{guid}" target="_blank"&gt;http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/entities/{guid}&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 08:59:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165467#M49599</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2016-12-21T08:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas: How to pull the Tag attribute value?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165468#M49600</link>
      <description>&lt;P&gt;Thanks for the quick response!&lt;/P&gt;&lt;P&gt;Lets say I added the User ID tag to A and provide the ID number attribute value &lt;STRONG&gt;ID123456&lt;/STRONG&gt;.  &lt;/P&gt;&lt;P&gt;When I pull using either command provided I still don't see &lt;STRONG&gt;ID123456&lt;/STRONG&gt; anywhere.  I have not been able to find any documentation about pulling attribute values, perhaps this has not been implemented yet?&lt;/P&gt;&lt;P&gt;{"typeName":"User ID","definition":{"enumTypes":[],"structTypes":[],"traitTypes":[{"superTypes":["Business2"],"hierarchicalMetaTypeName":"org.apache.atlas.typesystem.types.TraitType","typeName":"User ID","typeDescription":"","attributeDefinitions":[{"name":"ID Number","dataTypeName":"string","multiplicity":"optional","isComposite":false,"isUnique":false,"isIndexable":true,"reverseAttributeName":null}]}]&lt;/P&gt;&lt;P&gt;,"classTypes":[]},"requestId":" - \/api\/atlas\/types\/User%20ID\/ - 7e841c42-ea66-4f05-b7e9-719ef3c1c943"}&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 09:33:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165468#M49600</guid>
      <dc:creator>Hecdguzman</dc:creator>
      <dc:date>2016-12-21T09:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas: How to pull the Tag attribute value?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165469#M49601</link>
      <description>&lt;P&gt;What you provided above is the response for:&lt;/P&gt;&lt;P&gt;GET &lt;A href="http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/" target="_blank"&gt;http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/&lt;/A&gt;&lt;STRONG&gt;types/{typeName}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please post the response for:&lt;/P&gt;&lt;P&gt;GET &lt;A href="http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/" target="_blank"&gt;http://&amp;lt;atlas-server-host:port&amp;gt;/api/atlas/&lt;/A&gt;&lt;STRONG&gt;entities/{entity_guid}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It should have the &lt;EM&gt;"ID123456"&lt;/EM&gt; under &lt;EM&gt;"values"&lt;/EM&gt; right after the &lt;EM&gt;"typeName":"UserID"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If you don't know the entity_guid, navigate to the entity you want ("A" in this case) in the Atlas UI.  The alphanumeric string at the end of the URL is the entity_guid. &lt;/P&gt;&lt;P&gt;(http://&amp;lt;atlas-server-host:port&amp;gt;/index.html#!/detailPage/{entity_guid})&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 11:46:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165469#M49601</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2016-12-21T11:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas: How to pull the Tag attribute value?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165470#M49602</link>
      <description>&lt;P&gt;Thanks for clarifying, I'm able to see the attribute value now.  &lt;/P&gt;&lt;P&gt;Do you know if you're able to search by attribute value, either through the rest api or dsl? And if so can you provide an example.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 13:36:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165470#M49602</guid>
      <dc:creator>Hecdguzman</dc:creator>
      <dc:date>2016-12-21T13:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas: How to pull the Tag attribute value?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165471#M49603</link>
      <description>&lt;P&gt;The easiest way would be to do a full text search not DSL.  Just search for the attribute value itself.  You can do this through the UI or through the API as follows:&lt;/P&gt;&lt;P&gt;GET &lt;A href="http://&amp;lt;atlas-server-" target="_blank"&gt;http://&amp;lt;atlas-server-&lt;/A&gt;
host:port&amp;gt;/api/atlas/discovery/search/fulltext?query={query_string} &lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 13:39:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-How-to-pull-the-Tag-attribute-value/m-p/165471#M49603</guid>
      <dc:creator>egarelnabi</dc:creator>
      <dc:date>2016-12-21T13:39:55Z</dc:date>
    </item>
  </channel>
</rss>

