service

​Get all services

GET http://localhost:5000/service

Query Parameters

Name
Type
Description

identifier

string

Identifier based on webhook trigger

tag

string

Tag you want deploy with

autodeploy

string

0 = Defualt, autodeploy disabled 1 = Autodeploy enabled

{
    "services": [
        {
            "ID": "epfnsbqk65kd0ttox5r71wm4p",
            "ClusterID": "51bb80u3dn7b3dvqn1bue20iz",
            "Name": "octopus-docker-agent_webhook_api"
        },
        {
            "ID": "7wedcla7s3ccodahcfro10wrt",
            "ClusterID": "xlmz8ju0mcb6zlpgapdyh3nud",
            "Name": "custom-stack_service-name-web"
        }
    ]
}

Update service

POST http://localhost:5000/service/{service_id}/update

Update a service and force updated it after to be sure everything is updated success, this endpoint will restart all containers for this service after your update is success.

Path Parameters

Name
Type
Description

service_id

string

service id

Request Body

Name
Type
Description

tag

string

image

string

Last updated

Was this helpful?