Skip to content

Commit

Permalink
feat: update doc for thumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
didoda committed Apr 27, 2018
1 parent d9aafae commit cc54483
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/endpoints/media/thumbs.rst
Expand Up @@ -61,19 +61,19 @@ You can request a thumbnail with specified options (width, height), using option

.. sourcecode:: http

GET /media/thumbs/{{id}}?width=100 HTTP/1.1
GET /media/thumbs/{{id}}?options[w]=100 HTTP/1.1
Host: api.example.com
Accept: application/vnd.api+json

.. sourcecode:: http

GET /media/thumbs/{{id}}?height=100 HTTP/1.1
GET /media/thumbs/{{id}}?options[h]=100 HTTP/1.1
Host: api.example.com
Accept: application/vnd.api+json

.. sourcecode:: http

GET /media/thumbs/{{id}}?width=100&height=100 HTTP/1.1
GET /media/thumbs/{{id}}?options[w]=100&options[h]=100 HTTP/1.1
Host: api.example.com
Accept: application/vnd.api+json

Expand Down

0 comments on commit cc54483

Please sign in to comment.