Skip to content

Commit db6cbcc

Browse files
committed
Add example input for creating tag objects
1 parent f52b87a commit db6cbcc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

content/v3/git/tags.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@ tagger.email
5454
tagger.date
5555
: _Timestamp_ of when this object was tagged
5656

57+
### Example Input
58+
59+
<%= json "tag"=> "v0.0.1", \
60+
"message" => "initial version\n", \
61+
"object" => "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c", \
62+
"type" => "commit", \
63+
"tagger"=> \
64+
{"name" => "Scott Chacon", "email" => "schacon@gmail.com", \
65+
"date" => "2011-06-17T14:53:35-07:00"} %>
66+
5767
### Response
5868

5969
<%= headers 201,

0 commit comments

Comments
 (0)