<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><figure class="quote"><figcaption><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <cite xml:lang="en">REST API Design: Put the &quot;Type&quot; in &quot;Content-Type&quot; | ProgrammableWeb</cite>
(<time>2016-01-15 22:03:49 +09:00</time> 版)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.programmableweb.com/news/rest-api-design-put-type-content-type/2011/11/18">http://www.programmableweb.com/news/rest-api-design-put-type-content-type/2011/11/18</anchor-external></p></figcaption><blockquote><p>To support and separate these design concerns, the &quot;application/wrml&quot; media type can be used to communicate both the &quot;Format&quot; and &quot;Schema&quot; of the data exchanged between a REST API and its clients. application/wrml; schema=URI; format=URI </p></blockquote></figure><figure class="quote"><figcaption><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> <cite xml:lang="en">REST API Design: Put the &quot;Type&quot; in &quot;Content-Type&quot; | ProgrammableWeb</cite>
(<time>2016-01-15 22:04:21 +09:00</time> 版)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.programmableweb.com/news/rest-api-design-put-type-content-type/2011/11/18">http://www.programmableweb.com/news/rest-api-design-put-type-content-type/2011/11/18</anchor-external></p></figcaption><blockquote><p>The example below shows WRML's media type used to describe a Player form that is formatted using JSON. application/wrml; schema=&quot;http://api.schemas.wrml.org/soccer/Player&quot;; format=&quot;http://api.formats.wrml.org/application/json&quot; The application/wrml media type's required schema parameter's value identifies a separate document that details the Player resource type's form, which is independent of the media type's format parameter's value. The media type's required format parameter's value identifies a document resource that describes the JSON format itself. </p></blockquote></figure><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end> <cite xml:lang="en">wrml/wrml - JavaScript</cite>
(<time>2016-01-15 22:05:10 +09:00</time> 版)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://github.com/wrml/wrml">https://github.com/wrml/wrml</anchor-external></p></body></html>