Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
bithernet committed Jul 28, 2016
1 parent 82288d6 commit 9f64df6
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions source/api/basic-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,9 @@ All basic APIs.

Time
----
.. note::
Only for a test!

.. http:get:: /api/v1/open/time/
Get current server time.

.. sourcecode:: js

{
"meta": {
"limit": 20,
"next": "/api/v1/build/?limit=20&offset=20",
"offset": 0,
"previous": null,
"total_count": 86684
},
"objects": [BUILDS]
}

:>json integer limit: Number of Builds returned.
:>json string next: URI for next set of Builds.
:>json integer offset: Current offset used for pagination.
:>json string previous: URI for previous set of Builds.
:>json integer total_count: Total number of Builds.
:>json array objects: Array of `Build`_ objects.
HTTP GET `/api/v1/open/time`

Response: ::
{}

0 comments on commit 9f64df6

Please sign in to comment.