<?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 Re: Snapmirror Relationship API Question in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/445000#M531</link>
    <description>&lt;P&gt;I was, but I was able to create the relationship using the snapmirror passthrough.&amp;nbsp; &amp;nbsp; The next question is how do I get the relationship to initialize?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2023 20:25:08 GMT</pubDate>
    <dc:creator>ABUser</dc:creator>
    <dc:date>2023-06-06T20:25:08Z</dc:date>
    <item>
      <title>Snapmirror Relationship API Question</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/444761#M512</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a question for you about the &lt;SPAN&gt;JSON for /api/snapmirror/relationships API. I am trying to replicate the following CLI command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;snapmirror create -source-path &amp;lt;SVM_NAME&amp;gt;:&amp;lt;SVM_NAME&amp;gt;_root -destination-path &amp;lt;SVM_NAME&amp;gt;:&amp;lt;SVM_NAME&amp;gt;_root_m1 -type LS -schedule 5min&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I ask because it doesn't appear to like type or schedule in the following example:&lt;/P&gt;&lt;P&gt;{"source": {"path": "svm:svm_root"}, "destination": {"path": "svm:svm_root_m3"}, "type": "ls", "policy": "5min"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect I may need to switch policy for transfer schedule, but I am not sure about type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:48:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/444761#M512</guid>
      <dc:creator>ABUser</dc:creator>
      <dc:date>2025-06-04T09:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Snapmirror Relationship API Question</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/444774#M515</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is a document that maps ONTAPI to REST:&amp;nbsp;&lt;A href="https://docs.netapp.com/us-en/ontap-restmap-9131/snapmirror.html#snapmirror-create" target="_blank"&gt;https://docs.netapp.com/us-en/ontap-restmap-9131/snapmirror.html#snapmirror-create&lt;/A&gt;. The ontapi for "snapmirror create" is "snapmirror-create", which I linked above. It looks like there is no REST equivalent of "relationship-type" and the REST API for snapmirror only manages XDP relationships.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 12:46:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/444774#M515</guid>
      <dc:creator>Twesha</dc:creator>
      <dc:date>2023-06-01T12:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Snapmirror Relationship API Question</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/444788#M516</link>
      <description>&lt;P&gt;Thanks for the documentation.&amp;nbsp; Rather than creating something that will need to be ported shortly after it is written (i.e., ONTAPI based), have the passthrough APIs been expanded to incorporate snapmirror operations any particular version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 15:55:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/444788#M516</guid>
      <dc:creator>ABUser</dc:creator>
      <dc:date>2023-06-01T15:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Snapmirror Relationship API Question</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/444977#M528</link>
      <description>&lt;P&gt;Hi, I agree, using ZAPI is not a good idea. So that I'm clear, are you trying to create a relationship of type "LS" using the CLI passthrough?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 13:07:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/444977#M528</guid>
      <dc:creator>Twesha</dc:creator>
      <dc:date>2023-06-06T13:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Snapmirror Relationship API Question</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/445000#M531</link>
      <description>&lt;P&gt;I was, but I was able to create the relationship using the snapmirror passthrough.&amp;nbsp; &amp;nbsp; The next question is how do I get the relationship to initialize?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 20:25:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/445000#M531</guid>
      <dc:creator>ABUser</dc:creator>
      <dc:date>2023-06-06T20:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Snapmirror Relationship API Question</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/445123#M535</link>
      <description>&lt;P&gt;Hello, on this page:&amp;nbsp;&lt;A href="https://library.netapp.com/ecmdocs/ECMLP2885799/html/index.html," target="_blank"&gt;https://library.netapp.com/ecmdocs/ECMLP2885799/html/index.html,&lt;/A&gt;&amp;nbsp;the section titled "&lt;SPAN&gt;Using the private CLI passthrough with the ONTAP REST API" describes how to make various requests. In your case, it would be a request on /api/private/cli/snapmirror/initialize because the Snapmirror API will not allow you to operate on LS relationships.&amp;nbsp; I will raise your question now with the team who owns the endpoint so they can help provide input as to what the guidance is for customers trying to create LS type snapmirror relationships.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 13:52:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Snapmirror-Relationship-API-Question/m-p/445123#M535</guid>
      <dc:creator>Twesha</dc:creator>
      <dc:date>2023-06-09T13:52:24Z</dc:date>
    </item>
  </channel>
</rss>

