Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit f0369194464638e05b1e03591b407151275fdc2c
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sun Mar 10 10:21:21 2013 +0100
Update API documentation
---------------------------------------------------------------
coprs_frontend/coprs/templates/api.html | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/coprs_frontend/coprs/templates/api.html
b/coprs_frontend/coprs/templates/api.html
index 0de97b2..85e46b8 100644
--- a/coprs_frontend/coprs/templates/api.html
+++ b/coprs_frontend/coprs/templates/api.html
@@ -42,9 +42,9 @@
copr of.</td>
</tr>
</table>
- <p>URL will therefore look like:</p>
+ <p>URL is:</p>
<pre style="font-size:120%">
- /list/<username>/
+ /api/owned/<username>/
</pre>
<h4>Add a new copr</h4>
@@ -67,11 +67,9 @@
</tr>
</table>
- <p>URL will therefore look like:</p>
+ <p>URL is:</p>
<pre style="font-size:120%">
- /add/<name>/<chroots>/
- /add/<name>/<chroots>/<repos>/
-
/add/<name>/<chroots>/<repos>/<initial_pkgs>/
+ /api/copr/new/
</pre>