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
-<?xml version="1.0" encoding="UTF-8"?>
- <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",
-" _="
-" _2020-06-05T23:00_=""2020-06-05T23:00"
-" _AirDate_:=""AirDate":" _Name_:=""Name":" _New=""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"><?xml version="1.0" encoding="UTF-8"?></span>
+ <span class="nt"><svg</span> <span class="na">xmlns=</span><span class="s">"http://www.w3.org/2000/svg"</span> <span class="na">version=</span><span class="s">"1.1"</span> <span class="na">viewBox=</span><span class="s">"0 0 100 100"</span><span class="nt">></span>
+ <span class="nt"><g</span> <span class="na">stroke=</span><span class="s">"darkmagenta"</span> <span class="na">stroke-width=</span><span class="s">"16"</span> <span class="na">fill=</span><span class="s">"crimson"</span><span class="nt">></span>
+ <span class="nt"><circle</span> <span class="na">cx=</span><span class="s">"50"</span> <span class="na">cy=</span><span class="s">"50"</span> <span class="na">r=</span><span class="s">"42"</span><span class="nt">/></span>
+ <span class="nt"></g></span>
+<span class="nt"></svg></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">"Name"</span><span class="p">:</span> <span class="s2">"New Name"</span><span class="p">,</span>
+ <span class="nt">"AirDate"</span><span class="p">:</span> <span class="s2">"2020-06-05T23:00"</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>