[PATCH 3/4] Update API documentation

Pierre-Yves Chibon pingou at pingoured.fr
Sun Mar 10 09:55:50 UTC 2013


---
 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 cb77a23..0ea30b2 100644
--- a/coprs_frontend/coprs/templates/api.html
+++ b/coprs_frontend/coprs/templates/api.html
@@ -43,9 +43,9 @@
                 copr of.</td>
         </tr>
     </table>
-    <p>URL will therefore look like:</p>
+    <p>URL is:</p>
     <pre style="font-size:120%">
-    /list/&lt;username&gt;/
+    /api/owned/&lt;username&gt;/
     </pre>
 
     <h4>Add a new copr</h4>
@@ -68,11 +68,9 @@
         </tr>
     </table>
 
-    <p>URL will therefore look like:</p>
+    <p>URL is:</p>
     <pre style="font-size:120%">
-    /add/&lt;name&gt;/&lt;chroots&gt;/
-    /add/&lt;name&gt;/&lt;chroots&gt;/&lt;repos&gt;/
-    /add/&lt;name&gt;/&lt;chroots&gt;/&lt;repos&gt;/&lt;initial_pkgs&gt;/
+    /api/copr/new/
     </pre>
 
 
-- 
1.7.1



More information about the copr-devel mailing list