Move view around and inherit from right view to get OPTIONS

we needed to inherit from GenericAPIView to get the options to render
correctly

q!

add execution env support

add organization validation to the workflowjob

Update awx/api/serializers.py

Co-authored-by: Elijah DeLee <kdelee@redhat.com>

Update awx/api/serializers.py

Co-authored-by: Elijah DeLee <kdelee@redhat.com>
This commit is contained in:
Elijah DeLee
2022-12-21 00:26:49 -05:00
parent 81ba6c0234
commit 02e5ba5f94
6 changed files with 99 additions and 46 deletions

View File

@@ -0,0 +1,16 @@
# Bulk Job Launch
This endpoint allows the client to launch multiple UnifiedJobTemplates at a time, along side any launch time parameters that they would normally set at launch time.
Example:
```
{
"name": "my bulk job",
"jobs": [
{"unified_job_template": 7, "inventory": 2},
{"unified_job_template": 7, "credentials": [3]}
]
}
```