-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathindex.yaml
More file actions
414 lines (404 loc) · 15.2 KB
/
Copy pathindex.yaml
File metadata and controls
414 lines (404 loc) · 15.2 KB
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
blocks:
- type: 'header-block'
width: 's'
offset: 'default'
title: 'Bitrix24 REST API'
resetPaddings: false
verticalOffset: 'l'
description: 'A tool for creating integrations, automating workflows, and customizing user scenarios in Bitrix24'
background:
light:
image:
mobile: '_images/cover.png'
desktop: '_images/cover.png'
disableCompress: true
color: '#E8E4FF'
fullWidth: false
dark:
image:
mobile: '_images/img_restapi_main.png'
desktop: '_images/img_restapi_main.png'
disableCompress: true
color: '#E8E4FF'
fullWidth: false
buttons:
- text: 'Get Started'
theme: 'outlined'
size: 'promo'
url: '/first-steps/index.html'
- text: 'GitHub'
theme: 'outlined'
size: 'promo'
url: 'https://github.com/bitrix24/b24-ai-starter'
- type: 'extended-features-block'
title:
text: 'Quick start'
items:
- title: 'Where to start'
icon: '_images/img_restapi_icon_01.svg'
text: 'Learn how the documentation is structured and how to use the API'
buttons:
- text: 'Learn more'
theme: 'outlined'
size: 'promo'
url: '/first-steps/index.html'
- title: 'How to get access'
icon: '_images/img_restapi_icon_02.svg'
text: 'Review the Bitrix24 plan requirements and start exploring Developer resources inside the product'
buttons:
- text: 'Review access'
theme: 'outlined'
size: 'promo'
url: '/first-steps/access-to-rest-api.html'
- title: 'How to make a request'
icon: '_images/img_restapi_icon_03.svg'
text: 'Follow a practical guide for your first Bitrix24 REST API call'
buttons:
- text: 'Try it'
theme: 'outlined'
size: 'promo'
url: '/first-steps/first-rest-api-call.html'
- type: 'card-layout-block'
title: 'How the REST API is structured'
colSizes:
all: 12
md: 4
sm: 6
children:
- type: 'basic-card'
title: 'API versions'
text: 'Bitrix24 uses two REST API versions: REST and REST 3.0. They differ by call path, the format of some responses, and the documentation coverage. Before you start, check which REST version your scenario uses.'
links:
- text: 'Compare REST versions'
theme: 'normal'
url: '/api-reference/rest-v3.html'
- type: 'basic-card'
title: 'Method naming'
text: 'A method name often helps identify the API area and the type of operation. However, the name alone is not enough to determine exact behavior, parameters, and limits. Use the name as a guide, and check the details in the API reference.'
links:
- text: 'API reference'
theme: 'normal'
url: '/api-reference/index.html'
- type: 'basic-card'
title: 'Method response'
text: 'REST API methods return JSON responses. The structure of a successful response and the error format depend on the REST version and the specific method. See the method description for the exact response fields.'
links:
- text: 'Error codes'
theme: 'normal'
url: '/error-codes.html'
- type: 'card-layout-block'
title: 'Choosing an integration scenario'
description: 'In Bitrix24, you can use webhooks and different types of applications. First decide whether you need a webhook or an application, then choose the right scenario based on architecture and interface requirements.'
colSizes:
all: 12
md: 6
sm: 6
children:
- type: 'layout-item'
content:
title: 'Quick calls to individual methods without building an application'
text: 'Use this for simple scenarios when you need to call individual methods quickly, without application server logic or a user interface in a slider.'
links:
- text: 'Webhook'
theme: 'normal'
url: '/local-integrations/local-webhooks.html'
- type: 'layout-item'
content:
title: 'Static page inside Bitrix24 without server logic'
text: 'Use this for simple local applications that open inside the account, do not run server logic, and do not send requests to an external server.'
links:
- text: 'Local application'
theme: 'normal'
url: '/local-integrations/local-apps.html'
- type: 'layout-item'
content:
title: 'Server logic with an interface in a slider'
text: 'This works for both local and mass-market applications. The choice depends on whether the solution is needed for one account only or will be published in Bitrix24 Market.'
links:
- text: 'Local application'
theme: 'normal'
url: '/local-integrations/local-apps.html'
- text: 'Mass-market application'
theme: 'normal'
url: '/market/index.html'
- type: 'layout-item'
content:
title: 'Server logic without an interface'
text: 'This works for both local and mass-market applications. Use this scenario when the application runs in the background and the user does not open it in a slider.'
links:
- text: 'Local application'
theme: 'normal'
url: '/local-integrations/local-apps.html'
- text: 'Mass-market application'
theme: 'normal'
url: '/market/index.html'
- dots: true
type: 'slider-block'
title:
text: 'Popular API sections'
description: 'A short list of sections developers often start with. See the <a href="/api-reference/index.html">API reference</a> for the full list of available features.'
children:
- type: 'basic-card'
title: 'CRM'
text: 'Leads, deals, contacts, companies, and smart processes'
buttons:
- text: 'CRM: API methods'
theme: 'outlined'
size: 'promo'
url: '/api-reference/crm/index.html'
- type: 'basic-card'
title: 'Tasks'
text: 'Tasks, checklists, comments, stages, and flows'
buttons:
- text: 'Tasks: API methods'
theme: 'outlined'
size: 'promo'
url: '/api-reference/tasks/index.html'
- type: 'basic-card'
title: 'Chats'
text: 'Chats, messages, notifications, and dialog operations'
buttons:
- text: 'Chats: API methods'
theme: 'outlined'
size: 'promo'
url: '/api-reference/chats/index.html'
- type: 'basic-card'
title: 'Catalog'
text: 'Products, prices, sections, properties, and stock balances'
buttons:
- text: 'Catalog: API methods'
theme: 'outlined'
size: 'promo'
url: '/api-reference/catalog/index.html'
- type: 'basic-card'
title: 'Users'
text: 'Users, company structure, and custom user fields'
buttons:
- text: 'Users: API methods'
theme: 'outlined'
size: 'promo'
url: '/api-reference/user/index.html'
- type: 'basic-card'
title: 'Calendar'
text: 'Events, calendars, resources, and booking'
buttons:
- text: 'Calendar: API methods'
theme: 'outlined'
size: 'promo'
url: '/api-reference/calendar/index.html'
arrows: false
- type: 'card-layout-block'
title: 'Key concepts'
colSizes:
all: 12
md: 4
sm: 6
children:
- type: 'basic-card'
title: 'Scope'
text: 'Calling a method requires the appropriate access permissions. The set of permissions depends on the integration scenario and the specific method. Check the requirements on the method page and in the scope description.'
links:
- text: 'Access permissions'
theme: 'normal'
url: '/api-reference/scopes/index.html'
- type: 'basic-card'
title: 'Limits'
text: 'Bitrix24 applies limits to request intensity and method resource usage. Before making bulk calls, review the limits and recommendations for reducing load.'
links:
- text: 'REST API limits'
theme: 'normal'
url: '/limits.html'
- type: 'basic-card'
title: 'Batch'
text: 'The batch method lets you combine several calls into one request and reduce the load on limits.'
links:
- text: 'How to use batch'
theme: 'normal'
url: '/settings/how-to-call-rest-api/batch.html'
- type: 'basic-card'
title: 'Pagination'
text: 'Many list methods return data in parts. The way results are paginated and the pagination parameters depend on the method and REST version. Check the details in the description of the specific method.'
links:
- text: 'List method specifics'
theme: 'normal'
url: '/settings/how-to-call-rest-api/list-methods-pecularities.html'
- type: 'basic-card'
title: 'Files'
text: 'Bitrix24 supports different scenarios for working with file fields. The way a file is passed depends on the field type and method. Before uploading, updating, or deleting a file, check which scenario the method supports.'
links:
- text: 'How to upload files'
theme: 'normal'
url: '/api-reference/files/how-to-upload-files.html'
- text: 'How to update and delete files'
theme: 'normal'
url: '/api-reference/files/how-to-update-files.html'
- type: 'card-layout-block'
title: 'Tutorials and common scenarios'
description: If you need a ready-made scenario for a practical task, start with <a href="/tutorials/index.html">Tutorials and Common Scenarios</a>. This section contains integration examples and typical tasks. For exact parameters and limits, use the specific method pages in the API reference.
colSizes:
all: 12
md: 4
sm: 6
children:
- type: 'layout-item'
content:
title: '<a href="/tutorials/crm/index.html">CRM</a>'
text: 'How to quickly link a website form to CRM? How to automatically create deals with product items? How to pass information for Sales Intelligence to Bitrix24 when creating a lead from your own source?'
media:
image: '_images/img_restapi_banner_s_01.png'
disableCompress: true
fullScreen: true
border: true
disableCompress: true
- type: 'layout-item'
content:
title: '<a href="/tutorials/sale/index.html">Online sales</a>'
text: 'How to quickly create an online store order? How to get a payment link to send to a client? How to connect your online cash register?'
media:
image: '_images/img_restapi_banner_s_02.png'
disableCompress: true
fullScreen: true
border: true
disableCompress: true
- type: 'layout-item'
content:
title: '<a href="/tutorials/index.html">And much more</a>'
text: 'Import data, integrate your telephony, use the product catalog, and explore dozens of ready-made practical examples.'
media:
image: '_images/img_restapi_banner_s_03.png'
disableCompress: true
fullScreen: true
border: true
disableCompress: true
links:
- text: 'Find an example'
theme: 'normal'
url: '/tutorials/index.html'
- type: 'filter-block'
centered: true
title:
text: 'Learn more'
tags:
- id: 'one'
label: 'Local integrations'
- id: 'two'
label: 'Bitrix24 Market'
- id: 'three'
label: 'API reference'
- id: 'four'
label: 'Development libraries'
colSizes:
all: 12
xl: 12
md: 12
sm: 12
items:
- tags:
- 'one'
card:
type: 'layout-item'
media:
image: '_images/local-integrations.png'
disableCompress: true
border: true
content:
links:
- text: 'View documentation'
url: './local-integrations/'
theme: 'normal'
arrow: true
color: #54BA7E
- tags:
- 'two'
card:
type: 'layout-item'
media:
image: '_images/market.png'
disableCompress: true
border: true
content:
links:
- text: 'View documentation'
url: 'market'
theme: 'normal'
arrow: true
color: #54BA7E
- tags:
- 'three'
card:
type: 'layout-item'
media:
image: '_images/api-reference.png'
disableCompress: true
border: true
content:
links:
- text: 'View documentation'
url: 'api-reference'
theme: 'normal'
arrow: true
color: #54BA7E
- tags:
- 'four'
card:
type: 'layout-item'
media:
image: '_images/sdk.jpg'
disableCompress: true
border: true
content:
links:
- text: 'View documentation'
url: 'sdk'
theme: 'normal'
arrow: true
color: #54BA7E
- type: 'card-layout-block'
title: 'Community and communication with Bitrix24'
children:
- type: 'background-card'
title: 'Improve documentation'
text: 'We have made the documentation source code publicly available. You can help us make it better.'
background:
src: '_images/img_restapi_banner_l_01.png'
disableCompress: true
paddingBottom: 'm'
buttons:
- text: 'Details'
theme: 'raised'
url: 'feedback.html'
border: none
theme: 'light'
- type: 'background-card'
title: 'Connect with colleagues'
text: 'If you did not find an answer in the official documentation, join the developer community. It is the best place to share experience.'
background:
src: '_images/img_restapi_banner_l_02.png'
disableCompress: true
paddingBottom: 'm'
buttons:
- text: 'Details'
theme: 'raised'
url: 'support.html'
border: none
theme: 'light'
- type: 'background-card'
title: 'Contact support'
text: 'Our technical support team helps partners and clients resolve issues. We are always open to dialogue.'
background:
src: '_images/img_restapi_banner_l_03.png'
disableCompress: true
paddingBottom: 'm'
buttons:
- text: 'Details'
theme: 'raised'
url: 'support.html'
theme: 'light'
border: none
- type: 'icons-block'
size: 'm'
title: 'Join us'
items:
- src: '_images/telegram.svg'
text: 'B24 REST and Apps'
url: 'https://t.me/b24_dev'