diff docs/api/api.rst @ 2480:04ef27ce939e beta

API: create_repo returns now repo object after creation
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 03 Jun 2012 20:24:02 +0200
parents b902baeaa494
children 7ac09514a178
line wrap: on
line diff
--- a/docs/api/api.rst	Sun Jun 03 01:09:28 2012 +0200
+++ b/docs/api/api.rst	Sun Jun 03 20:24:02 2012 +0200
@@ -571,6 +571,15 @@
     result: {
               "id": "<newrepoid>",
               "msg": "Created new repository <reponame>",
+              "repo": {
+                "id" :          "<id>",
+                "repo_name" :   "<reponame>"
+                "type" :        "<type>",
+                "description" : "<description>",
+                "clone_uri" :   "<clone_uri>",
+                "private": :    "<bool>",
+                "created_on" :  "<datetimecreated>",
+              },
             }
     error:  null