Skip to content
This repository
Browse code

Merge pull request #986 from slavo/master

Fixed errors in documentation for tag creation API
#987
  • Loading branch information...
commit 65c74d72083a8740e6086ce67fadfb9f81b89a34 2 parents 7e16baa + 9687c57
Jaisen Mathai authored October 05, 2012

Showing 1 changed file with 4 additions and 8 deletions. Show diff stats Hide diff stats

  1. 12  documentation/api/PostTagCreate.markdown
12  documentation/api/PostTagCreate.markdown
Source Rendered
@@ -62,20 +62,16 @@ _Authentication: required_
62 62
 The response is in a standard [response envelope](http://theopenphotoproject.org/documentation/api/Envelope).
63 63
 
64 64
 * _message_, A string describing the result. Don't use this for anything but reading.
65  
-* _code_, _200_ on success
66  
-* _result_, A [Tag][Tag] object or FALSE on error
  65
+* _code_, _201_ on success
  66
+* _result_, Boolean
67 67
 
68 68
 <a name="sample"></a>
69 69
 #### Sample
70 70
 
71 71
     {
72 72
       "message":"",
73  
-      "code":200,
74  
-      "result":
75  
-      {
76  
-        "id": "mountain",
77  
-        "count": 1
78  
-      }
  73
+      "code":201,
  74
+      "result": true
79 75
     }
80 76
 
81 77
 

0 notes on commit 65c74d7

Please sign in to comment.
Something went wrong with that request. Please try again.