Commit 05aef80a authored by Łukasz Nowak's avatar Łukasz Nowak

Explain how to fetch list of instances.

parent 66972e4f
......@@ -102,6 +102,34 @@ Unexpected error.
Instance Methods
****************
Fetching list of instances
--------------------------
Ask for list of instances.
`Request`::
GET /api/v1/instance HTTP/1.1
Host: example.com
Accept: application/json
`No Expected Request Body`
`Expected Response`::
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"list": ["http://one.example.com/one", "http://two.example.com/something"]
}
`Additional Responses`::
HTTP/1.1 204 No Content
In case where not instances are available.
Requesting a new instance
-------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment