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

Added new endpoint for executing scripts. #287

Merged
merged 1 commit into from
Jan 26, 2021

Conversation

mjedraszczyk
Copy link
Contributor

No description provided.

@mjedraszczyk mjedraszczyk merged commit 17729c4 into master Jan 26, 2021
@mjedraszczyk
Copy link
Contributor Author

Added new endpoint for executing scripts: /bin/apm/scripts/exec

POST

Params:

  • script - path to script e.g. /conf/apm/scripts/main.apm
  • executionMode - available values: DRY_RUN, RUN
  • async (optional) - execute script asynchronously
  • defineXxx (optional) - creates definition xxx, this definition is available for script

GET

Params:

  • id - id of script execution

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

Successfully merging this pull request may close these issues.

1 participant