瀏覽代碼

Fixing the alias url in the examples

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
Mohan Boddu 3 年之前
父節點
當前提交
137c3ef5ff
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      pagure/api/project.py

+ 3 - 3
pagure/api/project.py

@@ -1967,7 +1967,7 @@ def api_drop_git_alias(repo, username=None, namespace=None):
 
     ::
 
-        POST /api/0/rpms/python-requests/alias/drop
+        POST /api/0/rpms/python-requests/git/alias/drop
 
 
     Input
@@ -2056,7 +2056,7 @@ def api_new_git_alias(repo, username=None, namespace=None):
 
     ::
 
-        POST /api/0/rpms/python-requests/alias/new
+        POST /api/0/rpms/python-requests/git/alias/new
 
 
     Input
@@ -2147,7 +2147,7 @@ def api_list_git_alias(repo, username=None, namespace=None):
 
     ::
 
-        GET /api/0/rpms/python-requests/alias
+        GET /api/0/rpms/python-requests/git/alias
 
 
     Sample response