Skip to content

Commit 0dff2d3

Browse files
committed
Some fixes
1 parent 208562c commit 0dff2d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/api/v3.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Version detail
248248

249249
.. sourcecode:: bash
250250

251-
$ curl https://readthedocs.org/api/v3/projects/pip/versions/latest/
251+
$ curl https://readthedocs.org/api/v3/projects/pip/versions/stable/
252252

253253
**Example response**:
254254

@@ -273,6 +273,8 @@ Version detail
273273
}
274274
}
275275

276+
.. TODO: add a field showing what's the tag where ``stable`` points to
277+
276278
:>json string slug: The slug for this version
277279
:>json string verbose_name: The name of the version
278280
:>json string identifier: A version control identifier for this version (eg. the commit hash of the tag)
@@ -371,6 +373,7 @@ Build details
371373
}
372374
}
373375

376+
.. TODO: maybe it's good to return the ``Config`` object used to run this build
374377
375378
:>json integer id: The ID of the build
376379
:>json string date: The ISO-8601 datetime of the build.

0 commit comments

Comments
 (0)