gitlabexampleserver.com **

On Thursday, 7 July 2016 21:36:28 UTC-7, Pramod Setlur wrote:
>
> Hey Yusuf, 
>
> I am not even able to create a tag. can you please help?
>
> I am using the api in postman.
>
> URL:
> https://gitserver.com/api/v3/projects/9733/repository/tags
> the body is:
> [
>     "name": "why",
>     "message": "test"
> ] and the header has my private-token.
>
> it keeps complaining 
> {
>   "message": "Tag name invalid"
> }
>
> I even tried the default one provided in the documentation:
>
>
> [
>   {
>     "commit": {
>       "author_name": "John Smith",
>       "author_email": "j...@example.com",
>       "authored_date": "2012-05-28T04:42:42-07:00",
>       "committed_date": "2012-05-28T04:42:42-07:00",
>       "committer_name": "Jack Smith",
>       "committer_email": "j...@example.com",
>       "id": "2695effb5807a22ff3d138d593fd856244e155e7",
>       "message": "Initial commit"
>     },
>     "release": {
>       "tag_name": "1.0.0",
>       "description": "Amazing release. Wow"
>     },
>     "name": "v1.0.0",
>     "message": "test"
>   }
> ]
>
>
> Thanks in advance!!
>
> On Friday, 16 January 2015 03:47:39 UTC-8, Yusuf Tran wrote:
>>
>> Hi Guys,
>>
>> I'm able to create a tag via curl but would like to delete or overwrite, 
>> when I use the command to create another tag with the same name (in the 
>> hopes of over writing the existing one or create a new one) I just get a 
>> returned json of the existing tag.
>>
>> Is it possible to delete or overwrite a tag via the api and if so can 
>> someone explain how?
>>
>> Many Thanks
>> Yusuf
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/dc450c9b-3407-4526-8001-311a78674505%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to