@wirecat/yandex-disk-cli 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/LICENSE +204 -0
- package/README.md +243 -2
- package/contracts/wirecat.json +1554 -0
- package/dist/bin/ydisk.d.ts +3 -0
- package/dist/bin/ydisk.d.ts.map +1 -0
- package/dist/bin/ydisk.js +40 -0
- package/dist/bin/ydisk.js.map +1 -0
- package/dist/bundle/all-profiles-4OLZF3RT.js +279 -0
- package/dist/bundle/anthropic-DKB4OJXZ.js +91 -0
- package/dist/bundle/app-server-G4545SSV.js +247 -0
- package/dist/bundle/bun-RXEQKFED.js +169 -0
- package/dist/bundle/bun-sqlite-VHT5LN7U.js +76 -0
- package/dist/bundle/chunk-2BITUXGC.js +12289 -0
- package/dist/bundle/chunk-2CLWDQKA.js +39330 -0
- package/dist/bundle/chunk-2JFDOPKA.js +9575 -0
- package/dist/bundle/chunk-3GVI2MAO.js +106 -0
- package/dist/bundle/chunk-3SZBWBMI.js +131 -0
- package/dist/bundle/chunk-44VSEXW6.js +4054 -0
- package/dist/bundle/chunk-4YPRRQBE.js +95 -0
- package/dist/bundle/chunk-5COYRL5B.js +379 -0
- package/dist/bundle/chunk-5D4AEUVA.js +24783 -0
- package/dist/bundle/chunk-5DM7DIZL.js +1402 -0
- package/dist/bundle/chunk-6R2DVTVZ.js +24 -0
- package/dist/bundle/chunk-762BS35H.js +2787 -0
- package/dist/bundle/chunk-AG64V7AB.js +1233 -0
- package/dist/bundle/chunk-BC5HGIXB.js +334 -0
- package/dist/bundle/chunk-BH7LFEX7.js +36 -0
- package/dist/bundle/chunk-BLNPGY7N.js +53 -0
- package/dist/bundle/chunk-CNIA2LJF.js +372 -0
- package/dist/bundle/chunk-COSXMDC7.js +230 -0
- package/dist/bundle/chunk-D72URWJE.js +532 -0
- package/dist/bundle/chunk-D7FO33KU.js +785 -0
- package/dist/bundle/chunk-DFDN6AUB.js +21 -0
- package/dist/bundle/chunk-DJH26PQ3.js +1396 -0
- package/dist/bundle/chunk-DJPT7IUC.js +64567 -0
- package/dist/bundle/chunk-DTMSCZDW.js +209 -0
- package/dist/bundle/chunk-E6LGZ5LX.js +16 -0
- package/dist/bundle/chunk-E6YRIHS5.js +92 -0
- package/dist/bundle/chunk-EH6ZEJGT.js +932 -0
- package/dist/bundle/chunk-F3DDSZTF.js +78 -0
- package/dist/bundle/chunk-F4WWTQNL.js +188 -0
- package/dist/bundle/chunk-FDDAUASC.js +1028 -0
- package/dist/bundle/chunk-FMNPG6N2.js +170 -0
- package/dist/bundle/chunk-FOKJ4POB.js +274 -0
- package/dist/bundle/chunk-G22C7JG6.js +731 -0
- package/dist/bundle/chunk-GA442SYZ.js +161 -0
- package/dist/bundle/chunk-GEBSW7UK.js +6848 -0
- package/dist/bundle/chunk-GGRKWAOK.js +594 -0
- package/dist/bundle/chunk-HHINRNZA.js +788 -0
- package/dist/bundle/chunk-HUZCL33L.js +128 -0
- package/dist/bundle/chunk-IALSIQVT.js +142 -0
- package/dist/bundle/chunk-IOXR2QBX.js +398 -0
- package/dist/bundle/chunk-J5CXR6VX.js +63 -0
- package/dist/bundle/chunk-J5PWSTOX.js +82 -0
- package/dist/bundle/chunk-J7BVAEHR.js +364 -0
- package/dist/bundle/chunk-JH46HMZW.js +1334 -0
- package/dist/bundle/chunk-JOBO7F6W.js +52 -0
- package/dist/bundle/chunk-JXZ5B3L5.js +2333 -0
- package/dist/bundle/chunk-KBIAMDZN.js +66 -0
- package/dist/bundle/chunk-KFVDL2QS.js +146 -0
- package/dist/bundle/chunk-LNHTLSR5.js +288 -0
- package/dist/bundle/chunk-M24RAKMJ.js +58 -0
- package/dist/bundle/chunk-MDQ57Q3H.js +1197 -0
- package/dist/bundle/chunk-MGUEZYFA.js +5546 -0
- package/dist/bundle/chunk-MLXQ4X5L.js +206 -0
- package/dist/bundle/chunk-NQAKARHE.js +54 -0
- package/dist/bundle/chunk-OF7VVUDQ.js +23 -0
- package/dist/bundle/chunk-OQVPE3XK.js +324 -0
- package/dist/bundle/chunk-OR3QG7UR.js +259 -0
- package/dist/bundle/chunk-OUUYVROP.js +76 -0
- package/dist/bundle/chunk-PQBAM64O.js +168 -0
- package/dist/bundle/chunk-PYVIA7WF.js +88 -0
- package/dist/bundle/chunk-Q6HK3PHE.js +72 -0
- package/dist/bundle/chunk-QB3KECV2.js +218 -0
- package/dist/bundle/chunk-QGWXSFYN.js +73 -0
- package/dist/bundle/chunk-RC5QAAAE.js +29 -0
- package/dist/bundle/chunk-RMJ26HLB.js +18 -0
- package/dist/bundle/chunk-S4UUN6LD.js +1410 -0
- package/dist/bundle/chunk-T7ZUDA4C.js +72 -0
- package/dist/bundle/chunk-TRCSMVV5.js +72 -0
- package/dist/bundle/chunk-UD2BQEKA.js +46 -0
- package/dist/bundle/chunk-V4TL55GS.js +1068 -0
- package/dist/bundle/chunk-VJNWN5VU.js +4072 -0
- package/dist/bundle/chunk-VRRNBLMA.js +1227 -0
- package/dist/bundle/chunk-WUCMMNFJ.js +771 -0
- package/dist/bundle/chunk-XDESE3NY.js +44 -0
- package/dist/bundle/chunk-XFLCVHSQ.js +50 -0
- package/dist/bundle/chunk-XQUUANA2.js +24600 -0
- package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
- package/dist/bundle/chunk-Z2QEON7B.js +2275 -0
- package/dist/bundle/chunk-ZMJ56GME.js +7 -0
- package/dist/bundle/chunk-ZTSB3D7Q.js +100 -0
- package/dist/bundle/chunk-ZVJWD3FK.js +38 -0
- package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
- package/dist/bundle/command-contract-YIOYGPJA.js +40 -0
- package/dist/bundle/command-server-entry-MHBQDXS4.js +169 -0
- package/dist/bundle/decode-NUGJIOUW.js +297 -0
- package/dist/bundle/definitions-AILHKEQT.js +2005 -0
- package/dist/bundle/dispatch-5LC4UEGY.js +411 -0
- package/dist/bundle/dist-4I2W6X2I.js +7577 -0
- package/dist/bundle/echarts-MHSH6PGC.js +42501 -0
- package/dist/bundle/embed-ZDXTHHYS.js +38 -0
- package/dist/bundle/embedder-XFEELFUL.js +111 -0
- package/dist/bundle/failure-5S7VPBYK.js +25 -0
- package/dist/bundle/first-run-JHCHT3RJ.js +29 -0
- package/dist/bundle/first-screen-FHGQ6QRV.js +40 -0
- package/dist/bundle/instructions-WKSMBUFX.js +11 -0
- package/dist/bundle/mcp-HS2ZDUVR.js +167 -0
- package/dist/bundle/mdast-util-from-markdown-R66F4HZA.js +1958 -0
- package/dist/bundle/mdast-util-gfm-LN2ELINH.js +2699 -0
- package/dist/bundle/meeting-combined-K4U4NYRZ.js +25 -0
- package/dist/bundle/meeting-model-KCEG6Y5O.js +26 -0
- package/dist/bundle/meeting-semantic-VYGSV3H6.js +22 -0
- package/dist/bundle/micromark-extension-gfm-5X7YT43T.js +1838 -0
- package/dist/bundle/node-CM6NC6UE.js +176 -0
- package/dist/bundle/node-KM3CUABH.js +2340 -0
- package/dist/bundle/node-TLZSIHIJ.js +21 -0
- package/dist/bundle/node-sqlite-5YDQ3LIJ.js +74 -0
- package/dist/bundle/notes-search-PGO7KM2U.js +62 -0
- package/dist/bundle/oauth-NY4C5UCK.js +20 -0
- package/dist/bundle/open-YNUTA6ZE.js +23 -0
- package/dist/bundle/openai-4CVT5PHH.js +241 -0
- package/dist/bundle/process-2XT3TL27.js +91 -0
- package/dist/bundle/program-FMIVF5T6.js +31904 -0
- package/dist/bundle/prompt-VNWY3H6S.js +17 -0
- package/dist/bundle/recognize-JS4PBPSZ.js +26 -0
- package/dist/bundle/remote-RCLFH4V2.js +32 -0
- package/dist/bundle/rerank-EG6VKYGO.js +52 -0
- package/dist/bundle/schemas-ED2LHKXK.js +645 -0
- package/dist/bundle/serve-AHG25QXB.js +199 -0
- package/dist/bundle/server-5FTB7WM3.js +78 -0
- package/dist/bundle/server-JNZVSAZE.js +209 -0
- package/dist/bundle/sqlite-runtime-XSZOAQPF.js +20 -0
- package/dist/bundle/state-XGVAJFF7.js +36 -0
- package/dist/bundle/store-OHSCWZEV.js +177 -0
- package/dist/bundle/store-PKSPKJXL.js +293 -0
- package/dist/bundle/store-maintenance-command-KAWGBSWK.js +69 -0
- package/dist/bundle/ydisk.js +183 -0
- package/dist/commands/api.d.ts +9 -0
- package/dist/commands/api.d.ts.map +1 -0
- package/dist/commands/api.js +59 -0
- package/dist/commands/api.js.map +1 -0
- package/dist/commands/comments.d.ts +3 -0
- package/dist/commands/comments.d.ts.map +1 -0
- package/dist/commands/comments.js +114 -0
- package/dist/commands/comments.js.map +1 -0
- package/dist/commands/files.d.ts +3 -0
- package/dist/commands/files.d.ts.map +1 -0
- package/dist/commands/files.js +272 -0
- package/dist/commands/files.js.map +1 -0
- package/dist/commands/library.d.ts +13 -0
- package/dist/commands/library.d.ts.map +1 -0
- package/dist/commands/library.js +118 -0
- package/dist/commands/library.js.map +1 -0
- package/dist/commands/session.d.ts +3 -0
- package/dist/commands/session.d.ts.map +1 -0
- package/dist/commands/session.js +99 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/config.d.ts +18 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +62 -0
- package/dist/config.js.map +1 -0
- package/dist/context.d.ts +80 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +77 -0
- package/dist/context.js.map +1 -0
- package/dist/generated/definitions.d.ts +3 -0
- package/dist/generated/definitions.d.ts.map +1 -0
- package/dist/generated/definitions.js +2001 -0
- package/dist/generated/definitions.js.map +1 -0
- package/dist/generated/manifest.d.ts +6 -0
- package/dist/generated/manifest.d.ts.map +1 -0
- package/dist/generated/manifest.js +1473 -0
- package/dist/generated/manifest.js.map +1 -0
- package/dist/generated/schemas.d.ts +127 -0
- package/dist/generated/schemas.d.ts.map +1 -0
- package/dist/generated/schemas.js +545 -0
- package/dist/generated/schemas.js.map +1 -0
- package/dist/generated/types.d.ts +829 -0
- package/dist/generated/types.d.ts.map +1 -0
- package/dist/generated/types.js +5 -0
- package/dist/generated/types.js.map +1 -0
- package/dist/identity.d.ts +10 -0
- package/dist/identity.d.ts.map +1 -0
- package/dist/identity.js +33 -0
- package/dist/identity.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/program.d.ts +6 -0
- package/dist/program.d.ts.map +1 -0
- package/dist/program.js +65 -0
- package/dist/program.js.map +1 -0
- package/dist/sample/comments.d.ts +61 -0
- package/dist/sample/comments.d.ts.map +1 -0
- package/dist/sample/comments.js +39 -0
- package/dist/sample/comments.js.map +1 -0
- package/dist/sample/records.d.ts +16 -0
- package/dist/sample/records.d.ts.map +1 -0
- package/dist/sample/records.js +22 -0
- package/dist/sample/records.js.map +1 -0
- package/dist/sample/transport.d.ts +42 -0
- package/dist/sample/transport.d.ts.map +1 -0
- package/dist/sample/transport.js +153 -0
- package/dist/sample/transport.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/dist/yandex/source.d.ts +39 -0
- package/dist/yandex/source.d.ts.map +1 -0
- package/dist/yandex/source.js +189 -0
- package/dist/yandex/source.js.map +1 -0
- package/dist/yandex/transport.d.ts +41 -0
- package/dist/yandex/transport.d.ts.map +1 -0
- package/dist/yandex/transport.js +152 -0
- package/dist/yandex/transport.js.map +1 -0
- package/dist/yandex/writes.d.ts +27 -0
- package/dist/yandex/writes.d.ts.map +1 -0
- package/dist/yandex/writes.js +61 -0
- package/dist/yandex/writes.js.map +1 -0
- package/package.json +88 -4
- package/skills/yandex-disk-cli/SKILL.md +46 -0
- package/skills/yandex-disk-cli/references/api/api-disk-operations-operation-id.md +13 -0
- package/skills/yandex-disk-cli/references/api/api-disk-public-resources.md +50 -0
- package/skills/yandex-disk-cli/references/api/api-disk-resources.md +171 -0
- package/skills/yandex-disk-cli/references/api/api-disk-trash-resources.md +48 -0
- package/skills/yandex-disk-cli/references/api/api-disk.md +13 -0
- package/skills/yandex-disk-cli/references/api.md +17 -0
|
@@ -0,0 +1,2001 @@
|
|
|
1
|
+
// GENERATED. DO NOT EDIT.
|
|
2
|
+
// Source: spec/ydisk/, checked against provenance.json
|
|
3
|
+
// Run: pnpm generate
|
|
4
|
+
export const definitions = {
|
|
5
|
+
AiPhotoEditorCounter: {
|
|
6
|
+
type: "object",
|
|
7
|
+
properties: {
|
|
8
|
+
count: {
|
|
9
|
+
description: "Количество сохранений",
|
|
10
|
+
type: "integer",
|
|
11
|
+
format: "int64",
|
|
12
|
+
},
|
|
13
|
+
max_count: {
|
|
14
|
+
description: "Максимальное количество сохранений",
|
|
15
|
+
type: "integer",
|
|
16
|
+
format: "int64",
|
|
17
|
+
},
|
|
18
|
+
reset_datetime: {
|
|
19
|
+
description: "Дата и время сброса счетчика, timestamp в секундах",
|
|
20
|
+
type: "integer",
|
|
21
|
+
format: "int64",
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
required: [],
|
|
25
|
+
},
|
|
26
|
+
CustomRestrictions: {
|
|
27
|
+
type: "object",
|
|
28
|
+
properties: {
|
|
29
|
+
is_filesize_limit_reduced: {
|
|
30
|
+
description: "Признак уменьшенного лимита размера файла.",
|
|
31
|
+
type: "boolean",
|
|
32
|
+
},
|
|
33
|
+
monthly_traffic_limit_bytes: {
|
|
34
|
+
description: "Максимальный месячный трафик на загрузку в байтах.",
|
|
35
|
+
type: "integer",
|
|
36
|
+
format: "int64",
|
|
37
|
+
},
|
|
38
|
+
photostream_photo_filesize_limit_bytes: {
|
|
39
|
+
description: "Максимальный размер фото в автозагрузке в байтах.",
|
|
40
|
+
type: "integer",
|
|
41
|
+
format: "int64",
|
|
42
|
+
},
|
|
43
|
+
photostream_video_filesize_limit_bytes: {
|
|
44
|
+
description: "Максимальный размер видео в автозагрузке в байтах.",
|
|
45
|
+
type: "integer",
|
|
46
|
+
format: "int64",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
required: [],
|
|
50
|
+
},
|
|
51
|
+
Disk: {
|
|
52
|
+
type: "object",
|
|
53
|
+
properties: {
|
|
54
|
+
deletion_restriction_days: {
|
|
55
|
+
description: "Количество дней до удаления файлов после блокировки",
|
|
56
|
+
type: "integer",
|
|
57
|
+
format: "int64",
|
|
58
|
+
},
|
|
59
|
+
disk_size: {
|
|
60
|
+
description: "Используемый объем диска (байт).",
|
|
61
|
+
type: "integer",
|
|
62
|
+
format: "int64",
|
|
63
|
+
},
|
|
64
|
+
file_size_limit_upgrades: {
|
|
65
|
+
description: "Возможные апгрейды максимального размера файла для загрузки.",
|
|
66
|
+
type: "ref",
|
|
67
|
+
ref: "FileSizeLim",
|
|
68
|
+
},
|
|
69
|
+
free_photounlim_end_date: {
|
|
70
|
+
description: "Timestamp ms окончания бесплатного места в фотобезлимите",
|
|
71
|
+
type: "integer",
|
|
72
|
+
format: "int64",
|
|
73
|
+
},
|
|
74
|
+
hide_screenshots_in_photoslice: {
|
|
75
|
+
description: "Настройка скрытия скриншотов у пользователя",
|
|
76
|
+
type: "boolean",
|
|
77
|
+
},
|
|
78
|
+
is_idm_managed_folder_address_access: {
|
|
79
|
+
description: "Признак управления адресным доступом публичным доступом для папок",
|
|
80
|
+
type: "boolean",
|
|
81
|
+
},
|
|
82
|
+
is_idm_managed_public_access: {
|
|
83
|
+
description: "Признак управления адресным доступом публичным доступом для файлов",
|
|
84
|
+
type: "boolean",
|
|
85
|
+
},
|
|
86
|
+
is_legal_entity: {
|
|
87
|
+
description: "Признак принадлежности пользователя к юридическому лицу",
|
|
88
|
+
type: "boolean",
|
|
89
|
+
},
|
|
90
|
+
is_paid: {
|
|
91
|
+
description: "Признак наличия купленного места.",
|
|
92
|
+
type: "boolean",
|
|
93
|
+
},
|
|
94
|
+
is_pro: {
|
|
95
|
+
description: "Признак тарифа Про.",
|
|
96
|
+
type: "boolean",
|
|
97
|
+
},
|
|
98
|
+
is_sync_shared_folder_desktop: {
|
|
99
|
+
description: "Признак синхронизации общего доступа в ПО",
|
|
100
|
+
type: "boolean",
|
|
101
|
+
},
|
|
102
|
+
is_sync_vd_desktop: {
|
|
103
|
+
description: "Признак синхронизации общих дисков в ПО",
|
|
104
|
+
type: "boolean",
|
|
105
|
+
},
|
|
106
|
+
mail_size: {
|
|
107
|
+
description: "Используемый объем почты (байт). Входит в used_space.",
|
|
108
|
+
type: "integer",
|
|
109
|
+
format: "int64",
|
|
110
|
+
},
|
|
111
|
+
max_file_size: {
|
|
112
|
+
description: "Максимальный поддерживаемый размер файла.",
|
|
113
|
+
type: "integer",
|
|
114
|
+
format: "int64",
|
|
115
|
+
},
|
|
116
|
+
monthly_traffic_limit: {
|
|
117
|
+
description: "Максимальный месячный трафик на загрузку.",
|
|
118
|
+
type: "integer",
|
|
119
|
+
format: "int64",
|
|
120
|
+
},
|
|
121
|
+
monthly_traffic_limit_upgrades: {
|
|
122
|
+
description: "Возможные апгрейды максимального месячного трафика на загрузку.",
|
|
123
|
+
type: "ref",
|
|
124
|
+
ref: "UploadTrafficLim",
|
|
125
|
+
},
|
|
126
|
+
paid_max_file_size: {
|
|
127
|
+
description: "Максимальный поддерживаемый размер файла для платного аккаунта.",
|
|
128
|
+
type: "integer",
|
|
129
|
+
format: "int64",
|
|
130
|
+
},
|
|
131
|
+
payment_flow: {
|
|
132
|
+
description: "Признак причастности пользователя к payment_flow",
|
|
133
|
+
type: "boolean",
|
|
134
|
+
},
|
|
135
|
+
photounlim_size: {
|
|
136
|
+
description: "Общий размер файлов в фотобезлимите.",
|
|
137
|
+
type: "integer",
|
|
138
|
+
format: "int64",
|
|
139
|
+
},
|
|
140
|
+
reg_time: {
|
|
141
|
+
description: "Дата регистрации Диска",
|
|
142
|
+
type: "string",
|
|
143
|
+
},
|
|
144
|
+
revision: {
|
|
145
|
+
description: "Текущая ревизия Диска",
|
|
146
|
+
type: "integer",
|
|
147
|
+
format: "int64",
|
|
148
|
+
},
|
|
149
|
+
system_folders: {
|
|
150
|
+
description: "Адреса системных папок в Диске пользователя.",
|
|
151
|
+
type: "ref",
|
|
152
|
+
ref: "SystemFolders",
|
|
153
|
+
},
|
|
154
|
+
total_space: {
|
|
155
|
+
description: "Общий объем хранилища (байт)",
|
|
156
|
+
type: "integer",
|
|
157
|
+
format: "int64",
|
|
158
|
+
},
|
|
159
|
+
trash_size: {
|
|
160
|
+
description: "Общий размер файлов в Корзине (байт). Входит в used_space.",
|
|
161
|
+
type: "integer",
|
|
162
|
+
format: "int64",
|
|
163
|
+
},
|
|
164
|
+
unlimited_autoupload_enabled: {
|
|
165
|
+
description: "Признак включенной безлимитной автозагрузки с мобильных устройств.",
|
|
166
|
+
type: "boolean",
|
|
167
|
+
},
|
|
168
|
+
used_space: {
|
|
169
|
+
description: "Используемый объем хранилища (байт)",
|
|
170
|
+
type: "integer",
|
|
171
|
+
format: "int64",
|
|
172
|
+
},
|
|
173
|
+
user: {
|
|
174
|
+
description: "Владелец Диска",
|
|
175
|
+
type: "ref",
|
|
176
|
+
ref: "User",
|
|
177
|
+
},
|
|
178
|
+
will_be_overdrawn: {
|
|
179
|
+
description: "Признак - будет ли пользователь в овердрафте по достижении free_photounlim_end_date",
|
|
180
|
+
type: "boolean",
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
required: [],
|
|
184
|
+
},
|
|
185
|
+
DiskUserBlocked: {
|
|
186
|
+
type: "object",
|
|
187
|
+
properties: {
|
|
188
|
+
description: {
|
|
189
|
+
description: "Техническое описание ошибки",
|
|
190
|
+
type: "string",
|
|
191
|
+
},
|
|
192
|
+
details: {
|
|
193
|
+
description: "Дополнительные детали ошибки",
|
|
194
|
+
type: "object",
|
|
195
|
+
properties: {},
|
|
196
|
+
required: [],
|
|
197
|
+
},
|
|
198
|
+
error: {
|
|
199
|
+
description: "Уникальный код ошибки",
|
|
200
|
+
type: "string",
|
|
201
|
+
},
|
|
202
|
+
login: {
|
|
203
|
+
description: "Логин пользователя",
|
|
204
|
+
type: "string",
|
|
205
|
+
},
|
|
206
|
+
message: {
|
|
207
|
+
description: "Человекочитаемое описание ошибки",
|
|
208
|
+
type: "string",
|
|
209
|
+
},
|
|
210
|
+
uid: {
|
|
211
|
+
description: "uid пользователя",
|
|
212
|
+
type: "integer",
|
|
213
|
+
format: "int64",
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
required: ["error", "description", "message"],
|
|
217
|
+
},
|
|
218
|
+
ApiError: {
|
|
219
|
+
type: "object",
|
|
220
|
+
properties: {
|
|
221
|
+
description: {
|
|
222
|
+
description: "Техническое описание ошибки",
|
|
223
|
+
type: "string",
|
|
224
|
+
},
|
|
225
|
+
details: {
|
|
226
|
+
description: "Дополнительные детали ошибки",
|
|
227
|
+
type: "object",
|
|
228
|
+
properties: {},
|
|
229
|
+
required: [],
|
|
230
|
+
},
|
|
231
|
+
error: {
|
|
232
|
+
description: "Уникальный код ошибки",
|
|
233
|
+
type: "string",
|
|
234
|
+
},
|
|
235
|
+
message: {
|
|
236
|
+
description: "Человекочитаемое описание ошибки",
|
|
237
|
+
type: "string",
|
|
238
|
+
},
|
|
239
|
+
},
|
|
240
|
+
required: ["error", "description", "message"],
|
|
241
|
+
},
|
|
242
|
+
FileSizeLim: {
|
|
243
|
+
type: "object",
|
|
244
|
+
properties: {
|
|
245
|
+
paid: {
|
|
246
|
+
description: "Максимальный размер файла для загрузки у платного аккаунта.",
|
|
247
|
+
type: "integer",
|
|
248
|
+
format: "int64",
|
|
249
|
+
},
|
|
250
|
+
pro: {
|
|
251
|
+
description: "Максимальный размер файла для загрузки у платного аккаунта с тарифом про.",
|
|
252
|
+
type: "integer",
|
|
253
|
+
format: "int64",
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
required: [],
|
|
257
|
+
},
|
|
258
|
+
SystemFolders: {
|
|
259
|
+
type: "object",
|
|
260
|
+
properties: {
|
|
261
|
+
applications: {
|
|
262
|
+
description: 'Путь к папке "Приложения".',
|
|
263
|
+
type: "string",
|
|
264
|
+
},
|
|
265
|
+
attach: {
|
|
266
|
+
description: 'Путь к папке "Почтовые вложения".',
|
|
267
|
+
type: "string",
|
|
268
|
+
},
|
|
269
|
+
calendar: {
|
|
270
|
+
description: 'Путь к папке "Материалы встреч".',
|
|
271
|
+
type: "string",
|
|
272
|
+
},
|
|
273
|
+
downloads: {
|
|
274
|
+
description: 'Путь к папке "Загрузки".',
|
|
275
|
+
type: "string",
|
|
276
|
+
},
|
|
277
|
+
facebook: {
|
|
278
|
+
description: 'Путь к папке "Социальные сети/Facebook".',
|
|
279
|
+
type: "string",
|
|
280
|
+
},
|
|
281
|
+
google: {
|
|
282
|
+
description: 'Путь к папке "Социальные сети/Google+".',
|
|
283
|
+
type: "string",
|
|
284
|
+
},
|
|
285
|
+
instagram: {
|
|
286
|
+
description: 'Путь к папке "Социальные сети/Instagram".',
|
|
287
|
+
type: "string",
|
|
288
|
+
},
|
|
289
|
+
mailru: {
|
|
290
|
+
description: 'Путь к папке "Социальные сети/Мой Мир".',
|
|
291
|
+
type: "string",
|
|
292
|
+
},
|
|
293
|
+
messenger: {
|
|
294
|
+
description: 'Путь к папке "Файлы Мессенджера".',
|
|
295
|
+
type: "string",
|
|
296
|
+
},
|
|
297
|
+
odnoklassniki: {
|
|
298
|
+
description: 'Путь к папке "Социальные сети/Одноклассники".',
|
|
299
|
+
type: "string",
|
|
300
|
+
},
|
|
301
|
+
photostream: {
|
|
302
|
+
description: 'Путь к папке "Фотокамера".',
|
|
303
|
+
type: "string",
|
|
304
|
+
},
|
|
305
|
+
scans: {
|
|
306
|
+
description: 'Путь к папке "Сканы".',
|
|
307
|
+
type: "string",
|
|
308
|
+
},
|
|
309
|
+
screenshots: {
|
|
310
|
+
description: 'Путь к папке "Скриншоты".',
|
|
311
|
+
type: "string",
|
|
312
|
+
},
|
|
313
|
+
social: {
|
|
314
|
+
description: 'Путь к папке "Социальные сети".',
|
|
315
|
+
type: "string",
|
|
316
|
+
},
|
|
317
|
+
vkontakte: {
|
|
318
|
+
description: 'Путь к папке "Социальные сети/ВКонтакте".',
|
|
319
|
+
type: "string",
|
|
320
|
+
},
|
|
321
|
+
},
|
|
322
|
+
required: [],
|
|
323
|
+
},
|
|
324
|
+
UploadLimitExceededWithDetails: {
|
|
325
|
+
type: "object",
|
|
326
|
+
properties: {
|
|
327
|
+
description: {
|
|
328
|
+
description: "Техническое описание ошибки",
|
|
329
|
+
type: "string",
|
|
330
|
+
},
|
|
331
|
+
details: {
|
|
332
|
+
description: "Дополнительные детали ошибки",
|
|
333
|
+
type: "object",
|
|
334
|
+
properties: {},
|
|
335
|
+
required: [],
|
|
336
|
+
},
|
|
337
|
+
error: {
|
|
338
|
+
description: "Уникальный код ошибки",
|
|
339
|
+
type: "string",
|
|
340
|
+
},
|
|
341
|
+
limit: {
|
|
342
|
+
description: "Значение лимита.",
|
|
343
|
+
type: "integer",
|
|
344
|
+
format: "int64",
|
|
345
|
+
},
|
|
346
|
+
message: {
|
|
347
|
+
description: "Человекочитаемое описание ошибки",
|
|
348
|
+
type: "string",
|
|
349
|
+
},
|
|
350
|
+
reason: {
|
|
351
|
+
description: "Причина срабатывания лимита.",
|
|
352
|
+
type: "string",
|
|
353
|
+
},
|
|
354
|
+
},
|
|
355
|
+
required: ["error", "description", "message"],
|
|
356
|
+
},
|
|
357
|
+
UploadTrafficLim: {
|
|
358
|
+
type: "object",
|
|
359
|
+
properties: {
|
|
360
|
+
pro: {
|
|
361
|
+
description: "Максимальный размер месячного трафика на загрузку у платного аккаунта с тарифом про.",
|
|
362
|
+
type: "integer",
|
|
363
|
+
format: "int64",
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
required: [],
|
|
367
|
+
},
|
|
368
|
+
User: {
|
|
369
|
+
type: "object",
|
|
370
|
+
properties: {
|
|
371
|
+
country: {
|
|
372
|
+
description: "Страна",
|
|
373
|
+
type: "string",
|
|
374
|
+
},
|
|
375
|
+
display_name: {
|
|
376
|
+
description: "Отображаемое имя",
|
|
377
|
+
type: "string",
|
|
378
|
+
},
|
|
379
|
+
is_child: {
|
|
380
|
+
description: "Признак того что аккаунт является детским",
|
|
381
|
+
type: "boolean",
|
|
382
|
+
},
|
|
383
|
+
login: {
|
|
384
|
+
description: "Логин",
|
|
385
|
+
type: "string",
|
|
386
|
+
},
|
|
387
|
+
reg_time: {
|
|
388
|
+
description: "Дата регистрации Диска",
|
|
389
|
+
type: "string",
|
|
390
|
+
},
|
|
391
|
+
uid: {
|
|
392
|
+
description: "Идентификатор пользователя",
|
|
393
|
+
type: "string",
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
required: [],
|
|
397
|
+
},
|
|
398
|
+
AvailableUntil: {
|
|
399
|
+
type: "object",
|
|
400
|
+
properties: {
|
|
401
|
+
enabled: {
|
|
402
|
+
description: "Признак включенности настройки.",
|
|
403
|
+
type: "boolean",
|
|
404
|
+
},
|
|
405
|
+
value: {
|
|
406
|
+
description: "Время жизни ссылки.",
|
|
407
|
+
type: "integer",
|
|
408
|
+
format: "int64",
|
|
409
|
+
},
|
|
410
|
+
},
|
|
411
|
+
required: ["enabled"],
|
|
412
|
+
},
|
|
413
|
+
CommentIds: {
|
|
414
|
+
type: "object",
|
|
415
|
+
properties: {
|
|
416
|
+
private_resource: {
|
|
417
|
+
description: "Идентификатор комментариев для приватных ресурсов.",
|
|
418
|
+
type: "string",
|
|
419
|
+
},
|
|
420
|
+
public_resource: {
|
|
421
|
+
description: "Идентификатор комментариев для публичных ресурсов.",
|
|
422
|
+
type: "string",
|
|
423
|
+
},
|
|
424
|
+
},
|
|
425
|
+
required: [],
|
|
426
|
+
},
|
|
427
|
+
DeleteResource: {
|
|
428
|
+
type: "object",
|
|
429
|
+
properties: {
|
|
430
|
+
href: {
|
|
431
|
+
description: "URL",
|
|
432
|
+
type: "string",
|
|
433
|
+
},
|
|
434
|
+
method: {
|
|
435
|
+
description: "HTTP-метод",
|
|
436
|
+
type: "string",
|
|
437
|
+
},
|
|
438
|
+
templated: {
|
|
439
|
+
description: "Признак шаблонизированного URL",
|
|
440
|
+
type: "boolean",
|
|
441
|
+
},
|
|
442
|
+
},
|
|
443
|
+
required: [],
|
|
444
|
+
},
|
|
445
|
+
Delta: {
|
|
446
|
+
type: "object",
|
|
447
|
+
properties: {
|
|
448
|
+
change_type: {
|
|
449
|
+
description: "Тип изменения",
|
|
450
|
+
type: "string",
|
|
451
|
+
},
|
|
452
|
+
context: {
|
|
453
|
+
description: "Контекст, в рамках которого произошло изменение",
|
|
454
|
+
type: "ref",
|
|
455
|
+
ref: "DeltaContext",
|
|
456
|
+
},
|
|
457
|
+
discsw_symlink: {
|
|
458
|
+
description: "Disk software symlink",
|
|
459
|
+
type: "string",
|
|
460
|
+
},
|
|
461
|
+
new_path: {
|
|
462
|
+
description: "Новый путь к ресурсу",
|
|
463
|
+
type: "string",
|
|
464
|
+
},
|
|
465
|
+
path: {
|
|
466
|
+
description: "Путь к ресурсу",
|
|
467
|
+
type: "string",
|
|
468
|
+
},
|
|
469
|
+
resource: {
|
|
470
|
+
description: "Ресурс, для которого произошло изменение",
|
|
471
|
+
type: "ref",
|
|
472
|
+
ref: "DeltaResource",
|
|
473
|
+
},
|
|
474
|
+
resource_id: {
|
|
475
|
+
description: "Идентификатор ресурса",
|
|
476
|
+
type: "string",
|
|
477
|
+
},
|
|
478
|
+
revision: {
|
|
479
|
+
description: "Ревизия",
|
|
480
|
+
type: "integer",
|
|
481
|
+
format: "int64",
|
|
482
|
+
},
|
|
483
|
+
share: {
|
|
484
|
+
description: "Информация об общей папке",
|
|
485
|
+
type: "ref",
|
|
486
|
+
ref: "RootShareInfo",
|
|
487
|
+
},
|
|
488
|
+
type: {
|
|
489
|
+
description: "Тип ресурса",
|
|
490
|
+
type: "string",
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
required: ["change_type", "type", "path", "resource_id", "revision"],
|
|
494
|
+
},
|
|
495
|
+
DeltaContext: {
|
|
496
|
+
type: "object",
|
|
497
|
+
properties: {
|
|
498
|
+
change_type: {
|
|
499
|
+
description: "Тип изменения",
|
|
500
|
+
type: "string",
|
|
501
|
+
},
|
|
502
|
+
new_path: {
|
|
503
|
+
description: "Новый путь к ресурсу",
|
|
504
|
+
type: "string",
|
|
505
|
+
},
|
|
506
|
+
path: {
|
|
507
|
+
description: "Путь к ресурсу",
|
|
508
|
+
type: "string",
|
|
509
|
+
},
|
|
510
|
+
req_id: {
|
|
511
|
+
description: "Идентификатор запроса или операции",
|
|
512
|
+
type: "string",
|
|
513
|
+
},
|
|
514
|
+
resource_id: {
|
|
515
|
+
description: "Идентификатор ресурса",
|
|
516
|
+
type: "string",
|
|
517
|
+
},
|
|
518
|
+
type: {
|
|
519
|
+
description: "Тип ресурса",
|
|
520
|
+
type: "string",
|
|
521
|
+
},
|
|
522
|
+
},
|
|
523
|
+
required: ["change_type", "req_id", "type", "resource_id", "path", "new_path"],
|
|
524
|
+
},
|
|
525
|
+
DeltaResource: {
|
|
526
|
+
type: "object",
|
|
527
|
+
properties: {
|
|
528
|
+
md5: {
|
|
529
|
+
description: "MD5-хэш",
|
|
530
|
+
type: "string",
|
|
531
|
+
},
|
|
532
|
+
modified: {
|
|
533
|
+
description: "Дата изменения",
|
|
534
|
+
type: "string",
|
|
535
|
+
},
|
|
536
|
+
public_url: {
|
|
537
|
+
description: "Публичный URL",
|
|
538
|
+
type: "string",
|
|
539
|
+
},
|
|
540
|
+
sha256: {
|
|
541
|
+
description: "SHA256-хэш",
|
|
542
|
+
type: "string",
|
|
543
|
+
},
|
|
544
|
+
size: {
|
|
545
|
+
description: "Размер файла",
|
|
546
|
+
type: "integer",
|
|
547
|
+
format: "int64",
|
|
548
|
+
},
|
|
549
|
+
},
|
|
550
|
+
required: ["path", "type", "name", "created", "modified"],
|
|
551
|
+
},
|
|
552
|
+
Deltas: {
|
|
553
|
+
type: "object",
|
|
554
|
+
properties: {
|
|
555
|
+
items: {
|
|
556
|
+
description: "Список изменений",
|
|
557
|
+
type: "array",
|
|
558
|
+
items: {
|
|
559
|
+
type: "ref",
|
|
560
|
+
ref: "Delta",
|
|
561
|
+
},
|
|
562
|
+
},
|
|
563
|
+
iteration_key: {
|
|
564
|
+
type: "string",
|
|
565
|
+
},
|
|
566
|
+
revision: {
|
|
567
|
+
description: "Ревизия Диска",
|
|
568
|
+
type: "integer",
|
|
569
|
+
format: "int64",
|
|
570
|
+
},
|
|
571
|
+
},
|
|
572
|
+
required: ["iteration_key", "revision", "items"],
|
|
573
|
+
},
|
|
574
|
+
ErrorWithData: {
|
|
575
|
+
type: "object",
|
|
576
|
+
properties: {
|
|
577
|
+
data: {
|
|
578
|
+
description: "Данные, передаваемые с ошибкой.",
|
|
579
|
+
type: "object",
|
|
580
|
+
properties: {},
|
|
581
|
+
required: [],
|
|
582
|
+
},
|
|
583
|
+
description: {
|
|
584
|
+
description: "Техническое описание ошибки",
|
|
585
|
+
type: "string",
|
|
586
|
+
},
|
|
587
|
+
details: {
|
|
588
|
+
description: "Дополнительные детали ошибки",
|
|
589
|
+
type: "object",
|
|
590
|
+
properties: {},
|
|
591
|
+
required: [],
|
|
592
|
+
},
|
|
593
|
+
error: {
|
|
594
|
+
description: "Уникальный код ошибки",
|
|
595
|
+
type: "string",
|
|
596
|
+
},
|
|
597
|
+
message: {
|
|
598
|
+
description: "Человекочитаемое описание ошибки",
|
|
599
|
+
type: "string",
|
|
600
|
+
},
|
|
601
|
+
},
|
|
602
|
+
required: ["error", "description", "message"],
|
|
603
|
+
},
|
|
604
|
+
ExclusionsFromGeneratedAlbumsItems: {
|
|
605
|
+
type: "object",
|
|
606
|
+
properties: {
|
|
607
|
+
items: {
|
|
608
|
+
description: "Список исключений из автосгенерированных альбомов.",
|
|
609
|
+
type: "array",
|
|
610
|
+
items: {
|
|
611
|
+
type: "string",
|
|
612
|
+
},
|
|
613
|
+
},
|
|
614
|
+
},
|
|
615
|
+
required: [],
|
|
616
|
+
},
|
|
617
|
+
Exif: {
|
|
618
|
+
type: "object",
|
|
619
|
+
properties: {
|
|
620
|
+
date_time: {
|
|
621
|
+
description: "Дата съёмки.",
|
|
622
|
+
type: "string",
|
|
623
|
+
},
|
|
624
|
+
gps_latitude: {
|
|
625
|
+
description: "Координата съемки (широта).",
|
|
626
|
+
type: "unknown",
|
|
627
|
+
},
|
|
628
|
+
gps_longitude: {
|
|
629
|
+
description: "Координата съемки (долгота).",
|
|
630
|
+
type: "unknown",
|
|
631
|
+
},
|
|
632
|
+
},
|
|
633
|
+
required: [],
|
|
634
|
+
},
|
|
635
|
+
FilesResourceList: {
|
|
636
|
+
type: "object",
|
|
637
|
+
properties: {
|
|
638
|
+
items: {
|
|
639
|
+
description: "Элементы списка",
|
|
640
|
+
type: "array",
|
|
641
|
+
items: {
|
|
642
|
+
type: "ref",
|
|
643
|
+
ref: "Resource",
|
|
644
|
+
},
|
|
645
|
+
},
|
|
646
|
+
limit: {
|
|
647
|
+
description: "Количество элементов на странице",
|
|
648
|
+
type: "integer",
|
|
649
|
+
format: "int64",
|
|
650
|
+
},
|
|
651
|
+
offset: {
|
|
652
|
+
description: "Смещение от начала списка",
|
|
653
|
+
type: "integer",
|
|
654
|
+
format: "int64",
|
|
655
|
+
},
|
|
656
|
+
},
|
|
657
|
+
required: ["items"],
|
|
658
|
+
},
|
|
659
|
+
ImageMetadata: {
|
|
660
|
+
type: "object",
|
|
661
|
+
properties: {
|
|
662
|
+
angle: {
|
|
663
|
+
description: "Угол поворота изображения",
|
|
664
|
+
type: "integer",
|
|
665
|
+
format: "int64",
|
|
666
|
+
},
|
|
667
|
+
beauty: {
|
|
668
|
+
description: "Красивость изображения по компьютерному зрению",
|
|
669
|
+
type: "number",
|
|
670
|
+
},
|
|
671
|
+
height: {
|
|
672
|
+
description: "Ширина",
|
|
673
|
+
type: "integer",
|
|
674
|
+
format: "int64",
|
|
675
|
+
},
|
|
676
|
+
width: {
|
|
677
|
+
description: "Высота",
|
|
678
|
+
type: "integer",
|
|
679
|
+
format: "int64",
|
|
680
|
+
},
|
|
681
|
+
},
|
|
682
|
+
required: [],
|
|
683
|
+
},
|
|
684
|
+
LastUploadedResourceList: {
|
|
685
|
+
type: "object",
|
|
686
|
+
properties: {
|
|
687
|
+
items: {
|
|
688
|
+
description: "Элементы списка",
|
|
689
|
+
type: "array",
|
|
690
|
+
items: {
|
|
691
|
+
type: "ref",
|
|
692
|
+
ref: "Resource",
|
|
693
|
+
},
|
|
694
|
+
},
|
|
695
|
+
limit: {
|
|
696
|
+
description: "Количество элементов на странице",
|
|
697
|
+
type: "integer",
|
|
698
|
+
format: "int64",
|
|
699
|
+
},
|
|
700
|
+
},
|
|
701
|
+
required: ["items"],
|
|
702
|
+
},
|
|
703
|
+
Link: {
|
|
704
|
+
type: "object",
|
|
705
|
+
properties: {
|
|
706
|
+
href: {
|
|
707
|
+
description: "URL",
|
|
708
|
+
type: "string",
|
|
709
|
+
},
|
|
710
|
+
method: {
|
|
711
|
+
description: "HTTP-метод",
|
|
712
|
+
type: "string",
|
|
713
|
+
},
|
|
714
|
+
templated: {
|
|
715
|
+
description: "Признак шаблонизированного URL",
|
|
716
|
+
type: "boolean",
|
|
717
|
+
},
|
|
718
|
+
},
|
|
719
|
+
required: ["method", "href"],
|
|
720
|
+
},
|
|
721
|
+
OfficeOnlineEditorURL: {
|
|
722
|
+
type: "object",
|
|
723
|
+
properties: {
|
|
724
|
+
edit_url: {
|
|
725
|
+
description: "Ссылка на редактирование файла.",
|
|
726
|
+
type: "string",
|
|
727
|
+
},
|
|
728
|
+
},
|
|
729
|
+
required: ["edit_url"],
|
|
730
|
+
},
|
|
731
|
+
OrgId: {
|
|
732
|
+
type: "object",
|
|
733
|
+
properties: {
|
|
734
|
+
enabled: {
|
|
735
|
+
description: "Признак включенности настройки.",
|
|
736
|
+
type: "boolean",
|
|
737
|
+
},
|
|
738
|
+
value: {
|
|
739
|
+
description: "Ограничение на организацию.",
|
|
740
|
+
type: "string",
|
|
741
|
+
},
|
|
742
|
+
},
|
|
743
|
+
required: ["enabled"],
|
|
744
|
+
},
|
|
745
|
+
Password: {
|
|
746
|
+
type: "object",
|
|
747
|
+
properties: {
|
|
748
|
+
enabled: {
|
|
749
|
+
description: "Признак включенности настройки.",
|
|
750
|
+
type: "boolean",
|
|
751
|
+
},
|
|
752
|
+
value: {
|
|
753
|
+
description: "Пароль от ссылки.",
|
|
754
|
+
type: "string",
|
|
755
|
+
},
|
|
756
|
+
},
|
|
757
|
+
required: ["enabled"],
|
|
758
|
+
},
|
|
759
|
+
Preview: {
|
|
760
|
+
type: "object",
|
|
761
|
+
properties: {
|
|
762
|
+
name: {
|
|
763
|
+
description: "Название (размер) превью",
|
|
764
|
+
type: "string",
|
|
765
|
+
},
|
|
766
|
+
url: {
|
|
767
|
+
description: "Ссылка на скачивание превью",
|
|
768
|
+
type: "string",
|
|
769
|
+
},
|
|
770
|
+
},
|
|
771
|
+
required: [],
|
|
772
|
+
},
|
|
773
|
+
PublicResourcesList: {
|
|
774
|
+
type: "object",
|
|
775
|
+
properties: {
|
|
776
|
+
items: {
|
|
777
|
+
description: "Элементы списка",
|
|
778
|
+
type: "array",
|
|
779
|
+
items: {
|
|
780
|
+
type: "ref",
|
|
781
|
+
ref: "Resource",
|
|
782
|
+
},
|
|
783
|
+
},
|
|
784
|
+
limit: {
|
|
785
|
+
description: "Количество элементов на странице",
|
|
786
|
+
type: "integer",
|
|
787
|
+
format: "int64",
|
|
788
|
+
},
|
|
789
|
+
offset: {
|
|
790
|
+
description: "Смещение от начала списка",
|
|
791
|
+
type: "integer",
|
|
792
|
+
format: "int64",
|
|
793
|
+
},
|
|
794
|
+
type: {
|
|
795
|
+
description: "Значение фильтра по типу ресурсов",
|
|
796
|
+
type: "string",
|
|
797
|
+
},
|
|
798
|
+
},
|
|
799
|
+
required: ["items"],
|
|
800
|
+
},
|
|
801
|
+
PublishResource: {
|
|
802
|
+
type: "object",
|
|
803
|
+
properties: {
|
|
804
|
+
public_settings: {
|
|
805
|
+
description: "Настройки адресного доступа.",
|
|
806
|
+
type: "ref",
|
|
807
|
+
ref: "SetPublicSettings",
|
|
808
|
+
},
|
|
809
|
+
},
|
|
810
|
+
required: [],
|
|
811
|
+
},
|
|
812
|
+
Resource: {
|
|
813
|
+
type: "object",
|
|
814
|
+
properties: {
|
|
815
|
+
_embedded: {
|
|
816
|
+
description: "Список вложенных ресурсов",
|
|
817
|
+
type: "ref",
|
|
818
|
+
ref: "ResourceList",
|
|
819
|
+
},
|
|
820
|
+
antivirus_status: {
|
|
821
|
+
description: "Статус проверки антивирусом",
|
|
822
|
+
type: "unknown",
|
|
823
|
+
},
|
|
824
|
+
comment_ids: {
|
|
825
|
+
description: "Идентификаторы комментариев",
|
|
826
|
+
type: "ref",
|
|
827
|
+
ref: "CommentIds",
|
|
828
|
+
},
|
|
829
|
+
created: {
|
|
830
|
+
description: "Дата создания",
|
|
831
|
+
type: "string",
|
|
832
|
+
},
|
|
833
|
+
custom_properties: {
|
|
834
|
+
description: "Пользовательские атрибуты ресурса",
|
|
835
|
+
type: "object",
|
|
836
|
+
properties: {},
|
|
837
|
+
required: [],
|
|
838
|
+
},
|
|
839
|
+
exif: {
|
|
840
|
+
description: "Метаданные медиафайла (EXIF)",
|
|
841
|
+
type: "ref",
|
|
842
|
+
ref: "Exif",
|
|
843
|
+
},
|
|
844
|
+
file: {
|
|
845
|
+
description: "URL для скачивания файла",
|
|
846
|
+
type: "string",
|
|
847
|
+
},
|
|
848
|
+
md5: {
|
|
849
|
+
description: "MD5-хэш",
|
|
850
|
+
type: "string",
|
|
851
|
+
},
|
|
852
|
+
media_type: {
|
|
853
|
+
description: "Определённый Диском тип файла",
|
|
854
|
+
type: "string",
|
|
855
|
+
},
|
|
856
|
+
mime_type: {
|
|
857
|
+
description: "MIME-тип файла",
|
|
858
|
+
type: "string",
|
|
859
|
+
},
|
|
860
|
+
modified: {
|
|
861
|
+
description: "Дата изменения",
|
|
862
|
+
type: "string",
|
|
863
|
+
},
|
|
864
|
+
name: {
|
|
865
|
+
description: "Имя",
|
|
866
|
+
type: "string",
|
|
867
|
+
},
|
|
868
|
+
path: {
|
|
869
|
+
description: "Путь к ресурсу",
|
|
870
|
+
type: "string",
|
|
871
|
+
},
|
|
872
|
+
photoslice_time: {
|
|
873
|
+
description: "Дата создания фото или видео файла",
|
|
874
|
+
type: "string",
|
|
875
|
+
},
|
|
876
|
+
preview: {
|
|
877
|
+
description: "URL превью файла",
|
|
878
|
+
type: "string",
|
|
879
|
+
},
|
|
880
|
+
public_key: {
|
|
881
|
+
description: "Ключ опубликованного ресурса",
|
|
882
|
+
type: "string",
|
|
883
|
+
},
|
|
884
|
+
public_url: {
|
|
885
|
+
description: "Публичный URL",
|
|
886
|
+
type: "string",
|
|
887
|
+
},
|
|
888
|
+
resource_id: {
|
|
889
|
+
description: "Идентификатор ресурса",
|
|
890
|
+
type: "string",
|
|
891
|
+
},
|
|
892
|
+
revision: {
|
|
893
|
+
description: "Ревизия Диска в которой этот ресурс был изменён последний раз",
|
|
894
|
+
type: "integer",
|
|
895
|
+
format: "int64",
|
|
896
|
+
},
|
|
897
|
+
sha256: {
|
|
898
|
+
description: "SHA256-хэш",
|
|
899
|
+
type: "string",
|
|
900
|
+
},
|
|
901
|
+
share: {
|
|
902
|
+
description: "Информация об общей папке",
|
|
903
|
+
type: "ref",
|
|
904
|
+
ref: "ShareInfo",
|
|
905
|
+
},
|
|
906
|
+
size: {
|
|
907
|
+
description: "Размер файла",
|
|
908
|
+
type: "integer",
|
|
909
|
+
format: "int64",
|
|
910
|
+
},
|
|
911
|
+
sizes: {
|
|
912
|
+
description: "Все размеры превью с URL для скачивания",
|
|
913
|
+
type: "array",
|
|
914
|
+
items: {
|
|
915
|
+
type: "ref",
|
|
916
|
+
ref: "Preview",
|
|
917
|
+
},
|
|
918
|
+
},
|
|
919
|
+
type: {
|
|
920
|
+
description: "Тип",
|
|
921
|
+
type: "string",
|
|
922
|
+
},
|
|
923
|
+
},
|
|
924
|
+
required: ["path", "type", "name", "created", "modified"],
|
|
925
|
+
},
|
|
926
|
+
ResourceDimensions: {
|
|
927
|
+
type: "object",
|
|
928
|
+
properties: {
|
|
929
|
+
height: {
|
|
930
|
+
description: "Высота изображения.",
|
|
931
|
+
type: "integer",
|
|
932
|
+
format: "int64",
|
|
933
|
+
},
|
|
934
|
+
width: {
|
|
935
|
+
description: "Ширина изображения.",
|
|
936
|
+
type: "integer",
|
|
937
|
+
format: "int64",
|
|
938
|
+
},
|
|
939
|
+
},
|
|
940
|
+
required: [],
|
|
941
|
+
},
|
|
942
|
+
ResourceList: {
|
|
943
|
+
type: "object",
|
|
944
|
+
properties: {
|
|
945
|
+
items: {
|
|
946
|
+
description: "Элементы списка",
|
|
947
|
+
type: "array",
|
|
948
|
+
items: {
|
|
949
|
+
type: "ref",
|
|
950
|
+
ref: "Resource",
|
|
951
|
+
},
|
|
952
|
+
},
|
|
953
|
+
limit: {
|
|
954
|
+
description: "Количество элементов на странице",
|
|
955
|
+
type: "integer",
|
|
956
|
+
format: "int64",
|
|
957
|
+
},
|
|
958
|
+
offset: {
|
|
959
|
+
description: "Смещение от начала списка",
|
|
960
|
+
type: "integer",
|
|
961
|
+
format: "int64",
|
|
962
|
+
},
|
|
963
|
+
path: {
|
|
964
|
+
description: "Путь к ресурсу, для которого построен список",
|
|
965
|
+
type: "string",
|
|
966
|
+
},
|
|
967
|
+
sort: {
|
|
968
|
+
description: "Поле, по которому отсортирован список",
|
|
969
|
+
type: "string",
|
|
970
|
+
},
|
|
971
|
+
total: {
|
|
972
|
+
description: "Общее количество элементов в списке",
|
|
973
|
+
type: "integer",
|
|
974
|
+
format: "int64",
|
|
975
|
+
},
|
|
976
|
+
},
|
|
977
|
+
required: ["path", "items"],
|
|
978
|
+
},
|
|
979
|
+
ResourcePatch: {
|
|
980
|
+
type: "object",
|
|
981
|
+
properties: {
|
|
982
|
+
custom_properties: {
|
|
983
|
+
description: "Пользовательские атрибуты ресурса",
|
|
984
|
+
type: "object",
|
|
985
|
+
properties: {},
|
|
986
|
+
required: [],
|
|
987
|
+
},
|
|
988
|
+
},
|
|
989
|
+
required: [],
|
|
990
|
+
},
|
|
991
|
+
ResourceUploadLink: {
|
|
992
|
+
type: "object",
|
|
993
|
+
properties: {
|
|
994
|
+
href: {
|
|
995
|
+
description: "URL",
|
|
996
|
+
type: "string",
|
|
997
|
+
},
|
|
998
|
+
method: {
|
|
999
|
+
description: "HTTP-метод",
|
|
1000
|
+
type: "string",
|
|
1001
|
+
},
|
|
1002
|
+
operation_id: {
|
|
1003
|
+
description: "Идентификатор операции загрузки файла",
|
|
1004
|
+
type: "string",
|
|
1005
|
+
},
|
|
1006
|
+
templated: {
|
|
1007
|
+
description: "Признак шаблонизированного URL",
|
|
1008
|
+
type: "boolean",
|
|
1009
|
+
},
|
|
1010
|
+
},
|
|
1011
|
+
required: ["method", "href", "operation_id"],
|
|
1012
|
+
},
|
|
1013
|
+
ResourceVersion: {
|
|
1014
|
+
type: "object",
|
|
1015
|
+
properties: {
|
|
1016
|
+
can_be_restored: {
|
|
1017
|
+
description: "Может ли версия быть восстановлена",
|
|
1018
|
+
type: "boolean",
|
|
1019
|
+
},
|
|
1020
|
+
created: {
|
|
1021
|
+
description: "Дата создания",
|
|
1022
|
+
type: "string",
|
|
1023
|
+
},
|
|
1024
|
+
file: {
|
|
1025
|
+
description: "URL для скачивания файла",
|
|
1026
|
+
type: "string",
|
|
1027
|
+
},
|
|
1028
|
+
folded_items_iteration_key: {
|
|
1029
|
+
description: "iteration_key для получения свернутых версию",
|
|
1030
|
+
type: "string",
|
|
1031
|
+
},
|
|
1032
|
+
id: {
|
|
1033
|
+
description: "ID версии",
|
|
1034
|
+
type: "string",
|
|
1035
|
+
},
|
|
1036
|
+
md5: {
|
|
1037
|
+
description: "MD5-хэш",
|
|
1038
|
+
type: "string",
|
|
1039
|
+
},
|
|
1040
|
+
platform_created: {
|
|
1041
|
+
description: "Название платформы, из которой создали версию",
|
|
1042
|
+
type: "string",
|
|
1043
|
+
},
|
|
1044
|
+
sha256: {
|
|
1045
|
+
description: "SHA256-хэш",
|
|
1046
|
+
type: "string",
|
|
1047
|
+
},
|
|
1048
|
+
size: {
|
|
1049
|
+
description: "Размер версии (только для бинарных)",
|
|
1050
|
+
type: "integer",
|
|
1051
|
+
format: "int64",
|
|
1052
|
+
},
|
|
1053
|
+
type: {
|
|
1054
|
+
description: "Тип версии",
|
|
1055
|
+
type: "string",
|
|
1056
|
+
},
|
|
1057
|
+
uid_created: {
|
|
1058
|
+
description: "uid пользователя создавшего версию",
|
|
1059
|
+
type: "string",
|
|
1060
|
+
},
|
|
1061
|
+
},
|
|
1062
|
+
required: ["id", "type", "uid_created", "platform_created", "can_be_restored", "created"],
|
|
1063
|
+
},
|
|
1064
|
+
ResourceVersions: {
|
|
1065
|
+
type: "object",
|
|
1066
|
+
properties: {
|
|
1067
|
+
items: {
|
|
1068
|
+
description: "Список версий.",
|
|
1069
|
+
type: "array",
|
|
1070
|
+
items: {
|
|
1071
|
+
type: "ref",
|
|
1072
|
+
ref: "ResourceVersion",
|
|
1073
|
+
},
|
|
1074
|
+
},
|
|
1075
|
+
iteration_key: {
|
|
1076
|
+
description: "Ключ итерирования по списку версий.",
|
|
1077
|
+
type: "string",
|
|
1078
|
+
},
|
|
1079
|
+
},
|
|
1080
|
+
required: ["items"],
|
|
1081
|
+
},
|
|
1082
|
+
RootShareInfo: {
|
|
1083
|
+
type: "object",
|
|
1084
|
+
properties: {
|
|
1085
|
+
is_owned: {
|
|
1086
|
+
description: "Признак, что текущий пользователь является владельцем общей папки",
|
|
1087
|
+
type: "boolean",
|
|
1088
|
+
},
|
|
1089
|
+
rights: {
|
|
1090
|
+
description: "Права доступа",
|
|
1091
|
+
type: "string",
|
|
1092
|
+
},
|
|
1093
|
+
},
|
|
1094
|
+
required: ["rights"],
|
|
1095
|
+
},
|
|
1096
|
+
SearchResource: {
|
|
1097
|
+
type: "object",
|
|
1098
|
+
properties: {
|
|
1099
|
+
_embedded: {
|
|
1100
|
+
description: "Список вложенных ресурсов",
|
|
1101
|
+
type: "ref",
|
|
1102
|
+
ref: "SearchResource",
|
|
1103
|
+
},
|
|
1104
|
+
antivirus_status: {
|
|
1105
|
+
description: "Статус проверки антивирусом",
|
|
1106
|
+
type: "unknown",
|
|
1107
|
+
},
|
|
1108
|
+
comment_ids: {
|
|
1109
|
+
description: "Идентификаторы комментариев",
|
|
1110
|
+
type: "ref",
|
|
1111
|
+
ref: "CommentIds",
|
|
1112
|
+
},
|
|
1113
|
+
created: {
|
|
1114
|
+
description: "Дата создания",
|
|
1115
|
+
type: "string",
|
|
1116
|
+
},
|
|
1117
|
+
custom_properties: {
|
|
1118
|
+
description: "Пользовательские атрибуты ресурса",
|
|
1119
|
+
type: "object",
|
|
1120
|
+
properties: {},
|
|
1121
|
+
required: [],
|
|
1122
|
+
},
|
|
1123
|
+
exif: {
|
|
1124
|
+
description: "Метаданные медиафайла (EXIF)",
|
|
1125
|
+
type: "ref",
|
|
1126
|
+
ref: "Exif",
|
|
1127
|
+
},
|
|
1128
|
+
file: {
|
|
1129
|
+
description: "URL для скачивания файла",
|
|
1130
|
+
type: "string",
|
|
1131
|
+
},
|
|
1132
|
+
md5: {
|
|
1133
|
+
description: "MD5-хэш",
|
|
1134
|
+
type: "string",
|
|
1135
|
+
},
|
|
1136
|
+
media_type: {
|
|
1137
|
+
description: "Определённый Диском тип файла",
|
|
1138
|
+
type: "string",
|
|
1139
|
+
},
|
|
1140
|
+
mime_type: {
|
|
1141
|
+
description: "MIME-тип файла",
|
|
1142
|
+
type: "string",
|
|
1143
|
+
},
|
|
1144
|
+
modified: {
|
|
1145
|
+
description: "Дата изменения",
|
|
1146
|
+
type: "string",
|
|
1147
|
+
},
|
|
1148
|
+
name: {
|
|
1149
|
+
description: "Имя",
|
|
1150
|
+
type: "string",
|
|
1151
|
+
},
|
|
1152
|
+
path: {
|
|
1153
|
+
description: "Путь к ресурсу",
|
|
1154
|
+
type: "string",
|
|
1155
|
+
},
|
|
1156
|
+
photoslice_time: {
|
|
1157
|
+
description: "Дата создания фото или видео файла",
|
|
1158
|
+
type: "string",
|
|
1159
|
+
},
|
|
1160
|
+
preview: {
|
|
1161
|
+
description: "URL превью файла",
|
|
1162
|
+
type: "string",
|
|
1163
|
+
},
|
|
1164
|
+
public_key: {
|
|
1165
|
+
description: "Ключ опубликованного ресурса",
|
|
1166
|
+
type: "string",
|
|
1167
|
+
},
|
|
1168
|
+
public_url: {
|
|
1169
|
+
description: "Публичный URL",
|
|
1170
|
+
type: "string",
|
|
1171
|
+
},
|
|
1172
|
+
resource_id: {
|
|
1173
|
+
description: "Идентификатор ресурса",
|
|
1174
|
+
type: "string",
|
|
1175
|
+
},
|
|
1176
|
+
revision: {
|
|
1177
|
+
description: "Ревизия Диска в которой этот ресурс был изменён последний раз",
|
|
1178
|
+
type: "integer",
|
|
1179
|
+
format: "int64",
|
|
1180
|
+
},
|
|
1181
|
+
search_scope: {
|
|
1182
|
+
description: "Механизм индексации документа",
|
|
1183
|
+
type: "string",
|
|
1184
|
+
},
|
|
1185
|
+
sha256: {
|
|
1186
|
+
description: "SHA256-хэш",
|
|
1187
|
+
type: "string",
|
|
1188
|
+
},
|
|
1189
|
+
share: {
|
|
1190
|
+
description: "Информация об общей папке",
|
|
1191
|
+
type: "ref",
|
|
1192
|
+
ref: "ShareInfo",
|
|
1193
|
+
},
|
|
1194
|
+
size: {
|
|
1195
|
+
description: "Размер файла",
|
|
1196
|
+
type: "integer",
|
|
1197
|
+
format: "int64",
|
|
1198
|
+
},
|
|
1199
|
+
sizes: {
|
|
1200
|
+
description: "Все размеры превью с URL для скачивания",
|
|
1201
|
+
type: "array",
|
|
1202
|
+
items: {
|
|
1203
|
+
type: "ref",
|
|
1204
|
+
ref: "Preview",
|
|
1205
|
+
},
|
|
1206
|
+
},
|
|
1207
|
+
type: {
|
|
1208
|
+
description: "Тип",
|
|
1209
|
+
type: "string",
|
|
1210
|
+
},
|
|
1211
|
+
},
|
|
1212
|
+
required: ["path", "type", "name", "created", "modified"],
|
|
1213
|
+
},
|
|
1214
|
+
SearchResourceList: {
|
|
1215
|
+
type: "object",
|
|
1216
|
+
properties: {
|
|
1217
|
+
items: {
|
|
1218
|
+
description: "Элементы списка",
|
|
1219
|
+
type: "array",
|
|
1220
|
+
items: {
|
|
1221
|
+
type: "ref",
|
|
1222
|
+
ref: "SearchResource",
|
|
1223
|
+
},
|
|
1224
|
+
},
|
|
1225
|
+
iteration_key: {
|
|
1226
|
+
description: "Поле, по которому отсортирован список",
|
|
1227
|
+
type: "string",
|
|
1228
|
+
},
|
|
1229
|
+
limit: {
|
|
1230
|
+
description: "Количество элементов на странице",
|
|
1231
|
+
type: "integer",
|
|
1232
|
+
format: "int64",
|
|
1233
|
+
},
|
|
1234
|
+
offset: {
|
|
1235
|
+
description: "Смещение от начала списка",
|
|
1236
|
+
type: "integer",
|
|
1237
|
+
format: "int64",
|
|
1238
|
+
},
|
|
1239
|
+
path: {
|
|
1240
|
+
description: "Путь к ресурсу, для которого построен список",
|
|
1241
|
+
type: "string",
|
|
1242
|
+
},
|
|
1243
|
+
sort: {
|
|
1244
|
+
description: "Поле, по которому отсортирован список",
|
|
1245
|
+
type: "string",
|
|
1246
|
+
},
|
|
1247
|
+
total: {
|
|
1248
|
+
description: "Общее количество элементов в списке",
|
|
1249
|
+
type: "integer",
|
|
1250
|
+
format: "int64",
|
|
1251
|
+
},
|
|
1252
|
+
},
|
|
1253
|
+
required: ["path", "items"],
|
|
1254
|
+
},
|
|
1255
|
+
SetPublicSettings: {
|
|
1256
|
+
type: "object",
|
|
1257
|
+
properties: {
|
|
1258
|
+
accesses: {
|
|
1259
|
+
description: "Массив параметров, которые задают права доступа пользователей к ресурсу. Позволяет задать настройки для разных уровней доступа:\n* общего — внутри организации или для любых пользователей Яндекс 360 для бизнеса;\n* персонального для определенных сотрудников организации;\n* персонального для определенных групп;\n* персонального для определенных подразделений.",
|
|
1260
|
+
type: "array",
|
|
1261
|
+
items: {
|
|
1262
|
+
type: "object",
|
|
1263
|
+
properties: {},
|
|
1264
|
+
required: [],
|
|
1265
|
+
},
|
|
1266
|
+
},
|
|
1267
|
+
available_until: {
|
|
1268
|
+
description: "Время жизни ссылки.",
|
|
1269
|
+
type: "integer",
|
|
1270
|
+
format: "int64",
|
|
1271
|
+
},
|
|
1272
|
+
available_until_verbose: {
|
|
1273
|
+
description: "Время жизни ссылки.",
|
|
1274
|
+
type: "ref",
|
|
1275
|
+
ref: "AvailableUntil",
|
|
1276
|
+
},
|
|
1277
|
+
external_organization_id: {
|
|
1278
|
+
description: "Ограничение на организацию.",
|
|
1279
|
+
type: "string",
|
|
1280
|
+
},
|
|
1281
|
+
external_organization_id_verbose: {
|
|
1282
|
+
description: "Ограничение на организацию.",
|
|
1283
|
+
type: "ref",
|
|
1284
|
+
ref: "OrgId",
|
|
1285
|
+
},
|
|
1286
|
+
password: {
|
|
1287
|
+
description: "Пароль от ссылки.",
|
|
1288
|
+
type: "string",
|
|
1289
|
+
},
|
|
1290
|
+
password_verbose: {
|
|
1291
|
+
description: "Пароль от ссылки.",
|
|
1292
|
+
type: "ref",
|
|
1293
|
+
ref: "Password",
|
|
1294
|
+
},
|
|
1295
|
+
read_only: {
|
|
1296
|
+
description: "Признак того, что ссылка доступна только на чтение.",
|
|
1297
|
+
type: "boolean",
|
|
1298
|
+
},
|
|
1299
|
+
},
|
|
1300
|
+
required: [],
|
|
1301
|
+
},
|
|
1302
|
+
ShareInfo: {
|
|
1303
|
+
type: "object",
|
|
1304
|
+
properties: {
|
|
1305
|
+
is_owned: {
|
|
1306
|
+
description: "Признак, что текущий пользователь является владельцем общей папки",
|
|
1307
|
+
type: "boolean",
|
|
1308
|
+
},
|
|
1309
|
+
is_root: {
|
|
1310
|
+
description: "Признак того, что папка является корневой в группе",
|
|
1311
|
+
type: "boolean",
|
|
1312
|
+
},
|
|
1313
|
+
rights: {
|
|
1314
|
+
description: "Права доступа",
|
|
1315
|
+
type: "string",
|
|
1316
|
+
},
|
|
1317
|
+
},
|
|
1318
|
+
required: ["rights"],
|
|
1319
|
+
},
|
|
1320
|
+
ShortInfoResource: {
|
|
1321
|
+
type: "object",
|
|
1322
|
+
properties: {
|
|
1323
|
+
hid: {
|
|
1324
|
+
description: "HID файла",
|
|
1325
|
+
type: "string",
|
|
1326
|
+
},
|
|
1327
|
+
md5: {
|
|
1328
|
+
description: "MD5-хэш",
|
|
1329
|
+
type: "string",
|
|
1330
|
+
},
|
|
1331
|
+
mime_type: {
|
|
1332
|
+
description: "MIME-тип файла",
|
|
1333
|
+
type: "string",
|
|
1334
|
+
},
|
|
1335
|
+
name: {
|
|
1336
|
+
description: "Имя",
|
|
1337
|
+
type: "string",
|
|
1338
|
+
},
|
|
1339
|
+
path: {
|
|
1340
|
+
description: "Путь к ресурсу",
|
|
1341
|
+
type: "string",
|
|
1342
|
+
},
|
|
1343
|
+
sha256: {
|
|
1344
|
+
description: "SHA256-хэш",
|
|
1345
|
+
type: "string",
|
|
1346
|
+
},
|
|
1347
|
+
size: {
|
|
1348
|
+
description: "Размер файла",
|
|
1349
|
+
type: "integer",
|
|
1350
|
+
format: "int64",
|
|
1351
|
+
},
|
|
1352
|
+
type: {
|
|
1353
|
+
description: "Тип",
|
|
1354
|
+
type: "string",
|
|
1355
|
+
},
|
|
1356
|
+
},
|
|
1357
|
+
required: ["path", "type", "name"],
|
|
1358
|
+
},
|
|
1359
|
+
Snapshot: {
|
|
1360
|
+
type: "object",
|
|
1361
|
+
properties: {
|
|
1362
|
+
items: {
|
|
1363
|
+
description: "Элементы снепшота",
|
|
1364
|
+
type: "array",
|
|
1365
|
+
items: {
|
|
1366
|
+
type: "ref",
|
|
1367
|
+
ref: "SnapshotResource",
|
|
1368
|
+
},
|
|
1369
|
+
},
|
|
1370
|
+
iteration_key: {
|
|
1371
|
+
type: "string",
|
|
1372
|
+
},
|
|
1373
|
+
revision: {
|
|
1374
|
+
description: "Ревизия Диска",
|
|
1375
|
+
type: "integer",
|
|
1376
|
+
format: "int64",
|
|
1377
|
+
},
|
|
1378
|
+
},
|
|
1379
|
+
required: ["revision", "iteration_key"],
|
|
1380
|
+
},
|
|
1381
|
+
SnapshotIterationKey: {
|
|
1382
|
+
type: "object",
|
|
1383
|
+
properties: {
|
|
1384
|
+
iteration_key: {
|
|
1385
|
+
description: "Ключ итерации",
|
|
1386
|
+
type: "string",
|
|
1387
|
+
},
|
|
1388
|
+
},
|
|
1389
|
+
required: [],
|
|
1390
|
+
},
|
|
1391
|
+
SnapshotResource: {
|
|
1392
|
+
type: "object",
|
|
1393
|
+
properties: {
|
|
1394
|
+
md5: {
|
|
1395
|
+
description: "MD5-хэш",
|
|
1396
|
+
type: "string",
|
|
1397
|
+
},
|
|
1398
|
+
modified: {
|
|
1399
|
+
description: "Дата изменения",
|
|
1400
|
+
type: "string",
|
|
1401
|
+
},
|
|
1402
|
+
path: {
|
|
1403
|
+
description: "Путь к ресурсу",
|
|
1404
|
+
type: "string",
|
|
1405
|
+
},
|
|
1406
|
+
public_url: {
|
|
1407
|
+
description: "Публичный URL",
|
|
1408
|
+
type: "string",
|
|
1409
|
+
},
|
|
1410
|
+
resource_id: {
|
|
1411
|
+
description: "Идентификатор ресурса",
|
|
1412
|
+
type: "string",
|
|
1413
|
+
},
|
|
1414
|
+
revision: {
|
|
1415
|
+
description: "Ревизия Диска в которой этот ресурс был изменён последний раз",
|
|
1416
|
+
type: "integer",
|
|
1417
|
+
format: "int64",
|
|
1418
|
+
},
|
|
1419
|
+
sha256: {
|
|
1420
|
+
description: "SHA256-хэш",
|
|
1421
|
+
type: "string",
|
|
1422
|
+
},
|
|
1423
|
+
share: {
|
|
1424
|
+
description: "Информация об общей папке",
|
|
1425
|
+
type: "ref",
|
|
1426
|
+
ref: "RootShareInfo",
|
|
1427
|
+
},
|
|
1428
|
+
size: {
|
|
1429
|
+
description: "Размер файла",
|
|
1430
|
+
type: "integer",
|
|
1431
|
+
format: "int64",
|
|
1432
|
+
},
|
|
1433
|
+
type: {
|
|
1434
|
+
description: "Тип",
|
|
1435
|
+
type: "string",
|
|
1436
|
+
},
|
|
1437
|
+
},
|
|
1438
|
+
required: ["path", "type", "name", "created", "modified"],
|
|
1439
|
+
},
|
|
1440
|
+
UploadResource: {
|
|
1441
|
+
type: "object",
|
|
1442
|
+
properties: {
|
|
1443
|
+
operation_link: {
|
|
1444
|
+
description: "Ссылка на получение статуса операции.",
|
|
1445
|
+
type: "ref",
|
|
1446
|
+
ref: "Link",
|
|
1447
|
+
},
|
|
1448
|
+
upload_link: {
|
|
1449
|
+
description: "URL файла.",
|
|
1450
|
+
type: "ref",
|
|
1451
|
+
ref: "Link",
|
|
1452
|
+
},
|
|
1453
|
+
},
|
|
1454
|
+
required: ["operation_link", "upload_link"],
|
|
1455
|
+
},
|
|
1456
|
+
VideoMetadata: {
|
|
1457
|
+
type: "object",
|
|
1458
|
+
properties: {
|
|
1459
|
+
duration: {
|
|
1460
|
+
description: "Длительность видео в миллисекундах",
|
|
1461
|
+
type: "integer",
|
|
1462
|
+
format: "int64",
|
|
1463
|
+
},
|
|
1464
|
+
},
|
|
1465
|
+
required: [],
|
|
1466
|
+
},
|
|
1467
|
+
AddressAccess: {
|
|
1468
|
+
type: "object",
|
|
1469
|
+
properties: {
|
|
1470
|
+
id: {
|
|
1471
|
+
description: "Уникальный идентификатор пользователя/группы/подразделения.",
|
|
1472
|
+
type: "integer",
|
|
1473
|
+
format: "int64",
|
|
1474
|
+
},
|
|
1475
|
+
macros: {
|
|
1476
|
+
description: "Тип макроса.",
|
|
1477
|
+
type: "array",
|
|
1478
|
+
items: {
|
|
1479
|
+
type: "string",
|
|
1480
|
+
},
|
|
1481
|
+
},
|
|
1482
|
+
org_id: {
|
|
1483
|
+
description: "Идентификатор организации.",
|
|
1484
|
+
type: "integer",
|
|
1485
|
+
format: "int64",
|
|
1486
|
+
},
|
|
1487
|
+
rights: {
|
|
1488
|
+
description: "Пермиссии доступа к ресурсу.",
|
|
1489
|
+
type: "array",
|
|
1490
|
+
items: {
|
|
1491
|
+
type: "string",
|
|
1492
|
+
},
|
|
1493
|
+
},
|
|
1494
|
+
type: {
|
|
1495
|
+
description: "Уровень пермиссии.",
|
|
1496
|
+
type: "string",
|
|
1497
|
+
enum: ["macro", "department", "group", "user", "outer_user"],
|
|
1498
|
+
},
|
|
1499
|
+
},
|
|
1500
|
+
required: ["type", "rights"],
|
|
1501
|
+
},
|
|
1502
|
+
GetAvailableSettings: {
|
|
1503
|
+
type: "object",
|
|
1504
|
+
properties: {
|
|
1505
|
+
address_access_sharing: {
|
|
1506
|
+
description: "Использование адресного доступа, возможность шарить",
|
|
1507
|
+
type: "string",
|
|
1508
|
+
},
|
|
1509
|
+
default: {
|
|
1510
|
+
description: "Значения по умолчанию",
|
|
1511
|
+
type: "array",
|
|
1512
|
+
items: {
|
|
1513
|
+
type: "string",
|
|
1514
|
+
},
|
|
1515
|
+
},
|
|
1516
|
+
macro_sharing: {
|
|
1517
|
+
description: "Использование общего доступа, возможность шарить на внешних пользователей",
|
|
1518
|
+
type: "string",
|
|
1519
|
+
},
|
|
1520
|
+
permissions: {
|
|
1521
|
+
description: "Список доступных прав",
|
|
1522
|
+
type: "array",
|
|
1523
|
+
items: {
|
|
1524
|
+
type: "string",
|
|
1525
|
+
},
|
|
1526
|
+
},
|
|
1527
|
+
sharing_restriction: {
|
|
1528
|
+
description: "Ограничения на шаринг",
|
|
1529
|
+
type: "ref",
|
|
1530
|
+
ref: "SharingRestriction",
|
|
1531
|
+
},
|
|
1532
|
+
use_sharing: {
|
|
1533
|
+
description: "Параметр возможности расшарить адресно",
|
|
1534
|
+
type: "boolean",
|
|
1535
|
+
},
|
|
1536
|
+
},
|
|
1537
|
+
required: ["permissions", "default"],
|
|
1538
|
+
},
|
|
1539
|
+
GetPublicSettings: {
|
|
1540
|
+
type: "object",
|
|
1541
|
+
properties: {
|
|
1542
|
+
accesses: {
|
|
1543
|
+
description: "Cправочники прав адресного доступа.",
|
|
1544
|
+
type: "array",
|
|
1545
|
+
items: {
|
|
1546
|
+
type: "ref",
|
|
1547
|
+
ref: "PublicSettingsAccesses",
|
|
1548
|
+
},
|
|
1549
|
+
},
|
|
1550
|
+
available_until: {
|
|
1551
|
+
description: "Время жизни ссылки.",
|
|
1552
|
+
type: "integer",
|
|
1553
|
+
format: "int64",
|
|
1554
|
+
},
|
|
1555
|
+
},
|
|
1556
|
+
required: [],
|
|
1557
|
+
},
|
|
1558
|
+
Name: {
|
|
1559
|
+
type: "object",
|
|
1560
|
+
properties: {
|
|
1561
|
+
first: {
|
|
1562
|
+
description: "Имя пользователя",
|
|
1563
|
+
type: "string",
|
|
1564
|
+
},
|
|
1565
|
+
last: {
|
|
1566
|
+
description: "Фамилия пользователя",
|
|
1567
|
+
type: "string",
|
|
1568
|
+
},
|
|
1569
|
+
middle: {
|
|
1570
|
+
description: "Отчество пользователя",
|
|
1571
|
+
type: "string",
|
|
1572
|
+
},
|
|
1573
|
+
},
|
|
1574
|
+
required: [],
|
|
1575
|
+
},
|
|
1576
|
+
PublicResource: {
|
|
1577
|
+
type: "object",
|
|
1578
|
+
properties: {
|
|
1579
|
+
_embedded: {
|
|
1580
|
+
description: "Список вложенных ресурсов",
|
|
1581
|
+
type: "ref",
|
|
1582
|
+
ref: "PublicResourceList",
|
|
1583
|
+
},
|
|
1584
|
+
antivirus_status: {
|
|
1585
|
+
description: "Статус проверки антивирусом",
|
|
1586
|
+
type: "unknown",
|
|
1587
|
+
},
|
|
1588
|
+
comment_ids: {
|
|
1589
|
+
description: "Идентификаторы комментариев",
|
|
1590
|
+
type: "ref",
|
|
1591
|
+
ref: "CommentIds",
|
|
1592
|
+
},
|
|
1593
|
+
created: {
|
|
1594
|
+
description: "Дата создания",
|
|
1595
|
+
type: "string",
|
|
1596
|
+
},
|
|
1597
|
+
exif: {
|
|
1598
|
+
description: "Метаданные медиафайла (EXIF)",
|
|
1599
|
+
type: "ref",
|
|
1600
|
+
ref: "Exif",
|
|
1601
|
+
},
|
|
1602
|
+
file: {
|
|
1603
|
+
description: "URL для скачивания файла",
|
|
1604
|
+
type: "string",
|
|
1605
|
+
},
|
|
1606
|
+
md5: {
|
|
1607
|
+
description: "MD5-хэш",
|
|
1608
|
+
type: "string",
|
|
1609
|
+
},
|
|
1610
|
+
media_type: {
|
|
1611
|
+
description: "Определённый Диском тип файла",
|
|
1612
|
+
type: "string",
|
|
1613
|
+
},
|
|
1614
|
+
mime_type: {
|
|
1615
|
+
description: "MIME-тип файла",
|
|
1616
|
+
type: "string",
|
|
1617
|
+
},
|
|
1618
|
+
modified: {
|
|
1619
|
+
description: "Дата изменения",
|
|
1620
|
+
type: "string",
|
|
1621
|
+
},
|
|
1622
|
+
name: {
|
|
1623
|
+
description: "Имя",
|
|
1624
|
+
type: "string",
|
|
1625
|
+
},
|
|
1626
|
+
path: {
|
|
1627
|
+
description: "Путь опубликованного ресурса",
|
|
1628
|
+
type: "string",
|
|
1629
|
+
},
|
|
1630
|
+
photoslice_time: {
|
|
1631
|
+
description: "Дата создания фото или видео файла",
|
|
1632
|
+
type: "string",
|
|
1633
|
+
},
|
|
1634
|
+
preview: {
|
|
1635
|
+
description: "URL превью файла",
|
|
1636
|
+
type: "string",
|
|
1637
|
+
},
|
|
1638
|
+
public_key: {
|
|
1639
|
+
description: "Ключ опубликованного ресурса",
|
|
1640
|
+
type: "string",
|
|
1641
|
+
},
|
|
1642
|
+
public_url: {
|
|
1643
|
+
description: "Публичный URL",
|
|
1644
|
+
type: "string",
|
|
1645
|
+
},
|
|
1646
|
+
resource_id: {
|
|
1647
|
+
description: "Идентификатор ресурса",
|
|
1648
|
+
type: "string",
|
|
1649
|
+
},
|
|
1650
|
+
revision: {
|
|
1651
|
+
description: "Ревизия Диска в которой этот ресурс был изменён последний раз",
|
|
1652
|
+
type: "integer",
|
|
1653
|
+
format: "int64",
|
|
1654
|
+
},
|
|
1655
|
+
sha256: {
|
|
1656
|
+
description: "SHA256-хэш",
|
|
1657
|
+
type: "string",
|
|
1658
|
+
},
|
|
1659
|
+
share: {
|
|
1660
|
+
description: "Информация об общей папке",
|
|
1661
|
+
type: "ref",
|
|
1662
|
+
ref: "ShareInfo",
|
|
1663
|
+
},
|
|
1664
|
+
size: {
|
|
1665
|
+
description: "Размер файла",
|
|
1666
|
+
type: "integer",
|
|
1667
|
+
format: "int64",
|
|
1668
|
+
},
|
|
1669
|
+
sizes: {
|
|
1670
|
+
description: "Все размеры превью с URL для скачивания",
|
|
1671
|
+
type: "array",
|
|
1672
|
+
items: {
|
|
1673
|
+
type: "ref",
|
|
1674
|
+
ref: "Preview",
|
|
1675
|
+
},
|
|
1676
|
+
},
|
|
1677
|
+
type: {
|
|
1678
|
+
description: "Тип",
|
|
1679
|
+
type: "string",
|
|
1680
|
+
},
|
|
1681
|
+
views_count: {
|
|
1682
|
+
description: "Счетчик просмотров публичного ресурса",
|
|
1683
|
+
type: "integer",
|
|
1684
|
+
format: "int64",
|
|
1685
|
+
},
|
|
1686
|
+
},
|
|
1687
|
+
required: ["path", "type", "name", "created", "modified", "public_key"],
|
|
1688
|
+
},
|
|
1689
|
+
PublicResourceList: {
|
|
1690
|
+
type: "object",
|
|
1691
|
+
properties: {
|
|
1692
|
+
items: {
|
|
1693
|
+
description: "Элементы списка",
|
|
1694
|
+
type: "array",
|
|
1695
|
+
items: {
|
|
1696
|
+
type: "ref",
|
|
1697
|
+
ref: "PublicResource",
|
|
1698
|
+
},
|
|
1699
|
+
},
|
|
1700
|
+
limit: {
|
|
1701
|
+
description: "Количество элементов на странице",
|
|
1702
|
+
type: "integer",
|
|
1703
|
+
format: "int64",
|
|
1704
|
+
},
|
|
1705
|
+
offset: {
|
|
1706
|
+
description: "Смещение от начала списка",
|
|
1707
|
+
type: "integer",
|
|
1708
|
+
format: "int64",
|
|
1709
|
+
},
|
|
1710
|
+
path: {
|
|
1711
|
+
description: "Путь опубликованного ресурса",
|
|
1712
|
+
type: "string",
|
|
1713
|
+
},
|
|
1714
|
+
public_key: {
|
|
1715
|
+
description: "Ключ опубликованного ресурса",
|
|
1716
|
+
type: "string",
|
|
1717
|
+
},
|
|
1718
|
+
sort: {
|
|
1719
|
+
description: "Поле, по которому отсортирован список",
|
|
1720
|
+
type: "string",
|
|
1721
|
+
},
|
|
1722
|
+
total: {
|
|
1723
|
+
description: "Общее количество элементов в списке",
|
|
1724
|
+
type: "integer",
|
|
1725
|
+
format: "int64",
|
|
1726
|
+
},
|
|
1727
|
+
},
|
|
1728
|
+
required: ["path", "items", "public_key"],
|
|
1729
|
+
},
|
|
1730
|
+
PublicSettingsAccesses: {
|
|
1731
|
+
type: "object",
|
|
1732
|
+
properties: {
|
|
1733
|
+
id: {
|
|
1734
|
+
description: "ID доступа.",
|
|
1735
|
+
type: "integer",
|
|
1736
|
+
format: "int64",
|
|
1737
|
+
},
|
|
1738
|
+
macros: {
|
|
1739
|
+
description: "Тип макроса.",
|
|
1740
|
+
type: "array",
|
|
1741
|
+
items: {
|
|
1742
|
+
type: "string",
|
|
1743
|
+
},
|
|
1744
|
+
},
|
|
1745
|
+
org_id: {
|
|
1746
|
+
description: "ID организации.",
|
|
1747
|
+
type: "integer",
|
|
1748
|
+
format: "int64",
|
|
1749
|
+
},
|
|
1750
|
+
rights: {
|
|
1751
|
+
description: "Список прав адресного доступа.",
|
|
1752
|
+
type: "array",
|
|
1753
|
+
items: {
|
|
1754
|
+
type: "string",
|
|
1755
|
+
},
|
|
1756
|
+
},
|
|
1757
|
+
type: {
|
|
1758
|
+
description: "Уровень доступа.",
|
|
1759
|
+
type: "string",
|
|
1760
|
+
},
|
|
1761
|
+
},
|
|
1762
|
+
required: ["macros", "rights"],
|
|
1763
|
+
},
|
|
1764
|
+
SharingRestriction: {
|
|
1765
|
+
type: "object",
|
|
1766
|
+
properties: {
|
|
1767
|
+
address_access_sharing: {
|
|
1768
|
+
description: "Разрешение предоставлять адресный доступ",
|
|
1769
|
+
type: "string",
|
|
1770
|
+
enum: ["all", "deny"],
|
|
1771
|
+
},
|
|
1772
|
+
address_access_sharing_outer: {
|
|
1773
|
+
description: "Разрешение предоставлять адресный доступ наружу",
|
|
1774
|
+
type: "string",
|
|
1775
|
+
enum: ["all", "employees"],
|
|
1776
|
+
},
|
|
1777
|
+
public_sharing: {
|
|
1778
|
+
description: "Разрешение предоставлять общий доступ",
|
|
1779
|
+
type: "string",
|
|
1780
|
+
enum: ["all", "deny"],
|
|
1781
|
+
},
|
|
1782
|
+
public_sharing_outer: {
|
|
1783
|
+
description: "Разрешение предоставлять общий доступ наружу",
|
|
1784
|
+
type: "string",
|
|
1785
|
+
enum: ["all", "employees"],
|
|
1786
|
+
},
|
|
1787
|
+
},
|
|
1788
|
+
required: ["public_sharing", "public_sharing_outer", "address_access_sharing", "address_access_sharing_outer"],
|
|
1789
|
+
},
|
|
1790
|
+
UpdatePublicSettings: {
|
|
1791
|
+
type: "object",
|
|
1792
|
+
properties: {
|
|
1793
|
+
accesses: {
|
|
1794
|
+
description: "Список настроек адресного доступа.",
|
|
1795
|
+
type: "array",
|
|
1796
|
+
items: {
|
|
1797
|
+
type: "ref",
|
|
1798
|
+
ref: "AddressAccess",
|
|
1799
|
+
},
|
|
1800
|
+
},
|
|
1801
|
+
available_until: {
|
|
1802
|
+
description: "Время жизни ссылки.",
|
|
1803
|
+
type: "integer",
|
|
1804
|
+
format: "int64",
|
|
1805
|
+
},
|
|
1806
|
+
password: {
|
|
1807
|
+
description: "Пароль от ссылки.",
|
|
1808
|
+
type: "string",
|
|
1809
|
+
},
|
|
1810
|
+
},
|
|
1811
|
+
required: [],
|
|
1812
|
+
},
|
|
1813
|
+
UserPublicInformation: {
|
|
1814
|
+
type: "object",
|
|
1815
|
+
properties: {
|
|
1816
|
+
display_name: {
|
|
1817
|
+
description: "Отображаемое имя пользователя.",
|
|
1818
|
+
type: "string",
|
|
1819
|
+
},
|
|
1820
|
+
login: {
|
|
1821
|
+
description: "Логин.",
|
|
1822
|
+
type: "string",
|
|
1823
|
+
},
|
|
1824
|
+
uid: {
|
|
1825
|
+
description: "Идентификатор пользователя.",
|
|
1826
|
+
type: "string",
|
|
1827
|
+
},
|
|
1828
|
+
},
|
|
1829
|
+
required: [],
|
|
1830
|
+
},
|
|
1831
|
+
TrashResource: {
|
|
1832
|
+
type: "object",
|
|
1833
|
+
properties: {
|
|
1834
|
+
_embedded: {
|
|
1835
|
+
description: "Список вложенных ресурсов",
|
|
1836
|
+
type: "ref",
|
|
1837
|
+
ref: "TrashResourceList",
|
|
1838
|
+
},
|
|
1839
|
+
antivirus_status: {
|
|
1840
|
+
description: "Статус проверки антивирусом",
|
|
1841
|
+
type: "unknown",
|
|
1842
|
+
},
|
|
1843
|
+
comment_ids: {
|
|
1844
|
+
description: "Идентификаторы комментариев",
|
|
1845
|
+
type: "ref",
|
|
1846
|
+
ref: "CommentIds",
|
|
1847
|
+
},
|
|
1848
|
+
created: {
|
|
1849
|
+
description: "Дата создания",
|
|
1850
|
+
type: "string",
|
|
1851
|
+
},
|
|
1852
|
+
custom_properties: {
|
|
1853
|
+
description: "Пользовательские атрибуты ресурса",
|
|
1854
|
+
type: "object",
|
|
1855
|
+
properties: {},
|
|
1856
|
+
required: [],
|
|
1857
|
+
},
|
|
1858
|
+
deleted: {
|
|
1859
|
+
description: "Дата добавления в корзину(для ресурсов в корзине)",
|
|
1860
|
+
type: "string",
|
|
1861
|
+
},
|
|
1862
|
+
exif: {
|
|
1863
|
+
description: "Метаданные медиафайла (EXIF)",
|
|
1864
|
+
type: "ref",
|
|
1865
|
+
ref: "Exif",
|
|
1866
|
+
},
|
|
1867
|
+
file: {
|
|
1868
|
+
description: "URL для скачивания файла",
|
|
1869
|
+
type: "string",
|
|
1870
|
+
},
|
|
1871
|
+
md5: {
|
|
1872
|
+
description: "MD5-хэш",
|
|
1873
|
+
type: "string",
|
|
1874
|
+
},
|
|
1875
|
+
media_type: {
|
|
1876
|
+
description: "Определённый Диском тип файла",
|
|
1877
|
+
type: "string",
|
|
1878
|
+
},
|
|
1879
|
+
mime_type: {
|
|
1880
|
+
description: "MIME-тип файла",
|
|
1881
|
+
type: "string",
|
|
1882
|
+
},
|
|
1883
|
+
modified: {
|
|
1884
|
+
description: "Дата изменения",
|
|
1885
|
+
type: "string",
|
|
1886
|
+
},
|
|
1887
|
+
name: {
|
|
1888
|
+
description: "Имя",
|
|
1889
|
+
type: "string",
|
|
1890
|
+
},
|
|
1891
|
+
origin_path: {
|
|
1892
|
+
description: "Путь откуда был удалён ресурс",
|
|
1893
|
+
type: "string",
|
|
1894
|
+
},
|
|
1895
|
+
path: {
|
|
1896
|
+
description: "Путь к ресурсу",
|
|
1897
|
+
type: "string",
|
|
1898
|
+
},
|
|
1899
|
+
photoslice_time: {
|
|
1900
|
+
description: "Дата создания фото или видео файла",
|
|
1901
|
+
type: "string",
|
|
1902
|
+
},
|
|
1903
|
+
preview: {
|
|
1904
|
+
description: "URL превью файла",
|
|
1905
|
+
type: "string",
|
|
1906
|
+
},
|
|
1907
|
+
public_key: {
|
|
1908
|
+
description: "Ключ опубликованного ресурса",
|
|
1909
|
+
type: "string",
|
|
1910
|
+
},
|
|
1911
|
+
public_url: {
|
|
1912
|
+
description: "Публичный URL",
|
|
1913
|
+
type: "string",
|
|
1914
|
+
},
|
|
1915
|
+
resource_id: {
|
|
1916
|
+
description: "Идентификатор ресурса",
|
|
1917
|
+
type: "string",
|
|
1918
|
+
},
|
|
1919
|
+
revision: {
|
|
1920
|
+
description: "Ревизия Диска в которой этот ресурс был изменён последний раз",
|
|
1921
|
+
type: "integer",
|
|
1922
|
+
format: "int64",
|
|
1923
|
+
},
|
|
1924
|
+
sha256: {
|
|
1925
|
+
description: "SHA256-хэш",
|
|
1926
|
+
type: "string",
|
|
1927
|
+
},
|
|
1928
|
+
share: {
|
|
1929
|
+
description: "Информация об общей папке",
|
|
1930
|
+
type: "ref",
|
|
1931
|
+
ref: "ShareInfo",
|
|
1932
|
+
},
|
|
1933
|
+
size: {
|
|
1934
|
+
description: "Размер файла",
|
|
1935
|
+
type: "integer",
|
|
1936
|
+
format: "int64",
|
|
1937
|
+
},
|
|
1938
|
+
sizes: {
|
|
1939
|
+
description: "Все размеры превью с URL для скачивания",
|
|
1940
|
+
type: "array",
|
|
1941
|
+
items: {
|
|
1942
|
+
type: "ref",
|
|
1943
|
+
ref: "Preview",
|
|
1944
|
+
},
|
|
1945
|
+
},
|
|
1946
|
+
type: {
|
|
1947
|
+
description: "Тип",
|
|
1948
|
+
type: "string",
|
|
1949
|
+
},
|
|
1950
|
+
},
|
|
1951
|
+
required: ["path", "type", "name", "created", "modified"],
|
|
1952
|
+
},
|
|
1953
|
+
TrashResourceList: {
|
|
1954
|
+
type: "object",
|
|
1955
|
+
properties: {
|
|
1956
|
+
items: {
|
|
1957
|
+
description: "Элементы списка",
|
|
1958
|
+
type: "array",
|
|
1959
|
+
items: {
|
|
1960
|
+
type: "ref",
|
|
1961
|
+
ref: "TrashResource",
|
|
1962
|
+
},
|
|
1963
|
+
},
|
|
1964
|
+
limit: {
|
|
1965
|
+
description: "Количество элементов на странице",
|
|
1966
|
+
type: "integer",
|
|
1967
|
+
format: "int64",
|
|
1968
|
+
},
|
|
1969
|
+
offset: {
|
|
1970
|
+
description: "Смещение от начала списка",
|
|
1971
|
+
type: "integer",
|
|
1972
|
+
format: "int64",
|
|
1973
|
+
},
|
|
1974
|
+
path: {
|
|
1975
|
+
description: "Путь к ресурсу, для которого построен список",
|
|
1976
|
+
type: "string",
|
|
1977
|
+
},
|
|
1978
|
+
sort: {
|
|
1979
|
+
description: "Поле, по которому отсортирован список",
|
|
1980
|
+
type: "string",
|
|
1981
|
+
},
|
|
1982
|
+
total: {
|
|
1983
|
+
description: "Общее количество элементов в списке",
|
|
1984
|
+
type: "integer",
|
|
1985
|
+
format: "int64",
|
|
1986
|
+
},
|
|
1987
|
+
},
|
|
1988
|
+
required: ["path", "items"],
|
|
1989
|
+
},
|
|
1990
|
+
OperationStatus: {
|
|
1991
|
+
type: "object",
|
|
1992
|
+
properties: {
|
|
1993
|
+
status: {
|
|
1994
|
+
description: "Статус операции",
|
|
1995
|
+
type: "string",
|
|
1996
|
+
},
|
|
1997
|
+
},
|
|
1998
|
+
required: ["status"],
|
|
1999
|
+
},
|
|
2000
|
+
};
|
|
2001
|
+
//# sourceMappingURL=definitions.js.map
|