Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Execute Package for V2 API #205

Open
khomco opened this issue May 23, 2016 · 0 comments
Open

Implement Execute Package for V2 API #205

khomco opened this issue May 23, 2016 · 0 comments

Comments

@khomco
Copy link

khomco commented May 23, 2016

Please implement the Execute Package API call.

From the API Docs (https://www.ctl.io/api-docs/v2/#server-actions-execute-package):

POST https://api.ctl.io/v2/operations/{accountAlias}/servers/executePackage

Example Request

{
    "servers": [
        "wa1aliaswb01"
    ],
    "package": {
        "packageId": "86567681-c79c-1234-a530-850708435c23",
        "parameters": {
            "AB.HelloWorld.Variable": "someValue"
        }
    }
}

Example Response

[
  {
    "server":"wa1aliaswb01",
    "isQueued":true,
    "links":[
      {
        "rel":"status",
        "href":"/v2/operations/alias/status/wa1-12345",
        "id":"wa1-12345"
      }
    ]
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant