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 12:57:29 UTC
svn commit: r968748 - in /websites/staging/olingo/trunk/content: ./
doc/odata4/tutorials/media/tutorial_media.html
Author: buildbot
Date: Tue Oct 13 10:57:29 2015
New Revision: 968748
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 10:57:29 2015
@@ -1 +1 @@
-1708323
+1708324
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 10:57:29 2015
@@ -367,14 +367,24 @@ This tutorial can be found in subdirecto
<h2 id="run-the-implemented-service">Run the implemented service<a class="headerlink" href="#run-the-implemented-service" title="Permanent link">¶</a></h2>
<p>After building and deploying the project, we can invoke our OData service.</p>
+<ul>
+<li>
<p>Read media entity set <br />
<strong>GET</strong> <a href="http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments">http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments</a></p>
+</li>
+<li>
<p>Read media entity <br />
<strong>GET</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>
+</li>
+<li>
<p>Read media entity content <br />
-<strong>GET</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></p>
+<strong>GET</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></p>
+</li>
+<li>
<p>Create a new Media Entity <br />
<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>
@@ -385,15 +395,19 @@ This tutorial can be found in subdirecto
</pre></div>
-<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> </p>
+<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>
-<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> </p>
+<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>
@@ -402,10 +416,16 @@ This tutorial can be found in subdirecto
</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>
+</li>
+<li>
<p>Delete a media entity <br />
<strong>DELETE</strong> <a href="http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(db2d2186-1c29-4d1e-88ef-127f521b9c67)/$value">http://localhost:8080/DemoService-Media/DemoService.svc/Advertisments(db2d2186-1c29-4d1e-88ef-127f521b9c67)/$value</a></p>
+</li>
+</ul>
<h1 id="5-links">5. Links<a class="headerlink" href="#5-links" title="Permanent link">¶</a></h1>
<h3 id="tutorials">Tutorials<a class="headerlink" href="#tutorials" title="Permanent link">¶</a></h3>
<p>Further topics to be covered by follow-up tutorials:</p>