admin
This commit is contained in:
+11
-2
@@ -62,9 +62,15 @@ python new_project.py \
|
||||
--root <artifact-root>/staging/<request-id> \
|
||||
--channel-id <id> \
|
||||
--deployment-domains <domain> ... \
|
||||
--reporting-domains <domain> ...
|
||||
--reporting-domains <domain> ... \
|
||||
--support-template test|blank
|
||||
```
|
||||
|
||||
`support_template` selects the `web/support.html` page:
|
||||
|
||||
- `test` (default): current source campaign page with lab HUD
|
||||
- `blank`: loader scripts only, no HUD UI (white blank page)
|
||||
|
||||
It must create a channel-scoped tree below `--root`:
|
||||
|
||||
```text
|
||||
@@ -107,10 +113,13 @@ curl -i -X POST \
|
||||
https://builds.example.com/v1/channels/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/build \
|
||||
-d '{
|
||||
"deployment_domains": ["deploy.example"],
|
||||
"reporting_domains": ["report.example"]
|
||||
"reporting_domains": ["report.example"],
|
||||
"support_template": "test"
|
||||
}'
|
||||
```
|
||||
|
||||
`support_template` is optional (`test` by default). Allowed values: `test`, `blank`.
|
||||
|
||||
The first successful build returns `201`; the same normalized input returns
|
||||
`200`. A busy channel or conflicting existing release returns `409`, and an
|
||||
invalid channel, JSON body, domain, or field returns `422`.
|
||||
|
||||
Reference in New Issue
Block a user