Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating release using Octopus rest API

Please can anybody explain me how to create release using Octopus REST API.
I can create a release using octo.exe but have no idea how to do that using REST API.
I went through the http://localhost:8080/api, but cant figure it out how to create a release.

Is this REST api providing that feature??

like image 789
New Developer Avatar asked Oct 04 '22 18:10

New Developer


1 Answers

I have not used Octopus myself, but as far as I understand you have to make an HTTP POST request to an URL like this:

http://localhost:8080/api/projects/1/releases

In your request body you specify the same parameters as you would do it using the command line tool but you have to encode them as JSON.

like image 128
benjiman Avatar answered Oct 07 '22 21:10

benjiman