aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTom Christie2014-08-15 05:38:42 +0100
committerTom Christie2014-08-15 05:38:42 +0100
commit522f31ea6e7b8496e34e330f49583a606f6e0ca3 (patch)
tree888ac4a61d64ab3b20b98465e36c0e2a93d5d154 /docs
parent63d5634c660d21638114ccb35b0b756aae47b713 (diff)
parentbfd0b261dbcdab5993f83baefcd732d3d2d194e8 (diff)
downloaddjango-rest-framework-522f31ea6e7b8496e34e330f49583a606f6e0ca3.tar.bz2
Merge pull request #1758 from catherinedodge/doc-fixes
Fixed small typo in docs
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/documenting-your-api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/documenting-your-api.md b/docs/topics/documenting-your-api.md
index 6291c924..e20f9712 100644
--- a/docs/topics/documenting-your-api.md
+++ b/docs/topics/documenting-your-api.md
@@ -95,7 +95,7 @@ You can modify the response behavior to `OPTIONS` requests by overriding the `me
To be fully RESTful an API should present its available actions as hypermedia controls in the responses that it sends.
-In this approach, rather than documenting the available API endpoints up front, the description instead concentrates on the *media types* 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.
+In this approach, rather than documenting the available API endpoints up front, the description instead concentrates on the *media types* 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.
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 [REST, Hypermedia & HATEOAS][hypermedia-docs] section of the documentation includes pointers to background reading, as well as links to various hypermedia formats.