You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by bu...@apache.org on 2015/10/13 13:16:36 UTC

svn commit: r968753 - in /websites/staging/olingo/trunk/content: ./ doc/odata4/tutorials/media/tutorial_media.html

Author: buildbot
Date: Tue Oct 13 11:16:36 2015
New Revision: 968753

Log:
Staging update by buildbot for olingo

Modified:
    websites/staging/olingo/trunk/content/   (props changed)
    websites/staging/olingo/trunk/content/doc/odata4/tutorials/media/tutorial_media.html

Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Oct 13 11:16:36 2015
@@ -1 +1 @@
-1708330
+1708331

Modified: websites/staging/olingo/trunk/content/doc/odata4/tutorials/media/tutorial_media.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/odata4/tutorials/media/tutorial_media.html (original)
+++ websites/staging/olingo/trunk/content/doc/odata4/tutorials/media/tutorial_media.html Tue Oct 13 11:16:36 2015
@@ -380,32 +380,41 @@ This tutorial can be found in subdirecto
 </li>
 <li>
 <p>Create a new Media Entity  <br />
-<strong>POST</strong> [http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments  <br />
- Content-Type: image/svg+xml]</p>
-<p>::::xml
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-    <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 100 100">
-        <g stroke="darkmagenta" stroke-width="16" fill="crimson">
-            <circle cx="50" cy="50" r="42"/>
-        </g>
-</svg></p>
-</li>
-<li>
-<p>Update the content of a media entity  <br />
-<strong>PUT</strong>  <a href="http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(f89dee73-af9f-4cd4-b330-db93c25ff3c7)/$value">http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(f89dee73-af9f-4cd4-b330-db93c25ff3c7)/$value</a>  <br />
- Content-Type: text/plain</p>
-<p>::::text
-Super super nice content</p>
-</li>
-<li>
-<p>Update the properties of a media entity  <br />
-<strong>PUT</strong> <a href="http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(f89dee73-af9f-4cd4-b330-db93c25ff3c7)">http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(f89dee73-af9f-4cd4-b330-db93c25ff3c7)</a>  <br />
-Content-Type: application/json</p>
-<p Name_="Name&quot;,
-" _="
-" _2020-06-05T23:00_="&quot;2020-06-05T23:00&quot;
-" _AirDate_:="&quot;AirDate&quot;:" _Name_:="&quot;Name&quot;:" _New="&quot;New">::::json</p>
+<strong>POST</strong> [http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments    </p>
 </li>
+</ul>
+<p>Content-Type: image/svg+xml]</p>
+<div class="codehilite"><pre><span class="cp">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span>
+    <span class="nt">&lt;svg</span> <span class="na">xmlns=</span><span class="s">&quot;http://www.w3.org/2000/svg&quot;</span> <span class="na">version=</span><span class="s">&quot;1.1&quot;</span> <span class="na">viewBox=</span><span class="s">&quot;0 0 100 100&quot;</span><span class="nt">&gt;</span>
+        <span class="nt">&lt;g</span> <span class="na">stroke=</span><span class="s">&quot;darkmagenta&quot;</span> <span class="na">stroke-width=</span><span class="s">&quot;16&quot;</span> <span class="na">fill=</span><span class="s">&quot;crimson&quot;</span><span class="nt">&gt;</span>
+            <span class="nt">&lt;circle</span> <span class="na">cx=</span><span class="s">&quot;50&quot;</span> <span class="na">cy=</span><span class="s">&quot;50&quot;</span> <span class="na">r=</span><span class="s">&quot;42&quot;</span><span class="nt">/&gt;</span>
+        <span class="nt">&lt;/g&gt;</span>
+<span class="nt">&lt;/svg&gt;</span>
+</pre></div>
+
+
+<ul>
+<li>Update the content of a media entity  <br />
+<strong>PUT</strong>  <a href="http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(f89dee73-af9f-4cd4-b330-db93c25ff3c7)/$value">http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(f89dee73-af9f-4cd4-b330-db93c25ff3c7)/$value</a>    </li>
+</ul>
+<p>Content-Type: text/plain</p>
+<div class="codehilite"><pre>Super super nice content
+</pre></div>
+
+
+<ul>
+<li>Update the properties of a media entity  <br />
+<strong>PUT</strong> <a href="http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(f89dee73-af9f-4cd4-b330-db93c25ff3c7)">http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(f89dee73-af9f-4cd4-b330-db93c25ff3c7)</a>    </li>
+</ul>
+<p>Content-Type: application/json</p>
+<div class="codehilite"><pre><span class="p">{</span>
+    <span class="nt">&quot;Name&quot;</span><span class="p">:</span> <span class="s2">&quot;New Name&quot;</span><span class="p">,</span>
+    <span class="nt">&quot;AirDate&quot;</span><span class="p">:</span> <span class="s2">&quot;2020-06-05T23:00&quot;</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<ul>
 <li>
 <p>Delete a media entity  <br />
 <strong>DELETE</strong> <a href="http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(f89dee73-af9f-4cd4-b330-db93c25ff3c7)">http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(f89dee73-af9f-4cd4-b330-db93c25ff3c7)</a></p>