mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 18:21:03 -03:30
(docs): enabled syntax highlighting for http patch
This commit is contained in:
@@ -140,14 +140,16 @@ Assigning Custom Virtualenvs
|
|||||||
Once you've created a custom virtualenv, you can assign it at the Organization,
|
Once you've created a custom virtualenv, you can assign it at the Organization,
|
||||||
Project, or Job Template level:
|
Project, or Job Template level:
|
||||||
|
|
||||||
PATCH https://awx-host.example.org/api/v2/organizations/N/
|
```http
|
||||||
PATCH https://awx-host.example.org/api/v2/projects/N/
|
PATCH https://awx-host.example.org/api/v2/organizations/N/
|
||||||
PATCH https://awx-host.example.org/api/v2/job_templates/N/
|
PATCH https://awx-host.example.org/api/v2/projects/N/
|
||||||
|
PATCH https://awx-host.example.org/api/v2/job_templates/N/
|
||||||
|
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
{
|
{
|
||||||
'custom_virtualenv': '/opt/my-envs/custom-venv/'
|
"custom_virtualenv": "/opt/my-envs/custom-venv/"
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
An HTTP `GET` request to `/api/v2/config/` will provide a list of
|
An HTTP `GET` request to `/api/v2/config/` will provide a list of
|
||||||
detected installed virtualenvs:
|
detected installed virtualenvs:
|
||||||
|
|||||||
Reference in New Issue
Block a user