feature/H-246 #8
@@ -2986,6 +2986,52 @@ paths:
|
|||||||
500:
|
500:
|
||||||
description: Server Error.
|
description: Server Error.
|
||||||
|
|
||||||
|
/timezone/index:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- timezone
|
||||||
|
summary: Timezone index.
|
||||||
|
operationId: /timezone/index
|
||||||
|
parameters:
|
||||||
|
- name: id
|
||||||
|
in: query
|
||||||
|
description: Идентификатор
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example: Africa
|
||||||
|
- name: name
|
||||||
|
in: query
|
||||||
|
description: Название
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example: Москва
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: Timezone objects.
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/timezone'
|
||||||
|
_links:
|
||||||
|
$ref: '#/components/schemas/_links'
|
||||||
|
_meta:
|
||||||
|
$ref: '#/components/schemas/_meta'
|
||||||
|
400:
|
||||||
|
description: Bad Request.
|
||||||
|
401:
|
||||||
|
description: Unauthorized.
|
||||||
|
403:
|
||||||
|
description: Unauthorized.
|
||||||
|
404:
|
||||||
|
description: Not found.
|
||||||
|
500:
|
||||||
|
description: Server Error.
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
_meta:
|
_meta:
|
||||||
@@ -3695,6 +3741,14 @@ components:
|
|||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
timezone:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
|
||||||
contact:
|
contact:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
Reference in New Issue
Block a user