<?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: Add/Edit User-Defined Properties for Entity in Atlas via API in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Add-Edit-User-Defined-Properties-for-Entity-in-Atlas-via-API/m-p/385752#M245813</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107030"&gt;@ipson&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have tried checking on this and I find no API option specific to user defined properties.&lt;BR /&gt;For your reference: Atlas API list&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://atlas.apache.org/api/v2/index.html" target="_blank"&gt;https://atlas.apache.org/api/v2/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Puneeth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Mar 2024 19:20:00 GMT</pubDate>
    <dc:creator>Puni</dc:creator>
    <dc:date>2024-03-29T19:20:00Z</dc:date>
    <item>
      <title>Add/Edit User-Defined Properties for Entity in Atlas via API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Edit-User-Defined-Properties-for-Entity-in-Atlas-via-API/m-p/385586#M245756</link>
      <description>&lt;P&gt;I want to use the Atlas API to add/edit user-defined properties to a particular entity. I've previously had success using the API to edit properties that are already defined, such as an entity description:&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;curl --location --request PUT &lt;/SPAN&gt;&lt;SPAN&gt;'https://[host]/api/atlas/v2/entity/guid/[guid]?name=description'&lt;/SPAN&gt;&lt;SPAN&gt; \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--header &lt;/SPAN&gt;&lt;SPAN&gt;'Content-Type: application/json'&lt;/SPAN&gt;&lt;SPAN&gt; \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--header &lt;/SPAN&gt;&lt;SPAN&gt;'Authorization: Basic'&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;\&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt; &lt;SPAN&gt;'"a test table"'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;However, it's not clear how to use the API to create and edit user-defined properties. When I try changing the url query to a user-defined property name, it complains that that property is not defined for the entity type.&lt;/P&gt;&lt;P&gt;For reference, in the UI, this is done fairly easily.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-26 at 2.24.08 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40161iA21E56E096203952/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-03-26 at 2.24.08 PM.png" alt="Screenshot 2024-03-26 at 2.24.08 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 17:28:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Edit-User-Defined-Properties-for-Entity-in-Atlas-via-API/m-p/385586#M245756</guid>
      <dc:creator>ipson</dc:creator>
      <dc:date>2024-03-26T17:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Edit User-Defined Properties for Entity in Atlas via API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Edit-User-Defined-Properties-for-Entity-in-Atlas-via-API/m-p/385752#M245813</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107030"&gt;@ipson&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have tried checking on this and I find no API option specific to user defined properties.&lt;BR /&gt;For your reference: Atlas API list&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://atlas.apache.org/api/v2/index.html" target="_blank"&gt;https://atlas.apache.org/api/v2/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Puneeth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 19:20:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Edit-User-Defined-Properties-for-Entity-in-Atlas-via-API/m-p/385752#M245813</guid>
      <dc:creator>Puni</dc:creator>
      <dc:date>2024-03-29T19:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Edit User-Defined Properties for Entity in Atlas via API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Edit-User-Defined-Properties-for-Entity-in-Atlas-via-API/m-p/386148#M245956</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107030"&gt;@ipson&lt;/a&gt;&amp;nbsp;Did the response assist in resolving your query? If it did, kindly mark the relevant reply as the solution, as it will aid others in locating the answer more easily in the future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 05:38:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Edit-User-Defined-Properties-for-Entity-in-Atlas-via-API/m-p/386148#M245956</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-04-05T05:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Edit User-Defined Properties for Entity in Atlas via API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Add-Edit-User-Defined-Properties-for-Entity-in-Atlas-via-API/m-p/386159#M245959</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107030"&gt;@ipson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To edit the entity in Atlas, you need to export the entity, which will be downloaded in zip format, extract the files, edit the required files, zip the file in its original order, and then import the updated files to Atlas in compressed format (zip).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can make use of export and import atlas api's to perform the above steps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 07:25:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Add-Edit-User-Defined-Properties-for-Entity-in-Atlas-via-API/m-p/386159#M245959</guid>
      <dc:creator>Scharan</dc:creator>
      <dc:date>2024-04-05T07:25:49Z</dc:date>
    </item>
  </channel>
</rss>

