-
Notifications
You must be signed in to change notification settings - Fork 2
/
1c_update_external_component.yaml
142 lines (137 loc) · 3.91 KB
/
1c_update_external_component.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
openapi: 3.0.2
info:
title: API Сервиса получения компонент
version: '1.0'
servers:
- url: https://external-components-manager.1c.ru/api/external-components/
- url: https://external-components-manager.1c.eu/api/external-components/
paths:
/version:
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VersionReq'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/VersionResp'
/version/latest:
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VersionLatestReq'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/VersionResp'
/version/download:
post:
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VersionDownloadReq'
responses:
'200':
description: OK, zip
components:
schemas:
VersionReq:
type: object
properties:
programNick:
type: string
externalComponents:
type: array
items:
type: object
properties:
externalComponentNick:
type: string
version:
type: string
authenticationInfo:
type: object
properties:
login:
type: string
password:
type: string
additionalParams:
type: array
items:
type: object
VersionResp:
title: Ответ
type: array
items:
type: object
properties:
externalComponentNick:
type: string
description: идентификатор внешней компоненты в сервисе
externalComponentName:
type: string
description: наименование внешней компоненты
version:
type: string
description: номер актуальной версии
fileUrl:
type: string
description: ссылка на скачивание файла актуальной версии
hashSum:
type: string
description: контрольная сумма файла
buildDate:
type: string
description: дата создания версии
fileSize:
type: string
description: размер файла
errorCode:
type: string
description: код ошибки
VersionLatestReq:
title: Запрос
type: object
properties:
programNick:
type: string
description: Имя программы в сервисах Интернет-поддержки
externalComponentNickList:
description:
содержит уникальный идентификатор внешней компоненты,
который указывается пользователем при создании новой компоненты;
type: array
items:
type: string
authenticationInfo:
type: object
properties:
login:
type: string
password:
type: string
additionalParameters:
type: array
items:
type: object
VersionDownloadReq:
type: object
properties:
programNick:
type: string
login:
type: string
password:
type: string