Run command as Rest API - body of the API call documentation not clear
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- shell
- Domain
- documentation
Research direction
Start with the linked RunCommandInputParameter documentation and the reported BadRequest response. Identify where the POST body and RunShellScript script value are documented, then make the expected request shape unambiguous and verify it against the reported error.
Written by the indexing model from the issue text.
Description
I was following this documentation and trying to run a simple shell script in a vm using this.
But what needs to be the content of the body of the post request is not clear. The commandID can be RunShellScript but where doe we provide the script value.
script: 'scriptname'
script: 'sh scriptname'
and other each resulting in
{
"error": {
"code": "BadRequest",
"message": "Error converting value "/home/adminwm/quick-python-test.sh" to type 'System.Collections.Generic.List`1[System.String]'. Path 'script', line 3, position 52.",
"target": "runCommandInput.script"
}
}
- Dominant language
- Go
- Stars
- 4
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/run-command-extension-linux
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Azure/run-command-extension-linux#7 · 2 comments ·
All issues in Azure/run-command-extension-linux
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100