This documentation is for Octopus Deploy Version 3.15. View the latest version.

Octopus REST API

Last updated

Octopus as an API-First application

Architecturally, Octopus Deploy is built API-first. This means that Octopus is built in layers - all data and operations are available over its REST API. The Octopus Web Portal (the main Octopus UI) is actually built on top of this API. In the Octopus Web Portal, we don't use any shortcuts - 100% of the data and operations that you can see and perform in the Octopus UI can be performed over the REST API.

The Octopus REST API is designed:

  1. To be friendly and easy to figure out
  2. To be hypermedia driven, using links and the occasional URI template (read more)
  3. To be comprehensive - 100% of the actions that you perform via the Octopus UI can be performed via the API
  4. To have a nice client library for .NET available via NuGet

Using C#?
If you plan to use the REST API from C# or another .NET project, see the Octopus.Client assembly.

REST API documentation via Swagger

As of 3.17, Octopus now includes the default Swagger UI for displaying the API documentaiton in a nice human readable way. To browse that UI just open your browser and go to [OctopusServerURL]/swaggerui/

In This Section

The rest of this section covers these topics in some more detail, and explains how to implement them.