API: Added event time
This commit is contained in:
parent
7637e0c66e
commit
6e4c9b2405
|
@ -391,12 +391,9 @@ components:
|
||||||
properties:
|
properties:
|
||||||
start:
|
start:
|
||||||
$ref: '#/components/schemas/DateTimeOptional'
|
$ref: '#/components/schemas/DateTimeOptional'
|
||||||
end:
|
|
||||||
$ref: '#/components/schemas/DateTimeOptional'
|
|
||||||
required:
|
required:
|
||||||
- start
|
- start
|
||||||
- end
|
event:
|
||||||
teardown:
|
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
start:
|
start:
|
||||||
|
@ -406,6 +403,13 @@ components:
|
||||||
required:
|
required:
|
||||||
- start
|
- start
|
||||||
- end
|
- end
|
||||||
|
teardown:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
end:
|
||||||
|
$ref: '#/components/schemas/DateTimeOptional'
|
||||||
|
required:
|
||||||
|
- end
|
||||||
required:
|
required:
|
||||||
- api
|
- api
|
||||||
- spec
|
- spec
|
||||||
|
@ -414,6 +418,7 @@ components:
|
||||||
- url
|
- url
|
||||||
- timezone
|
- timezone
|
||||||
- buildup
|
- buildup
|
||||||
|
- event
|
||||||
- teardown
|
- teardown
|
||||||
|
|
||||||
security:
|
security:
|
||||||
|
|
|
@ -67,10 +67,12 @@ class IndexController extends ApiController
|
||||||
'timezone' => (string) $config->get('timezone'),
|
'timezone' => (string) $config->get('timezone'),
|
||||||
'buildup' => [
|
'buildup' => [
|
||||||
'start' => $config->get('buildup_start'),
|
'start' => $config->get('buildup_start'),
|
||||||
'end' => $config->get('buildup_end'),
|
],
|
||||||
|
'event' => [
|
||||||
|
'start' => $config->get('event_start'),
|
||||||
|
'end' => $config->get('event_end'),
|
||||||
],
|
],
|
||||||
'teardown' => [
|
'teardown' => [
|
||||||
'start' => $config->get('teardown_start'),
|
|
||||||
'end' => $config->get('teardown_end'),
|
'end' => $config->get('teardown_end'),
|
||||||
],
|
],
|
||||||
]];
|
]];
|
||||||
|
|
Loading…
Reference in New Issue