<?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>topic Is there a way to create a path under /Repos via API? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-create-a-path-under-repos-via-api/m-p/22531#M15437</link>
    <description>&lt;P&gt;Trying to use Repos API to automate creation and updates to repos under paths not specific to a user, i.e. /Repos/Admin/&amp;lt;repo-name&amp;gt;.  It seems that creating a repo via POST to /api/2.0/repos will fail if you don't include a path, and will also fail if you include a path that does not yet exist (i.e. /Repos/Admin in my example).  The path can be created manually via UI, however, hoping to automate this process and not require manual steps.  It doesn't appear the Repos API provides a way to do this (in Azure Databricks) so wondering if there is any other way?  If not, could I suggest this as a feature request?  Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2022 18:19:05 GMT</pubDate>
    <dc:creator>JakeP</dc:creator>
    <dc:date>2022-04-20T18:19:05Z</dc:date>
    <item>
      <title>Is there a way to create a path under /Repos via API?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-create-a-path-under-repos-via-api/m-p/22531#M15437</link>
      <description>&lt;P&gt;Trying to use Repos API to automate creation and updates to repos under paths not specific to a user, i.e. /Repos/Admin/&amp;lt;repo-name&amp;gt;.  It seems that creating a repo via POST to /api/2.0/repos will fail if you don't include a path, and will also fail if you include a path that does not yet exist (i.e. /Repos/Admin in my example).  The path can be created manually via UI, however, hoping to automate this process and not require manual steps.  It doesn't appear the Repos API provides a way to do this (in Azure Databricks) so wondering if there is any other way?  If not, could I suggest this as a feature request?  Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 18:19:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-create-a-path-under-repos-via-api/m-p/22531#M15437</guid>
      <dc:creator>JakeP</dc:creator>
      <dc:date>2022-04-20T18:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to create a path under /Repos via API?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-create-a-path-under-repos-via-api/m-p/22532#M15438</link>
      <description>&lt;P&gt;&lt;A href="https://docs.databricks.com/dev-tools/api/latest/workspace.html#mkdirs" target="test_blank"&gt;https://docs.databricks.com/dev-tools/api/latest/workspace.html#mkdirs&lt;/A&gt; try through Workspace API:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;curl --netrc --request POST \
  &lt;A href="https://dbc-a1b2345c-d6e7.cloud.databricks.com/api/2.0/workspace/mkdirs" target="test_blank"&gt;https://dbc-a1b2345c-d6e7.cloud.databricks.com/api/2.0/workspace/mkdirs&lt;/A&gt; \
  --header 'Accept: application/json' \
  --data '{ "path": "/Repos/me@example.com/MyFolder" }'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 18:23:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-create-a-path-under-repos-via-api/m-p/22532#M15438</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-04-20T18:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to create a path under /Repos via API?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-create-a-path-under-repos-via-api/m-p/22533#M15439</link>
      <description>&lt;P&gt;That works, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 18:36:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-create-a-path-under-repos-via-api/m-p/22533#M15439</guid>
      <dc:creator>JakeP</dc:creator>
      <dc:date>2022-04-20T18:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to create a path under /Repos via API?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-create-a-path-under-repos-via-api/m-p/22534#M15440</link>
      <description>&lt;P&gt;Great. If you can, please select my answer as the best one. Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 19:18:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-way-to-create-a-path-under-repos-via-api/m-p/22534#M15440</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-04-20T19:18:03Z</dc:date>
    </item>
  </channel>
</rss>

