mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-30 19:24:40 +03:00
Update title - Easy is a sucky word choice
This commit is contained in:
parent
bd025a1ef3
commit
ef41828866
|
@ -2,7 +2,7 @@
|
|||
<html lang="en">
|
||||
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta charset="utf-8">
|
||||
<title>Django REST framework - APIs made easy</title>
|
||||
<title>Django REST framework - Web APIs for Django</title>
|
||||
<link href="http://www.django-rest-framework.org/img/favicon.ico" rel="icon" type="image/x-icon">
|
||||
<link rel="canonical" href="http://www.django-rest-framework.org"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
|
|
@ -257,7 +257,7 @@ a.fusion-poweredby {
|
|||
<hr />
|
||||
<h2 id="the-hypermedia-approach">The hypermedia approach</h2>
|
||||
<p>To be fully RESTful an API should present its available actions as hypermedia controls in the responses that it sends.</p>
|
||||
<p>In this approach, rather than documenting the available API endpoints up front, the description instead concentrates on the <em>media types</em> that are used. The available actions take may be taken on any given URL are not strictly fixed, but are instead made available by the presence of link and form controls in the returned document.</p>
|
||||
<p>In this approach, rather than documenting the available API endpoints up front, the description instead concentrates on the <em>media types</em> that are used. The available actions that may be taken on any given URL are not strictly fixed, but are instead made available by the presence of link and form controls in the returned document.</p>
|
||||
<p>To implement a hypermedia API you'll need to decide on an appropriate media type for the API, and implement a custom renderer and parser for that media type. The <a href="rest-hypermedia-hateoas">REST, Hypermedia & HATEOAS</a> section of the documentation includes pointers to background reading, as well as links to various hypermedia formats.</p>
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
|
|
Loading…
Reference in New Issue
Block a user