[PATCH 2/4] [doc] fix API url in few places

Michal Srb msrb at redhat.com
Fri Mar 14 09:58:01 UTC 2014


---
 coprs_frontend/coprs/templates/api.html | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/coprs_frontend/coprs/templates/api.html b/coprs_frontend/coprs/templates/api.html
index 76866e7..c677109 100644
--- a/coprs_frontend/coprs/templates/api.html
+++ b/coprs_frontend/coprs/templates/api.html
@@ -155,7 +155,7 @@ copr_url = http://copr.fedoraproject.org
     <p><span style="font-style:italic">Login required</span></p>
 
     <h4>URL:</h4>
-    <pre style="font-size:120%">/api/copr/&lt;username&gt;/new/</pre>
+    <pre style="font-size:120%">/api/coprs/&lt;username&gt;/new/</pre>
 
     <h4>URL parameters:</h4>
     <ul>
@@ -179,7 +179,7 @@ copr_url = http://copr.fedoraproject.org
     <p><span style="font-style:italic">Login required</span></p>
 
     <h4>URL:</h4>
-    <pre style="font-size:120%">/api/copr/&lt;username&gt;/&lt;projectname&gt;/new_build/</pre>
+    <pre style="font-size:120%">/api/coprs/&lt;username&gt;/&lt;projectname&gt;/new_build/</pre>
 
     <h4>URL parameters:</h4>
     <ul>
@@ -207,7 +207,7 @@ copr_url = http://copr.fedoraproject.org
     <p><span style="font-style:italic">Login required</span></p>
 
     <h4>URL:</h4>
-    <pre style="font-size:120%">/api/copr/build_status/&lt;build_id&gt;/</pre>
+    <pre style="font-size:120%">/api/coprs/build_status/&lt;build_id&gt;/</pre>
 
     <h4>URL parameters:</h4>
     <ul>
@@ -238,7 +238,7 @@ copr_url = http://copr.fedoraproject.org
     <h3>Query build detail</h3>
 
     <h4>URL:</h4>
-    <pre style="font-size:120%">/api/copr/build_detail/&lt;build_id&gt;/</pre>
+    <pre style="font-size:120%">/api/coprs/build_detail/&lt;build_id&gt;/</pre>
 
     <h4>URL parameters:</h4>
     <ul>
@@ -277,7 +277,7 @@ copr_url = http://copr.fedoraproject.org
     <p><span style="font-style:italic">Login required</span></p>
 
     <h4>URL:</h4>
-    <pre style="font-size:120%">/api/copr/cancel_build/&lt;build_id&gt;/</pre>
+    <pre style="font-size:120%">/api/coprs/cancel_build/&lt;build_id&gt;/</pre>
 
     <h4>URL parameters:</h4>
     <ul>
-- 
1.8.5.3



More information about the copr-devel mailing list