@tocca-systems/twp-cli 0.52.0 → 0.53.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.
Files changed (323) hide show
  1. package/CHANGELOG.public.md +10 -0
  2. package/README.md +18 -1
  3. package/command-model/account-lock.json +3 -103
  4. package/command-model/address.json +1 -35
  5. package/command-model/agent-loop.json +31 -1116
  6. package/command-model/agent.json +18 -833
  7. package/command-model/ai-chat-history.json +7 -234
  8. package/command-model/ai-rag.json +2 -113
  9. package/command-model/ai-task-copilot.json +6 -230
  10. package/command-model/ai-token-usage.json +9 -416
  11. package/command-model/analysis-page-access-rule.json +6 -245
  12. package/command-model/analysis.json +2 -148
  13. package/command-model/announcement.json +7 -203
  14. package/command-model/api-key.json +7 -250
  15. package/command-model/api-usage.json +3 -118
  16. package/command-model/attendance-report-category.json +6 -258
  17. package/command-model/attendance-report-reason-detail.json +6 -286
  18. package/command-model/attendance-report-reason.json +6 -274
  19. package/command-model/attendance-report.json +7 -379
  20. package/command-model/attendance-timesheet.json +3 -87
  21. package/command-model/attendance.json +1 -29
  22. package/command-model/audit-log.json +3 -141
  23. package/command-model/auth.json +10 -263
  24. package/command-model/authorize.json +2 -55
  25. package/command-model/auto-charge.json +4 -144
  26. package/command-model/badge.json +4 -111
  27. package/command-model/billing.json +8 -292
  28. package/command-model/budget.json +12 -500
  29. package/command-model/business-card.json +1 -42
  30. package/command-model/business-place.json +5 -318
  31. package/command-model/capacity.json +5 -166
  32. package/command-model/catalog.json +7 -229
  33. package/command-model/chat-channel.json +17 -561
  34. package/command-model/chat-mention-group.json +4 -130
  35. package/command-model/chat-message.json +7 -291
  36. package/command-model/chat-tenant-connection.json +7 -168
  37. package/command-model/cli-auth.json +6 -207
  38. package/command-model/cms-tag.json +8 -318
  39. package/command-model/commuting-expense.json +12 -417
  40. package/command-model/company-case-document.json +1 -36
  41. package/command-model/company-contract-document.json +9 -345
  42. package/command-model/company.json +5 -595
  43. package/command-model/config.json +2 -58
  44. package/command-model/contract.json +5 -541
  45. package/command-model/credit.json +20 -624
  46. package/command-model/cross-project-report.json +1 -35
  47. package/command-model/customer-campaign.json +5 -176
  48. package/command-model/customer-contact.json +8 -533
  49. package/command-model/customer-interaction.json +10 -709
  50. package/command-model/customer-people.json +3 -124
  51. package/command-model/customer.json +3 -124
  52. package/command-model/cycle-time-analysis.json +1 -54
  53. package/command-model/dashboard-calendar.json +1 -35
  54. package/command-model/department.json +8 -379
  55. package/command-model/deposit-plan.json +2 -64
  56. package/command-model/deposit.json +10 -493
  57. package/command-model/desktop-release.json +2 -58
  58. package/command-model/domain-knowledge-doc.json +6 -282
  59. package/command-model/domain-knowledge.json +5 -241
  60. package/command-model/dynamo-attachment.json +7 -248
  61. package/command-model/dynamo-cms.json +25 -1317
  62. package/command-model/dynamo-inquiry.json +11 -453
  63. package/command-model/dynamo-support.json +9 -292
  64. package/command-model/email-change.json +2 -54
  65. package/command-model/equipment-category.json +4 -124
  66. package/command-model/equipment.json +12 -614
  67. package/command-model/estimate-case-document.json +9 -344
  68. package/command-model/estimate-format.json +5 -460
  69. package/command-model/estimate-no-rule.json +5 -231
  70. package/command-model/estimate.json +11 -1020
  71. package/command-model/evaluation-pdf.json +2 -63
  72. package/command-model/evaluation-period.json +8 -471
  73. package/command-model/evaluation.json +18 -781
  74. package/command-model/expense-settings.json +2 -55
  75. package/command-model/external-integration-proxy.json +30 -1256
  76. package/command-model/faq-notion-import.json +7 -241
  77. package/command-model/faq.json +7 -405
  78. package/command-model/favorite.json +5 -174
  79. package/command-model/feedback.json +14 -539
  80. package/command-model/fiscal-year-setting.json +5 -162
  81. package/command-model/floor-map.json +5 -170
  82. package/command-model/follow-up-message-template.json +6 -192
  83. package/command-model/git-hub-pr-status.json +1 -36
  84. package/command-model/goal-sheet.json +12 -345
  85. package/command-model/google-auth.json +2 -95
  86. package/command-model/hearing-auth.json +11 -324
  87. package/command-model/hearing-invitation.json +5 -247
  88. package/command-model/hearing-session.json +5 -189
  89. package/command-model/hearing.json +22 -924
  90. package/command-model/holiday.json +10 -357
  91. package/command-model/hr-checklist-template.json +5 -256
  92. package/command-model/hr-checklist.json +6 -180
  93. package/command-model/hr-qualification.json +2 -103
  94. package/command-model/html-editor.json +2 -50
  95. package/command-model/index.json +298 -1490
  96. package/command-model/inquiry-response-generator.json +1 -38
  97. package/command-model/inquiry-routing.json +12 -359
  98. package/command-model/invoice-auto-template.json +7 -240
  99. package/command-model/invoice-no-rule.json +5 -231
  100. package/command-model/invoice.json +13 -914
  101. package/command-model/job-title.json +9 -416
  102. package/command-model/knowledge-qa.json +2 -57
  103. package/command-model/knowledge-recommendation-feedback.json +2 -97
  104. package/command-model/knowledge-recommendation.json +1 -51
  105. package/command-model/legacy-migration.json +2 -71
  106. package/command-model/license-assignment.json +7 -291
  107. package/command-model/license-type.json +7 -283
  108. package/command-model/license.json +15 -520
  109. package/command-model/login-history.json +2 -94
  110. package/command-model/man-hour.json +2 -102
  111. package/command-model/master-announcement.json +8 -515
  112. package/command-model/master-billing.json +3 -112
  113. package/command-model/master-pricing.json +7 -241
  114. package/command-model/master-product.json +12 -518
  115. package/command-model/master-support-ai.json +1 -34
  116. package/command-model/master-support.json +10 -445
  117. package/command-model/master-tenant.json +22 -1904
  118. package/command-model/media-file-comment.json +4 -137
  119. package/command-model/media-file-hls.json +2 -42
  120. package/command-model/media-file-version.json +5 -183
  121. package/command-model/media-file.json +44 -1707
  122. package/command-model/media-folder.json +11 -393
  123. package/command-model/meeting-category.json +5 -190
  124. package/command-model/meeting-minutes.json +1 -63
  125. package/command-model/meeting-pdf.json +1 -36
  126. package/command-model/meeting-template.json +5 -222
  127. package/command-model/meeting.json +13 -1045
  128. package/command-model/member.json +2 -127
  129. package/command-model/microsoft-auth.json +2 -92
  130. package/command-model/milli-credit.json +8 -268
  131. package/command-model/ms365-calendar-o-auth.json +4 -110
  132. package/command-model/music-generation.json +6 -227
  133. package/command-model/my-task.json +5 -163
  134. package/command-model/my-training.json +4 -153
  135. package/command-model/news-perspective.json +7 -210
  136. package/command-model/note-category.json +4 -144
  137. package/command-model/note-comment.json +5 -220
  138. package/command-model/note-favorite.json +2 -42
  139. package/command-model/note-reaction.json +2 -57
  140. package/command-model/note-subscription.json +4 -105
  141. package/command-model/note.json +10 -599
  142. package/command-model/notification-recipient-rule.json +5 -226
  143. package/command-model/notification.json +10 -366
  144. package/command-model/notion-import.json +6 -260
  145. package/command-model/o-auth-client.json +6 -329
  146. package/command-model/onboarding-template.json +17 -701
  147. package/command-model/operating-hours.json +1 -95
  148. package/command-model/order-form-scan.json +1 -28
  149. package/command-model/org-chart.json +1 -35
  150. package/command-model/organization-announcement-category.json +4 -130
  151. package/command-model/organization-announcement.json +10 -600
  152. package/command-model/password-reset.json +3 -95
  153. package/command-model/payee.json +5 -218
  154. package/command-model/pc-situation.json +1 -124
  155. package/command-model/phone-change.json +2 -60
  156. package/command-model/policy-employee.json +3 -94
  157. package/command-model/policy.json +12 -501
  158. package/command-model/position.json +6 -300
  159. package/command-model/private-agent-loop.json +29 -845
  160. package/command-model/private-task.json +7 -446
  161. package/command-model/process.json +6 -232
  162. package/command-model/profit-analysis.json +3 -178
  163. package/command-model/profit-summary.json +1 -65
  164. package/command-model/project-assignment.json +1 -50
  165. package/command-model/project-cost.json +5 -250
  166. package/command-model/project-custom-field.json +6 -374
  167. package/command-model/project-digest.json +3 -111
  168. package/command-model/project-evaluation.json +8 -308
  169. package/command-model/project-health.json +3 -153
  170. package/command-model/project-member.json +9 -464
  171. package/command-model/project-process.json +7 -305
  172. package/command-model/project-profit-analysis.json +1 -54
  173. package/command-model/project-quality-check-corrective-task.json +3 -121
  174. package/command-model/project-quality-check-record.json +3 -126
  175. package/command-model/project-quality-check-scope.json +2 -82
  176. package/command-model/project-quality-check-status.json +2 -58
  177. package/command-model/project-repository.json +5 -175
  178. package/command-model/project-revenue.json +6 -287
  179. package/command-model/project-task-analytics.json +1 -36
  180. package/command-model/project-task-category.json +5 -198
  181. package/command-model/project-task-comment.json +7 -425
  182. package/command-model/project-task-form-options.json +1 -36
  183. package/command-model/project-task-label.json +5 -198
  184. package/command-model/project-task-link.json +4 -164
  185. package/command-model/project-task-milestone.json +5 -210
  186. package/command-model/project-task-rule.json +7 -371
  187. package/command-model/project-task-status.json +5 -216
  188. package/command-model/project-task-template.json +5 -259
  189. package/command-model/project-task-type.json +5 -235
  190. package/command-model/project-task-version.json +5 -210
  191. package/command-model/project-task-watcher.json +3 -96
  192. package/command-model/project-task.json +22 -1620
  193. package/command-model/project-template.json +7 -438
  194. package/command-model/project.json +10 -1063
  195. package/command-model/prospect-activity.json +5 -288
  196. package/command-model/prospect-promotion.json +2 -81
  197. package/command-model/prospect.json +9 -811
  198. package/command-model/public-search.json +1 -63
  199. package/command-model/purchase-ai-field-mapping.json +6 -288
  200. package/command-model/purchase-document.json +9 -344
  201. package/command-model/purchase-estimate-scan.json +1 -37
  202. package/command-model/purchase-no-rule.json +5 -237
  203. package/command-model/purchase.json +7 -603
  204. package/command-model/push-subscription.json +3 -103
  205. package/command-model/qualification-import.json +4 -86
  206. package/command-model/qualification.json +7 -247
  207. package/command-model/quality-check-item.json +5 -251
  208. package/command-model/rag.json +2 -71
  209. package/command-model/rating-criteria.json +2 -71
  210. package/command-model/receivable-closing.json +4 -100
  211. package/command-model/receivable.json +2 -58
  212. package/command-model/received-invoice.json +4 -146
  213. package/command-model/refresh-token.json +1 -26
  214. package/command-model/report-format-order.json +2 -43
  215. package/command-model/report-saved-tab.json +5 -149
  216. package/command-model/report.json +51 -2439
  217. package/command-model/retrospective.json +15 -586
  218. package/command-model/revoke.json +1 -29
  219. package/command-model/risk-analysis.json +1 -36
  220. package/command-model/role-template.json +4 -193
  221. package/command-model/sales-ai-review-knowledge-draft.json +1 -32
  222. package/command-model/sales-ai-review-knowledge-pr.json +1 -44
  223. package/command-model/sales-ai-review-reason-list.json +1 -65
  224. package/command-model/sales-pdf.json +8 -288
  225. package/command-model/sales-rounding-setting.json +2 -61
  226. package/command-model/sales.json +12 -420
  227. package/command-model/saved-tab.json +5 -145
  228. package/command-model/saved-task-filter.json +4 -149
  229. package/command-model/seal-impression.json +5 -190
  230. package/command-model/segment.json +6 -232
  231. package/command-model/sidebar-badge-setting.json +2 -55
  232. package/command-model/skill-analytics.json +4 -158
  233. package/command-model/skill-category.json +5 -230
  234. package/command-model/skill-evaluation-export.json +1 -44
  235. package/command-model/skill-evaluation-record.json +2 -135
  236. package/command-model/skill-micro-feedback.json +3 -127
  237. package/command-model/skill-role-assignment.json +3 -112
  238. package/command-model/skill.json +7 -322
  239. package/command-model/staff-kpi-setting.json +4 -181
  240. package/command-model/staff-kpi.json +2 -82
  241. package/command-model/staffing-plan.json +8 -464
  242. package/command-model/storage.json +9 -249
  243. package/command-model/subscription.json +6 -159
  244. package/command-model/supplier-payment-schedule.json +5 -232
  245. package/command-model/supplier-payment.json +6 -339
  246. package/command-model/survey-tracker.json +6 -393
  247. package/command-model/survey.json +36 -1763
  248. package/command-model/task-analysis.json +1 -29
  249. package/command-model/task-branch.json +7 -302
  250. package/command-model/task-recurrence.json +5 -256
  251. package/command-model/task-wiki-link.json +4 -150
  252. package/command-model/tenant-ai-key.json +10 -334
  253. package/command-model/tenant-egress-policy.json +7 -283
  254. package/command-model/tenant-email-settings.json +5 -138
  255. package/command-model/tenant-git-hub-settings.json +13 -356
  256. package/command-model/tenant-master-email-change.json +2 -54
  257. package/command-model/tenant-rag-settings.json +9 -377
  258. package/command-model/tenant-registration.json +3 -123
  259. package/command-model/tenant-search.json +1 -35
  260. package/command-model/tenant-settings.json +24 -1223
  261. package/command-model/terms.json +3 -85
  262. package/command-model/test-execution.json +10 -362
  263. package/command-model/test-scenario.json +9 -379
  264. package/command-model/token.json +1 -26
  265. package/command-model/training-attendance.json +12 -504
  266. package/command-model/training-master.json +6 -309
  267. package/command-model/training-session.json +11 -599
  268. package/command-model/unified-search.json +2 -122
  269. package/command-model/update-record.json +2 -85
  270. package/command-model/user-api-key.json +7 -352
  271. package/command-model/user-assignment-calendar.json +1 -42
  272. package/command-model/user-assignment.json +15 -658
  273. package/command-model/user-contract-type.json +6 -448
  274. package/command-model/user-contract.json +7 -754
  275. package/command-model/user-group.json +7 -142
  276. package/command-model/user-info.json +1 -29
  277. package/command-model/user-invitation.json +7 -1040
  278. package/command-model/user-management.json +12 -1523
  279. package/command-model/user-qualification.json +4 -162
  280. package/command-model/user-seal-generate.json +1 -44
  281. package/command-model/user-shortcut-setting.json +3 -103
  282. package/command-model/user-skill-profile.json +11 -535
  283. package/command-model/user.json +30 -979
  284. package/command-model/video-generation.json +8 -451
  285. package/command-model/web-search.json +1 -62
  286. package/command-model/well-known.json +2 -58
  287. package/command-model/whisper.json +2 -83
  288. package/command-model/wiki-collection.json +13 -452
  289. package/command-model/wiki-notion-import.json +5 -167
  290. package/command-model/wiki-template.json +5 -182
  291. package/command-model/wiki.json +11 -468
  292. package/command-model/worker-agent-run.json +5 -180
  293. package/command-model/worker-agent.json +10 -519
  294. package/command-model/workflow-ai-review.json +3 -103
  295. package/command-model/workflow-analysis.json +1 -54
  296. package/command-model/workflow-approval-delegation.json +4 -130
  297. package/command-model/workflow-approval.json +8 -252
  298. package/command-model/workflow-instance.json +7 -273
  299. package/command-model/workflow-tracker.json +8 -476
  300. package/command-model/workflow.json +9 -548
  301. package/command-model/workload-alert.json +3 -100
  302. package/dist/{agent-loop-QP6UHX4R.js → agent-loop-D35USHWR.js} +1 -1
  303. package/dist/{ai-dispatch-VDNMECKK.js → ai-dispatch-3JJ4ICJF.js} +2 -2
  304. package/dist/{api-command-5LQFOG24.js → api-command-NZ4GJ7BW.js} +1 -1
  305. package/dist/{app-G524XCIA.js → app-67TGWKPM.js} +1 -1
  306. package/dist/{budget-AM7JJ5YP.js → budget-YQHHSX7Q.js} +1 -1
  307. package/dist/{chunk-QVPU4HHG.js → chunk-52HYPBSW.js} +13 -13
  308. package/dist/chunk-E7TZU54Y.js +17 -0
  309. package/dist/{chunk-K7OIECPN.js → chunk-JY4VWR5O.js} +4 -4
  310. package/dist/{chunk-E34FX2DF.js → chunk-NQJV2X2R.js} +1 -1
  311. package/dist/cli.js +19 -8
  312. package/dist/{commands-TYUK7MV4.js → commands-5VM6LUB5.js} +1 -1
  313. package/dist/{commands-BXU44JWS.js → commands-CVSXWYGR.js} +14 -14
  314. package/dist/{logout-guard-BIF2B7JE.js → logout-guard-ZQV2OPIO.js} +1 -1
  315. package/dist/{media-TIRJJUNN.js → media-ZIAI4GEB.js} +1 -1
  316. package/dist/{registry-3PWIZP2X.js → registry-4QVXMTGW.js} +1 -1
  317. package/dist/{run-XZZR3OKX.js → run-KXZBNXJF.js} +1 -1
  318. package/dist/server-settings-WYHQZV2N.js +3 -0
  319. package/dist/{setup-JGGFVRUW.js → setup-G24BYLQV.js} +1 -1
  320. package/dist/{teams-GPXJPXNC.js → teams-5EXL65HN.js} +53 -25
  321. package/package.json +1 -1
  322. package/dist/chunk-SA7A5WF2.js +0 -15
  323. package/dist/server-settings-TUBJ4P57.js +0 -3
@@ -1,1712 +1,49 @@
1
1
  {
2
2
  "domain": "media-file",
3
3
  "operations": [
4
- {
5
- "name": "archive",
6
- "domain": "media-file",
7
- "operationId": "mediaFile.archive",
8
- "method": "POST",
9
- "path": "/v2/media/files/{id}/archive",
10
- "summary": "ファイルをアーカイブ",
11
- "pathParams": [
12
- {
13
- "name": "id",
14
- "type": "string",
15
- "required": true,
16
- "source": "spec"
17
- }
18
- ],
19
- "queryParams": [],
20
- "body": null,
21
- "resultPath": null,
22
- "risk": "write",
23
- "aliases": []
24
- },
25
- {
26
- "name": "bulk-archive",
27
- "domain": "media-file",
28
- "operationId": "mediaFile.bulkArchive",
29
- "method": "POST",
30
- "path": "/v2/media/files/bulk/archive",
31
- "summary": "複数ファイルを一括アーカイブ",
32
- "pathParams": [],
33
- "queryParams": [],
34
- "body": {
35
- "schema": {
36
- "type": "object",
37
- "properties": {
38
- "file_ids": {
39
- "type": "array",
40
- "items": {
41
- "type": "string",
42
- "format": "uuid"
43
- },
44
- "minItems": 1,
45
- "maxItems": 100
46
- }
47
- },
48
- "required": [
49
- "file_ids"
50
- ],
51
- "title": "BulkFileOperationRequest"
52
- }
53
- },
54
- "resultPath": null,
55
- "risk": "write",
56
- "aliases": []
57
- },
58
- {
59
- "name": "bulk-delete",
60
- "domain": "media-file",
61
- "operationId": "mediaFile.bulkDelete",
62
- "method": "POST",
63
- "path": "/v2/media/files/bulk/delete",
64
- "summary": "複数ファイルを一括削除",
65
- "pathParams": [],
66
- "queryParams": [],
67
- "body": {
68
- "schema": {
69
- "type": "object",
70
- "properties": {
71
- "file_ids": {
72
- "type": "array",
73
- "items": {
74
- "type": "string",
75
- "format": "uuid"
76
- },
77
- "minItems": 1,
78
- "maxItems": 100
79
- }
80
- },
81
- "required": [
82
- "file_ids"
83
- ],
84
- "title": "BulkFileOperationRequest"
85
- }
86
- },
87
- "resultPath": null,
88
- "risk": "destructive",
89
- "aliases": []
90
- },
91
- {
92
- "name": "bulk-download",
93
- "domain": "media-file",
94
- "operationId": "mediaFile.bulkDownload",
95
- "method": "POST",
96
- "path": "/v2/media/files/bulk/download",
97
- "summary": "複数ファイルをZIPでダウンロード",
98
- "pathParams": [],
99
- "queryParams": [],
100
- "body": {
101
- "schema": {
102
- "type": "object",
103
- "properties": {
104
- "file_ids": {
105
- "type": "array",
106
- "items": {
107
- "type": "string",
108
- "format": "uuid"
109
- },
110
- "minItems": 1,
111
- "maxItems": 50
112
- }
113
- },
114
- "required": [
115
- "file_ids"
116
- ],
117
- "title": "BulkFileDownloadRequest"
118
- }
119
- },
120
- "resultPath": null,
121
- "risk": "write",
122
- "aliases": []
123
- },
124
- {
125
- "name": "bulk-move",
126
- "domain": "media-file",
127
- "operationId": "mediaFile.bulkMove",
128
- "method": "POST",
129
- "path": "/v2/media/files/bulk/move",
130
- "summary": "複数ファイルを一括移動",
131
- "pathParams": [],
132
- "queryParams": [],
133
- "body": {
134
- "schema": {
135
- "type": "object",
136
- "properties": {
137
- "file_ids": {
138
- "type": "array",
139
- "items": {
140
- "type": "string",
141
- "format": "uuid"
142
- },
143
- "minItems": 1,
144
- "maxItems": 100
145
- },
146
- "folder_id": {
147
- "type": [
148
- "string",
149
- "null"
150
- ],
151
- "format": "uuid"
152
- },
153
- "scope": {
154
- "type": "string",
155
- "enum": [
156
- "personal",
157
- "project"
158
- ]
159
- },
160
- "scope_id": {
161
- "type": "string"
162
- }
163
- },
164
- "required": [
165
- "file_ids",
166
- "scope",
167
- "scope_id"
168
- ],
169
- "title": "BulkFileMoveRequest"
170
- }
171
- },
172
- "resultPath": null,
173
- "risk": "write",
174
- "aliases": []
175
- },
176
- {
177
- "name": "bulk-permanent-delete",
178
- "domain": "media-file",
179
- "operationId": "mediaFile.bulkPermanentDelete",
180
- "method": "POST",
181
- "path": "/v2/media/files/bulk/permanent-delete",
182
- "summary": "複数ファイルを一括完全削除",
183
- "pathParams": [],
184
- "queryParams": [],
185
- "body": {
186
- "schema": {
187
- "type": "object",
188
- "properties": {
189
- "file_ids": {
190
- "type": "array",
191
- "items": {
192
- "type": "string",
193
- "format": "uuid"
194
- },
195
- "minItems": 1,
196
- "maxItems": 100
197
- }
198
- },
199
- "required": [
200
- "file_ids"
201
- ],
202
- "title": "BulkFileOperationRequest"
203
- }
204
- },
205
- "resultPath": null,
206
- "risk": "destructive",
207
- "aliases": []
208
- },
209
- {
210
- "name": "bulk-publish",
211
- "domain": "media-file",
212
- "operationId": "mediaFile.bulkPublish",
213
- "method": "POST",
214
- "path": "/v2/media/files/bulk/publish",
215
- "summary": "複数ファイルを一括公開",
216
- "pathParams": [],
217
- "queryParams": [],
218
- "body": {
219
- "schema": {
220
- "type": "object",
221
- "properties": {
222
- "file_ids": {
223
- "type": "array",
224
- "items": {
225
- "type": "string",
226
- "format": "uuid"
227
- },
228
- "minItems": 1,
229
- "maxItems": 100
230
- }
231
- },
232
- "required": [
233
- "file_ids"
234
- ],
235
- "title": "BulkFileOperationRequest"
236
- }
237
- },
238
- "resultPath": null,
239
- "risk": "write",
240
- "aliases": []
241
- },
242
- {
243
- "name": "bulk-restore",
244
- "domain": "media-file",
245
- "operationId": "mediaFile.bulkRestore",
246
- "method": "POST",
247
- "path": "/v2/media/files/bulk/restore",
248
- "summary": "複数ファイルを一括復元",
249
- "pathParams": [],
250
- "queryParams": [],
251
- "body": {
252
- "schema": {
253
- "type": "object",
254
- "properties": {
255
- "file_ids": {
256
- "type": "array",
257
- "items": {
258
- "type": "string",
259
- "format": "uuid"
260
- },
261
- "minItems": 1,
262
- "maxItems": 100
263
- }
264
- },
265
- "required": [
266
- "file_ids"
267
- ],
268
- "title": "BulkFileOperationRequest"
269
- }
270
- },
271
- "resultPath": null,
272
- "risk": "write",
273
- "aliases": []
274
- },
275
- {
276
- "name": "bulk-unpublish",
277
- "domain": "media-file",
278
- "operationId": "mediaFile.bulkUnpublish",
279
- "method": "POST",
280
- "path": "/v2/media/files/bulk/unpublish",
281
- "summary": "複数ファイルを一括非公開",
282
- "pathParams": [],
283
- "queryParams": [],
284
- "body": {
285
- "schema": {
286
- "type": "object",
287
- "properties": {
288
- "file_ids": {
289
- "type": "array",
290
- "items": {
291
- "type": "string",
292
- "format": "uuid"
293
- },
294
- "minItems": 1,
295
- "maxItems": 100
296
- }
297
- },
298
- "required": [
299
- "file_ids"
300
- ],
301
- "title": "BulkFileOperationRequest"
302
- }
303
- },
304
- "resultPath": null,
305
- "risk": "write",
306
- "aliases": []
307
- },
308
- {
309
- "name": "check-duplicates",
310
- "domain": "media-file",
311
- "operationId": "mediaFile.checkDuplicates",
312
- "method": "POST",
313
- "path": "/v2/media/files/check-duplicates",
314
- "summary": "アップロード前の同名ファイルチェック",
315
- "pathParams": [],
316
- "queryParams": [],
317
- "body": {
318
- "schema": {
319
- "type": "object",
320
- "properties": {
321
- "scope": {
322
- "type": "string",
323
- "enum": [
324
- "personal",
325
- "project"
326
- ]
327
- },
328
- "scope_id": {
329
- "type": "string"
330
- },
331
- "folder_id": {
332
- "type": [
333
- "string",
334
- "null"
335
- ]
336
- },
337
- "file_names": {
338
- "type": "array",
339
- "items": {
340
- "type": "string",
341
- "maxLength": 255
342
- },
343
- "minItems": 1,
344
- "maxItems": 100
345
- }
346
- },
347
- "required": [
348
- "scope",
349
- "scope_id",
350
- "file_names"
351
- ]
352
- }
353
- },
354
- "resultPath": null,
355
- "risk": "write",
356
- "aliases": []
357
- },
358
- {
359
- "name": "complete-replace",
360
- "domain": "media-file",
361
- "operationId": "mediaFile.completeReplace",
362
- "method": "POST",
363
- "path": "/v2/media/files/{id}/replace-complete",
364
- "summary": "ファイル置換を完了",
365
- "pathParams": [
366
- {
367
- "name": "id",
368
- "type": "string",
369
- "required": true,
370
- "source": "spec"
371
- }
372
- ],
373
- "queryParams": [],
374
- "body": {
375
- "schema": {
376
- "type": "object",
377
- "properties": {
378
- "content_type": {
379
- "type": "string",
380
- "maxLength": 255
381
- },
382
- "file_size": {
383
- "type": "integer",
384
- "minimum": 1,
385
- "maximum": 10737418240
386
- },
387
- "comment": {
388
- "type": [
389
- "string",
390
- "null"
391
- ],
392
- "maxLength": 500
393
- }
394
- },
395
- "required": [
396
- "content_type",
397
- "file_size"
398
- ]
399
- }
400
- },
401
- "resultPath": null,
402
- "risk": "write",
403
- "aliases": []
404
- },
405
- {
406
- "name": "complete-upload",
407
- "domain": "media-file",
408
- "operationId": "mediaFile.completeUpload",
409
- "method": "POST",
410
- "path": "/v2/media/files/{id}/complete",
411
- "summary": "アップロード完了を登録",
412
- "pathParams": [
413
- {
414
- "name": "id",
415
- "type": "string",
416
- "required": true,
417
- "source": "spec"
418
- }
419
- ],
420
- "queryParams": [],
421
- "body": {
422
- "schema": {
423
- "type": "object",
424
- "properties": {
425
- "tags": {
426
- "type": [
427
- "array",
428
- "null"
429
- ],
430
- "items": {
431
- "type": "string",
432
- "maxLength": 100
433
- }
434
- }
435
- },
436
- "title": "CompleteUploadRequest"
437
- }
438
- },
439
- "resultPath": null,
440
- "risk": "write",
441
- "aliases": []
442
- },
443
- {
444
- "name": "create-tag",
445
- "domain": "media-file",
446
- "operationId": "mediaFile.createTag",
447
- "method": "POST",
448
- "path": "/v2/media/tags",
449
- "summary": "新規タグを作成(マスタータグとして登録)",
450
- "pathParams": [],
451
- "queryParams": [],
452
- "body": {
453
- "schema": {
454
- "type": "object",
455
- "properties": {
456
- "tag": {
457
- "type": "string",
458
- "maxLength": 100
459
- }
460
- },
461
- "required": [
462
- "tag"
463
- ]
464
- }
465
- },
466
- "resultPath": null,
467
- "risk": "write",
468
- "aliases": []
469
- },
470
- {
471
- "name": "delete",
472
- "domain": "media-file",
473
- "operationId": "mediaFile.destroy",
474
- "method": "DELETE",
475
- "path": "/v2/media/files/{id}",
476
- "summary": "ファイルを削除",
477
- "pathParams": [
478
- {
479
- "name": "id",
480
- "type": "string",
481
- "required": true,
482
- "source": "spec"
483
- }
484
- ],
485
- "queryParams": [],
486
- "body": null,
487
- "resultPath": null,
488
- "risk": "destructive",
489
- "aliases": []
490
- },
491
- {
492
- "name": "delete-tag",
493
- "domain": "media-file",
494
- "operationId": "mediaFile.deleteTag",
495
- "method": "DELETE",
496
- "path": "/v2/media/tags/{tag}",
497
- "summary": "タグを削除(該当するファイルからタグを除去 + マスタータグ削除)",
498
- "pathParams": [
499
- {
500
- "name": "tag",
501
- "type": "string",
502
- "required": true,
503
- "source": "spec"
504
- }
505
- ],
506
- "queryParams": [],
507
- "body": null,
508
- "resultPath": null,
509
- "risk": "destructive",
510
- "aliases": []
511
- },
512
- {
513
- "name": "document-formats",
514
- "domain": "media-file",
515
- "operationId": "mediaFile.documentFormats",
516
- "method": "GET",
517
- "path": "/v2/media/files/generate/document/formats",
518
- "summary": "利用可能なドキュメントフォーマット一覧を取得",
519
- "pathParams": [],
520
- "queryParams": [
521
- {
522
- "name": "limit",
523
- "type": "integer",
524
- "required": false,
525
- "description": "1ページあたりの件数",
526
- "source": "curation"
527
- },
528
- {
529
- "name": "cursor",
530
- "type": "string",
531
- "required": false,
532
- "description": "次ページの取得に使うカーソル",
533
- "source": "curation"
534
- }
535
- ],
536
- "body": null,
537
- "resultPath": "data",
538
- "risk": "read",
539
- "aliases": []
540
- },
541
- {
542
- "name": "document-generation-models",
543
- "domain": "media-file",
544
- "operationId": "mediaFile.documentGenerationModels",
545
- "method": "GET",
546
- "path": "/v2/media/files/generate/document/models",
547
- "summary": "利用可能なドキュメント生成モデル一覧を取得",
548
- "pathParams": [],
549
- "queryParams": [
550
- {
551
- "name": "limit",
552
- "type": "integer",
553
- "required": false,
554
- "description": "1ページあたりの件数",
555
- "source": "curation"
556
- },
557
- {
558
- "name": "cursor",
559
- "type": "string",
560
- "required": false,
561
- "description": "次ページの取得に使うカーソル",
562
- "source": "curation"
563
- }
564
- ],
565
- "body": null,
566
- "resultPath": "data",
567
- "risk": "read",
568
- "aliases": []
569
- },
570
- {
571
- "name": "download-url",
572
- "domain": "media-file",
573
- "operationId": "mediaFile.downloadUrl",
574
- "method": "GET",
575
- "path": "/v2/media/files/{id}/download-url",
576
- "summary": "ダウンロード用URLを取得",
577
- "pathParams": [
578
- {
579
- "name": "id",
580
- "type": "string",
581
- "required": true,
582
- "source": "spec"
583
- }
584
- ],
585
- "queryParams": [
586
- {
587
- "name": "limit",
588
- "type": "integer",
589
- "required": false,
590
- "description": "1ページあたりの件数",
591
- "source": "curation"
592
- },
593
- {
594
- "name": "cursor",
595
- "type": "string",
596
- "required": false,
597
- "description": "次ページの取得に使うカーソル",
598
- "source": "curation"
599
- }
600
- ],
601
- "body": null,
602
- "resultPath": null,
603
- "risk": "read",
604
- "aliases": []
605
- },
606
- {
607
- "name": "duplicates",
608
- "domain": "media-file",
609
- "operationId": "mediaFile.duplicates",
610
- "method": "GET",
611
- "path": "/v2/media/files/{id}/duplicates",
612
- "summary": "ファイルの重複を検出",
613
- "pathParams": [
614
- {
615
- "name": "id",
616
- "type": "string",
617
- "required": true,
618
- "source": "spec"
619
- }
620
- ],
621
- "queryParams": [
622
- {
623
- "name": "limit",
624
- "type": "integer",
625
- "required": false,
626
- "description": "1ページあたりの件数",
627
- "source": "curation"
628
- },
629
- {
630
- "name": "cursor",
631
- "type": "string",
632
- "required": false,
633
- "description": "次ページの取得に使うカーソル",
634
- "source": "curation"
635
- }
636
- ],
637
- "body": null,
638
- "resultPath": null,
639
- "risk": "read",
640
- "aliases": []
641
- },
642
- {
643
- "name": "empty-trash",
644
- "domain": "media-file",
645
- "operationId": "mediaFile.emptyTrash",
646
- "method": "POST",
647
- "path": "/v2/media/trash/empty",
648
- "summary": "ゴミ箱を空にする",
649
- "pathParams": [],
650
- "queryParams": [],
651
- "body": {
652
- "schema": {
653
- "type": "object",
654
- "properties": {
655
- "scope": {
656
- "type": "string",
657
- "enum": [
658
- "personal",
659
- "project"
660
- ]
661
- },
662
- "scope_id": {
663
- "type": "string"
664
- }
665
- },
666
- "required": [
667
- "scope",
668
- "scope_id"
669
- ]
670
- }
671
- },
672
- "resultPath": null,
673
- "risk": "write",
674
- "aliases": []
675
- },
676
- {
677
- "name": "generate-document",
678
- "domain": "media-file",
679
- "operationId": "mediaFile.generateDocument",
680
- "method": "POST",
681
- "path": "/v2/media/files/generate/document",
682
- "summary": "AIでドキュメントを生成してメディアファイルとして保存",
683
- "pathParams": [],
684
- "queryParams": [],
685
- "body": {
686
- "schema": {
687
- "type": "object",
688
- "properties": {
689
- "prompt": {
690
- "type": "string",
691
- "minLength": 1,
692
- "maxLength": 4000
693
- },
694
- "format": {
695
- "type": "string",
696
- "enum": [
697
- "markdown"
698
- ]
699
- },
700
- "model": {
701
- "type": [
702
- "string",
703
- "null"
704
- ],
705
- "enum": [
706
- "claude-opus-5",
707
- "claude-sonnet-5",
708
- "claude-opus-4-7",
709
- "claude-opus-4-6",
710
- "claude-opus-4-5",
711
- "claude-haiku-4-5",
712
- "gpt-5.6-sol",
713
- "gpt-5.6-luna",
714
- "gemini-3-pro",
715
- "gemini-3-flash",
716
- null
717
- ]
718
- },
719
- "folder_id": {
720
- "type": [
721
- "string",
722
- "null"
723
- ],
724
- "format": "uuid"
725
- },
726
- "scope": {
727
- "type": [
728
- "string",
729
- "null"
730
- ],
731
- "enum": [
732
- "personal",
733
- "project",
734
- null
735
- ]
736
- },
737
- "scope_id": {
738
- "type": [
739
- "string",
740
- "null"
741
- ]
742
- }
743
- },
744
- "required": [
745
- "prompt",
746
- "format"
747
- ],
748
- "title": "GenerateDocumentRequest"
749
- }
750
- },
751
- "resultPath": null,
752
- "risk": "write",
753
- "aliases": []
754
- },
755
- {
756
- "name": "generate-image",
757
- "domain": "media-file",
758
- "operationId": "mediaFile.generateImage",
759
- "method": "POST",
760
- "path": "/v2/media/files/generate/image",
761
- "summary": "AIで画像を生成してメディアファイルとして保存",
762
- "pathParams": [],
763
- "queryParams": [],
764
- "body": {
765
- "schema": {
766
- "type": "object",
767
- "properties": {
768
- "prompt": {
769
- "type": "string",
770
- "minLength": 1,
771
- "maxLength": 2000
772
- },
773
- "model": {
774
- "type": [
775
- "string",
776
- "null"
777
- ],
778
- "enum": [
779
- "gemini-flash-image",
780
- "gemini-3.1-flash-image",
781
- "gemini-3-pro-image",
782
- "gpt-image-2",
783
- null
784
- ]
785
- },
786
- "quality": {
787
- "type": [
788
- "string",
789
- "null"
790
- ],
791
- "enum": [
792
- "low",
793
- "medium",
794
- "high",
795
- "auto",
796
- null
797
- ]
798
- },
799
- "size": {
800
- "type": [
801
- "string",
802
- "null"
803
- ],
804
- "enum": [
805
- "1024x1024",
806
- "1536x1024",
807
- "1024x1536",
808
- "2048x2048",
809
- null
810
- ]
811
- },
812
- "folder_id": {
813
- "type": [
814
- "string",
815
- "null"
816
- ],
817
- "format": "uuid"
818
- },
819
- "scope": {
820
- "type": [
821
- "string",
822
- "null"
823
- ],
824
- "enum": [
825
- "personal",
826
- "project",
827
- null
828
- ]
829
- },
830
- "scope_id": {
831
- "type": [
832
- "string",
833
- "null"
834
- ]
835
- }
836
- },
837
- "required": [
838
- "prompt"
839
- ],
840
- "title": "GenerateImageRequest"
841
- }
842
- },
843
- "resultPath": null,
844
- "risk": "write",
845
- "aliases": []
846
- },
847
- {
848
- "name": "generate-replace-url",
849
- "domain": "media-file",
850
- "operationId": "mediaFile.generateReplaceUrl",
851
- "method": "POST",
852
- "path": "/v2/media/files/{id}/replace-url",
853
- "summary": "ファイル置換用のアップロードURLを生成",
854
- "pathParams": [
855
- {
856
- "name": "id",
857
- "type": "string",
858
- "required": true,
859
- "source": "spec"
860
- }
861
- ],
862
- "queryParams": [],
863
- "body": {
864
- "schema": {
865
- "type": "object",
866
- "properties": {
867
- "content_type": {
868
- "type": "string",
869
- "maxLength": 255
870
- },
871
- "file_size": {
872
- "type": "integer",
873
- "minimum": 1,
874
- "maximum": 10737418240
875
- }
876
- },
877
- "required": [
878
- "content_type",
879
- "file_size"
880
- ]
881
- }
882
- },
883
- "resultPath": null,
884
- "risk": "write",
885
- "aliases": []
886
- },
887
- {
888
- "name": "generate-upload-url",
889
- "domain": "media-file",
890
- "operationId": "mediaFile.generateUploadUrl",
891
- "method": "POST",
892
- "path": "/v2/media/files/upload-url",
893
- "summary": "アップロード用の署名付きURLを生成",
894
- "pathParams": [],
895
- "queryParams": [],
896
- "body": {
897
- "schema": {
898
- "type": "object",
899
- "properties": {
900
- "file_name": {
901
- "type": "string",
902
- "pattern": "^[^\\/\\\\:*?\"<>|]+$",
903
- "maxLength": 255
904
- },
905
- "content_type": {
906
- "type": "string",
907
- "maxLength": 255
908
- },
909
- "file_size": {
910
- "type": "integer",
911
- "minimum": 1,
912
- "maximum": 2147483648
913
- },
914
- "folder_id": {
915
- "type": [
916
- "string",
917
- "null"
918
- ],
919
- "format": "uuid"
920
- },
921
- "scope": {
922
- "type": [
923
- "string",
924
- "null"
925
- ],
926
- "enum": [
927
- "personal",
928
- "project",
929
- null
930
- ]
931
- },
932
- "scope_id": {
933
- "type": [
934
- "string",
935
- "null"
936
- ]
937
- }
938
- },
939
- "required": [
940
- "file_name",
941
- "content_type",
942
- "file_size"
943
- ],
944
- "title": "UploadMediaRequest"
945
- }
946
- },
947
- "resultPath": null,
948
- "risk": "write",
949
- "aliases": []
950
- },
951
- {
952
- "name": "get",
953
- "domain": "media-file",
954
- "operationId": "mediaFile.show",
955
- "method": "GET",
956
- "path": "/v2/media/files/{id}",
957
- "summary": "ファイル詳細を取得",
958
- "pathParams": [
959
- {
960
- "name": "id",
961
- "type": "string",
962
- "required": true,
963
- "source": "spec"
964
- }
965
- ],
966
- "queryParams": [
967
- {
968
- "name": "limit",
969
- "type": "integer",
970
- "required": false,
971
- "description": "1ページあたりの件数",
972
- "source": "curation"
973
- },
974
- {
975
- "name": "cursor",
976
- "type": "string",
977
- "required": false,
978
- "description": "次ページの取得に使うカーソル",
979
- "source": "curation"
980
- }
981
- ],
982
- "body": null,
983
- "resultPath": null,
984
- "risk": "read",
985
- "aliases": []
986
- },
987
- {
988
- "name": "get-content",
989
- "domain": "media-file",
990
- "operationId": "mediaFile.getContent",
991
- "method": "GET",
992
- "path": "/v2/media/files/{id}/content",
993
- "summary": "ファイル内容を取得(テキストファイル用)",
994
- "pathParams": [
995
- {
996
- "name": "id",
997
- "type": "string",
998
- "required": true,
999
- "source": "spec"
1000
- }
1001
- ],
1002
- "queryParams": [
1003
- {
1004
- "name": "limit",
1005
- "type": "integer",
1006
- "required": false,
1007
- "description": "1ページあたりの件数",
1008
- "source": "curation"
1009
- },
1010
- {
1011
- "name": "cursor",
1012
- "type": "string",
1013
- "required": false,
1014
- "description": "次ページの取得に使うカーソル",
1015
- "source": "curation"
1016
- }
1017
- ],
1018
- "body": null,
1019
- "resultPath": null,
1020
- "risk": "read",
1021
- "aliases": []
1022
- },
1023
- {
1024
- "name": "get-used-tags",
1025
- "domain": "media-file",
1026
- "operationId": "mediaFile.getUsedTags",
1027
- "method": "GET",
1028
- "path": "/v2/media/files/tags",
1029
- "summary": "テナント内で使用されているタグ一覧を取得",
1030
- "pathParams": [],
1031
- "queryParams": [
1032
- {
1033
- "name": "with_count",
1034
- "type": "string",
1035
- "required": false,
1036
- "source": "spec"
1037
- },
1038
- {
1039
- "name": "limit",
1040
- "type": "integer",
1041
- "required": false,
1042
- "description": "1ページあたりの件数",
1043
- "source": "curation"
1044
- },
1045
- {
1046
- "name": "cursor",
1047
- "type": "string",
1048
- "required": false,
1049
- "description": "次ページの取得に使うカーソル",
1050
- "source": "curation"
1051
- }
1052
- ],
1053
- "body": null,
1054
- "resultPath": "data",
1055
- "risk": "read",
1056
- "aliases": []
1057
- },
1058
- {
1059
- "name": "image-generation-models",
1060
- "domain": "media-file",
1061
- "operationId": "mediaFile.imageGenerationModels",
1062
- "method": "GET",
1063
- "path": "/v2/media/files/generate/image/models",
1064
- "summary": "利用可能な画像生成モデル一覧を取得",
1065
- "pathParams": [],
1066
- "queryParams": [
1067
- {
1068
- "name": "limit",
1069
- "type": "integer",
1070
- "required": false,
1071
- "description": "1ページあたりの件数",
1072
- "source": "curation"
1073
- },
1074
- {
1075
- "name": "cursor",
1076
- "type": "string",
1077
- "required": false,
1078
- "description": "次ページの取得に使うカーソル",
1079
- "source": "curation"
1080
- }
1081
- ],
1082
- "body": null,
1083
- "resultPath": "data",
1084
- "risk": "read",
1085
- "aliases": []
1086
- },
1087
- {
1088
- "name": "list",
1089
- "domain": "media-file",
1090
- "operationId": "mediaFile.index",
1091
- "method": "GET",
1092
- "path": "/v2/media/files",
1093
- "summary": "ファイル一覧を取得",
1094
- "pathParams": [],
1095
- "queryParams": [
1096
- {
1097
- "name": "folder_id",
1098
- "type": "string",
1099
- "required": false,
1100
- "source": "spec"
1101
- },
1102
- {
1103
- "name": "status",
1104
- "type": "string",
1105
- "required": false,
1106
- "source": "spec"
1107
- },
1108
- {
1109
- "name": "keyword",
1110
- "type": "string",
1111
- "required": false,
1112
- "source": "spec"
1113
- },
1114
- {
1115
- "name": "scope",
1116
- "type": "string",
1117
- "required": false,
1118
- "source": "spec"
1119
- },
1120
- {
1121
- "name": "cursor",
1122
- "type": "string",
1123
- "required": false,
1124
- "description": "次ページの取得に使うカーソル",
1125
- "source": "curation"
1126
- },
1127
- {
1128
- "name": "sort",
1129
- "type": "string",
1130
- "required": false,
1131
- "source": "spec"
1132
- },
1133
- {
1134
- "name": "tags",
1135
- "type": "string",
1136
- "required": false,
1137
- "source": "spec"
1138
- },
1139
- {
1140
- "name": "tags_match_mode",
1141
- "type": "string",
1142
- "required": false,
1143
- "source": "spec"
1144
- },
1145
- {
1146
- "name": "limit",
1147
- "type": "integer",
1148
- "required": false,
1149
- "description": "1ページあたりの件数",
1150
- "source": "curation"
1151
- }
1152
- ],
1153
- "body": null,
1154
- "resultPath": "data",
1155
- "risk": "read",
1156
- "aliases": []
1157
- },
1158
- {
1159
- "name": "list-trash",
1160
- "domain": "media-file",
1161
- "operationId": "mediaFile.listTrash",
1162
- "method": "GET",
1163
- "path": "/v2/media/trash",
1164
- "summary": "ゴミ箱一覧を取得",
1165
- "pathParams": [],
1166
- "queryParams": [
1167
- {
1168
- "name": "scope",
1169
- "type": "string",
1170
- "required": false,
1171
- "source": "spec"
1172
- },
1173
- {
1174
- "name": "folder_id",
1175
- "type": "string",
1176
- "required": false,
1177
- "source": "spec"
1178
- },
1179
- {
1180
- "name": "cursor",
1181
- "type": "string",
1182
- "required": false,
1183
- "description": "次ページの取得に使うカーソル",
1184
- "source": "curation"
1185
- },
1186
- {
1187
- "name": "limit",
1188
- "type": "integer",
1189
- "required": false,
1190
- "description": "1ページあたりの件数",
1191
- "source": "curation"
1192
- }
1193
- ],
1194
- "body": null,
1195
- "resultPath": "data",
1196
- "risk": "read",
1197
- "aliases": []
1198
- },
1199
- {
1200
- "name": "merge-tags",
1201
- "domain": "media-file",
1202
- "operationId": "mediaFile.mergeTags",
1203
- "method": "POST",
1204
- "path": "/v2/media/tags/merge",
1205
- "summary": "タグを統合(旧タグを新タグに置換)",
1206
- "pathParams": [],
1207
- "queryParams": [],
1208
- "body": {
1209
- "schema": {
1210
- "type": "object",
1211
- "properties": {
1212
- "old_tag": {
1213
- "type": "string",
1214
- "maxLength": 100
1215
- },
1216
- "new_tag": {
1217
- "type": "string",
1218
- "maxLength": 100
1219
- }
1220
- },
1221
- "required": [
1222
- "old_tag",
1223
- "new_tag"
1224
- ]
1225
- }
1226
- },
1227
- "resultPath": null,
1228
- "risk": "write",
1229
- "aliases": []
1230
- },
1231
- {
1232
- "name": "move",
1233
- "domain": "media-file",
1234
- "operationId": "mediaFile.move",
1235
- "method": "POST",
1236
- "path": "/v2/media/files/{id}/move",
1237
- "summary": "ファイルを別フォルダに移動(スコープ間移動対応)",
1238
- "pathParams": [
1239
- {
1240
- "name": "id",
1241
- "type": "string",
1242
- "required": true,
1243
- "source": "spec"
1244
- }
1245
- ],
1246
- "queryParams": [],
1247
- "body": {
1248
- "schema": {
1249
- "type": "object",
1250
- "properties": {
1251
- "folder_id": {
1252
- "type": [
1253
- "string",
1254
- "null"
1255
- ]
1256
- },
1257
- "scope": {
1258
- "type": [
1259
- "string",
1260
- "null"
1261
- ],
1262
- "enum": [
1263
- "personal",
1264
- "project",
1265
- null
1266
- ]
1267
- },
1268
- "scope_id": {
1269
- "type": [
1270
- "string",
1271
- "null"
1272
- ]
1273
- }
1274
- }
1275
- }
1276
- },
1277
- "resultPath": null,
1278
- "risk": "write",
1279
- "aliases": []
1280
- },
1281
- {
1282
- "name": "permanent-delete-file",
1283
- "domain": "media-file",
1284
- "operationId": "mediaFile.permanentDeleteFile",
1285
- "method": "DELETE",
1286
- "path": "/v2/media/files/{id}/permanent",
1287
- "summary": "ファイルを完全削除",
1288
- "pathParams": [
1289
- {
1290
- "name": "id",
1291
- "type": "string",
1292
- "required": true,
1293
- "source": "spec"
1294
- }
1295
- ],
1296
- "queryParams": [],
1297
- "body": null,
1298
- "resultPath": null,
1299
- "risk": "destructive",
1300
- "aliases": []
1301
- },
1302
- {
1303
- "name": "projects",
1304
- "domain": "media-file",
1305
- "operationId": "mediaFile.projects",
1306
- "method": "GET",
1307
- "path": "/v2/media/projects",
1308
- "summary": "アクセス可能なプロジェクト一覧を取得(メディア用)",
1309
- "pathParams": [],
1310
- "queryParams": [
1311
- {
1312
- "name": "limit",
1313
- "type": "integer",
1314
- "required": false,
1315
- "description": "1ページあたりの件数",
1316
- "source": "curation"
1317
- },
1318
- {
1319
- "name": "cursor",
1320
- "type": "string",
1321
- "required": false,
1322
- "description": "次ページの取得に使うカーソル",
1323
- "source": "curation"
1324
- }
1325
- ],
1326
- "body": null,
1327
- "resultPath": "data",
1328
- "risk": "read",
1329
- "aliases": []
1330
- },
1331
- {
1332
- "name": "publish",
1333
- "domain": "media-file",
1334
- "operationId": "mediaFile.publish",
1335
- "method": "POST",
1336
- "path": "/v2/media/files/{id}/publish",
1337
- "summary": "ファイルを公開",
1338
- "pathParams": [
1339
- {
1340
- "name": "id",
1341
- "type": "string",
1342
- "required": true,
1343
- "source": "spec"
1344
- }
1345
- ],
1346
- "queryParams": [],
1347
- "body": null,
1348
- "resultPath": null,
1349
- "risk": "write",
1350
- "aliases": []
1351
- },
1352
- {
1353
- "name": "recent-files",
1354
- "domain": "media-file",
1355
- "operationId": "mediaFile.recentFiles",
1356
- "method": "GET",
1357
- "path": "/v2/media/files/recent",
1358
- "summary": "最近閲覧したファイル一覧を取得",
1359
- "pathParams": [],
1360
- "queryParams": [
1361
- {
1362
- "name": "limit",
1363
- "type": "integer",
1364
- "required": false,
1365
- "description": "1ページあたりの件数",
1366
- "source": "curation"
1367
- },
1368
- {
1369
- "name": "cursor",
1370
- "type": "string",
1371
- "required": false,
1372
- "description": "次ページの取得に使うカーソル",
1373
- "source": "curation"
1374
- }
1375
- ],
1376
- "body": null,
1377
- "resultPath": "data",
1378
- "risk": "read",
1379
- "aliases": []
1380
- },
1381
- {
1382
- "name": "remix-image",
1383
- "domain": "media-file",
1384
- "operationId": "mediaFile.remixImage",
1385
- "method": "POST",
1386
- "path": "/v2/media/files/remix/image",
1387
- "summary": "既存画像をリミックスして新しい画像を生成",
1388
- "pathParams": [],
1389
- "queryParams": [],
1390
- "body": {
1391
- "schema": {
1392
- "type": "object",
1393
- "properties": {
1394
- "source_file_id": {
1395
- "type": "string",
1396
- "format": "uuid"
1397
- },
1398
- "prompt": {
1399
- "type": "string",
1400
- "minLength": 1,
1401
- "maxLength": 2000
1402
- },
1403
- "model": {
1404
- "type": [
1405
- "string",
1406
- "null"
1407
- ],
1408
- "enum": [
1409
- "gemini-flash-image",
1410
- "gemini-3.1-flash-image",
1411
- "gemini-3-pro-image",
1412
- "gpt-image-2",
1413
- null
1414
- ]
1415
- },
1416
- "quality": {
1417
- "type": [
1418
- "string",
1419
- "null"
1420
- ],
1421
- "enum": [
1422
- "low",
1423
- "medium",
1424
- "high",
1425
- "auto",
1426
- null
1427
- ]
1428
- },
1429
- "size": {
1430
- "type": [
1431
- "string",
1432
- "null"
1433
- ],
1434
- "enum": [
1435
- "1024x1024",
1436
- "1536x1024",
1437
- "1024x1536",
1438
- "2048x2048",
1439
- null
1440
- ]
1441
- },
1442
- "folder_id": {
1443
- "type": [
1444
- "string",
1445
- "null"
1446
- ],
1447
- "format": "uuid"
1448
- },
1449
- "scope": {
1450
- "type": [
1451
- "string",
1452
- "null"
1453
- ],
1454
- "enum": [
1455
- "personal",
1456
- "project",
1457
- null
1458
- ]
1459
- },
1460
- "scope_id": {
1461
- "type": [
1462
- "string",
1463
- "null"
1464
- ]
1465
- }
1466
- },
1467
- "required": [
1468
- "source_file_id",
1469
- "prompt"
1470
- ],
1471
- "title": "RemixImageRequest"
1472
- }
1473
- },
1474
- "resultPath": null,
1475
- "risk": "write",
1476
- "aliases": []
1477
- },
1478
- {
1479
- "name": "restore-file",
1480
- "domain": "media-file",
1481
- "operationId": "mediaFile.restoreFile",
1482
- "method": "POST",
1483
- "path": "/v2/media/files/{id}/restore",
1484
- "summary": "ファイルを復元",
1485
- "pathParams": [
1486
- {
1487
- "name": "id",
1488
- "type": "string",
1489
- "required": true,
1490
- "source": "spec"
1491
- }
1492
- ],
1493
- "queryParams": [],
1494
- "body": null,
1495
- "resultPath": null,
1496
- "risk": "write",
1497
- "aliases": []
1498
- },
1499
- {
1500
- "name": "schedule",
1501
- "domain": "media-file",
1502
- "operationId": "mediaFile.schedule",
1503
- "method": "POST",
1504
- "path": "/v2/media/files/{id}/schedule",
1505
- "summary": "公開スケジュールを設定",
1506
- "pathParams": [
1507
- {
1508
- "name": "id",
1509
- "type": "string",
1510
- "required": true,
1511
- "source": "spec"
1512
- }
1513
- ],
1514
- "queryParams": [],
1515
- "body": {
1516
- "schema": {
1517
- "type": "object",
1518
- "properties": {
1519
- "publish_start_at": {
1520
- "type": [
1521
- "string",
1522
- "null"
1523
- ],
1524
- "format": "date-time"
1525
- },
1526
- "publish_end_at": {
1527
- "type": [
1528
- "string",
1529
- "null"
1530
- ],
1531
- "format": "date-time"
1532
- },
1533
- "archive_after_unpublish": {
1534
- "type": [
1535
- "boolean",
1536
- "null"
1537
- ]
1538
- }
1539
- },
1540
- "title": "App.Http.Requests.Media.SchedulePublishRequest"
1541
- }
1542
- },
1543
- "resultPath": null,
1544
- "risk": "write",
1545
- "aliases": []
1546
- },
1547
- {
1548
- "name": "suggest-tags",
1549
- "domain": "media-file",
1550
- "operationId": "mediaFile.suggestTags",
1551
- "method": "POST",
1552
- "path": "/v2/media/files/{id}/suggest-tags",
1553
- "summary": "AIでタグを提案",
1554
- "pathParams": [
1555
- {
1556
- "name": "id",
1557
- "type": "string",
1558
- "required": true,
1559
- "source": "spec"
1560
- }
1561
- ],
1562
- "queryParams": [],
1563
- "body": null,
1564
- "resultPath": null,
1565
- "risk": "write",
1566
- "aliases": []
1567
- },
1568
- {
1569
- "name": "summarize-for-generation",
1570
- "domain": "media-file",
1571
- "operationId": "mediaFile.summarizeForGeneration",
1572
- "method": "POST",
1573
- "path": "/v2/media/files/summarize-for-generation",
1574
- "summary": "コンテンツを生成用プロンプトに要約",
1575
- "pathParams": [],
1576
- "queryParams": [],
1577
- "body": {
1578
- "schema": {
1579
- "type": "object",
1580
- "properties": {
1581
- "content": {
1582
- "type": "string",
1583
- "minLength": 1,
1584
- "maxLength": 50000
1585
- },
1586
- "target_type": {
1587
- "type": "string",
1588
- "enum": [
1589
- "image",
1590
- "video",
1591
- "music"
1592
- ]
1593
- }
1594
- },
1595
- "required": [
1596
- "content",
1597
- "target_type"
1598
- ],
1599
- "title": "SummarizeForGenerationRequest"
1600
- }
1601
- },
1602
- "resultPath": null,
1603
- "risk": "write",
1604
- "aliases": []
1605
- },
1606
- {
1607
- "name": "unpublish",
1608
- "domain": "media-file",
1609
- "operationId": "mediaFile.unpublish",
1610
- "method": "POST",
1611
- "path": "/v2/media/files/{id}/unpublish",
1612
- "summary": "ファイルを非公開",
1613
- "pathParams": [
1614
- {
1615
- "name": "id",
1616
- "type": "string",
1617
- "required": true,
1618
- "source": "spec"
1619
- }
1620
- ],
1621
- "queryParams": [],
1622
- "body": null,
1623
- "resultPath": null,
1624
- "risk": "write",
1625
- "aliases": []
1626
- },
1627
- {
1628
- "name": "update",
1629
- "domain": "media-file",
1630
- "operationId": "mediaFile.update",
1631
- "method": "PUT",
1632
- "path": "/v2/media/files/{id}",
1633
- "summary": "ファイル情報を更新",
1634
- "pathParams": [
1635
- {
1636
- "name": "id",
1637
- "type": "string",
1638
- "required": true,
1639
- "source": "spec"
1640
- }
1641
- ],
1642
- "queryParams": [],
1643
- "body": {
1644
- "schema": {
1645
- "type": "object",
1646
- "properties": {
1647
- "file_name": {
1648
- "type": "string",
1649
- "pattern": "^[^\\/\\\\:*?\"<>|]+$",
1650
- "maxLength": 255
1651
- },
1652
- "tags": {
1653
- "type": [
1654
- "array",
1655
- "null"
1656
- ],
1657
- "items": {
1658
- "type": "string",
1659
- "maxLength": 100
1660
- }
1661
- },
1662
- "folder_id": {
1663
- "type": [
1664
- "string",
1665
- "null"
1666
- ],
1667
- "format": "uuid"
1668
- }
1669
- },
1670
- "title": "UpdateMediaRequest"
1671
- }
1672
- },
1673
- "resultPath": null,
1674
- "risk": "write",
1675
- "aliases": []
1676
- },
1677
- {
1678
- "name": "update-content",
1679
- "domain": "media-file",
1680
- "operationId": "mediaFile.updateContent",
1681
- "method": "PUT",
1682
- "path": "/v2/media/files/{id}/content",
1683
- "summary": "ファイル内容を更新(テキストファイル用)",
1684
- "pathParams": [
1685
- {
1686
- "name": "id",
1687
- "type": "string",
1688
- "required": true,
1689
- "source": "spec"
1690
- }
1691
- ],
1692
- "queryParams": [],
1693
- "body": {
1694
- "schema": {
1695
- "type": "object",
1696
- "properties": {
1697
- "content": {
1698
- "type": "string",
1699
- "maxLength": 500000
1700
- }
1701
- },
1702
- "required": [
1703
- "content"
1704
- ]
1705
- }
1706
- },
1707
- "resultPath": null,
1708
- "risk": "write",
1709
- "aliases": []
1710
- }
4
+ {"name":"archive","domain":"media-file","operationId":"mediaFile.archive","method":"POST","path":"/v2/media/files/{id}/archive","summary":"ファイルをアーカイブ","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
5
+ {"name":"bulk-archive","domain":"media-file","operationId":"mediaFile.bulkArchive","method":"POST","path":"/v2/media/files/bulk/archive","summary":"複数ファイルを一括アーカイブ","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100}},"required":["file_ids"],"title":"BulkFileOperationRequest"}},"resultPath":null,"risk":"write","aliases":[]},
6
+ {"name":"bulk-delete","domain":"media-file","operationId":"mediaFile.bulkDelete","method":"POST","path":"/v2/media/files/bulk/delete","summary":"複数ファイルを一括削除","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100}},"required":["file_ids"],"title":"BulkFileOperationRequest"}},"resultPath":null,"risk":"destructive","aliases":[]},
7
+ {"name":"bulk-download","domain":"media-file","operationId":"mediaFile.bulkDownload","method":"POST","path":"/v2/media/files/bulk/download","summary":"複数ファイルをZIPでダウンロード","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":50}},"required":["file_ids"],"title":"BulkFileDownloadRequest"}},"resultPath":null,"risk":"write","aliases":[]},
8
+ {"name":"bulk-move","domain":"media-file","operationId":"mediaFile.bulkMove","method":"POST","path":"/v2/media/files/bulk/move","summary":"複数ファイルを一括移動","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100},"folder_id":{"type":["string","null"],"format":"uuid"},"scope":{"type":"string","enum":["personal","project"]},"scope_id":{"type":"string"}},"required":["file_ids","scope","scope_id"],"title":"BulkFileMoveRequest"}},"resultPath":null,"risk":"write","aliases":[]},
9
+ {"name":"bulk-permanent-delete","domain":"media-file","operationId":"mediaFile.bulkPermanentDelete","method":"POST","path":"/v2/media/files/bulk/permanent-delete","summary":"複数ファイルを一括完全削除","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100}},"required":["file_ids"],"title":"BulkFileOperationRequest"}},"resultPath":null,"risk":"destructive","aliases":[]},
10
+ {"name":"bulk-publish","domain":"media-file","operationId":"mediaFile.bulkPublish","method":"POST","path":"/v2/media/files/bulk/publish","summary":"複数ファイルを一括公開","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100}},"required":["file_ids"],"title":"BulkFileOperationRequest"}},"resultPath":null,"risk":"write","aliases":[]},
11
+ {"name":"bulk-restore","domain":"media-file","operationId":"mediaFile.bulkRestore","method":"POST","path":"/v2/media/files/bulk/restore","summary":"複数ファイルを一括復元","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100}},"required":["file_ids"],"title":"BulkFileOperationRequest"}},"resultPath":null,"risk":"write","aliases":[]},
12
+ {"name":"bulk-unpublish","domain":"media-file","operationId":"mediaFile.bulkUnpublish","method":"POST","path":"/v2/media/files/bulk/unpublish","summary":"複数ファイルを一括非公開","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file_ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":100}},"required":["file_ids"],"title":"BulkFileOperationRequest"}},"resultPath":null,"risk":"write","aliases":[]},
13
+ {"name":"check-duplicates","domain":"media-file","operationId":"mediaFile.checkDuplicates","method":"POST","path":"/v2/media/files/check-duplicates","summary":"アップロード前の同名ファイルチェック","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"scope":{"type":"string","enum":["personal","project"]},"scope_id":{"type":"string"},"folder_id":{"type":["string","null"]},"file_names":{"type":"array","items":{"type":"string","maxLength":255},"minItems":1,"maxItems":100}},"required":["scope","scope_id","file_names"]}},"resultPath":null,"risk":"write","aliases":[]},
14
+ {"name":"complete-replace","domain":"media-file","operationId":"mediaFile.completeReplace","method":"POST","path":"/v2/media/files/{id}/replace-complete","summary":"ファイル置換を完了","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"content_type":{"type":"string","maxLength":255},"file_size":{"type":"integer","minimum":1,"maximum":10737418240},"comment":{"type":["string","null"],"maxLength":500}},"required":["content_type","file_size"]}},"resultPath":null,"risk":"write","aliases":[]},
15
+ {"name":"complete-upload","domain":"media-file","operationId":"mediaFile.completeUpload","method":"POST","path":"/v2/media/files/{id}/complete","summary":"アップロード完了を登録","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"tags":{"type":["array","null"],"items":{"type":"string","maxLength":100}}},"title":"CompleteUploadRequest"}},"resultPath":null,"risk":"write","aliases":[]},
16
+ {"name":"create-tag","domain":"media-file","operationId":"mediaFile.createTag","method":"POST","path":"/v2/media/tags","summary":"新規タグを作成(マスタータグとして登録)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"tag":{"type":"string","maxLength":100}},"required":["tag"]}},"resultPath":null,"risk":"write","aliases":[]},
17
+ {"name":"delete","domain":"media-file","operationId":"mediaFile.destroy","method":"DELETE","path":"/v2/media/files/{id}","summary":"ファイルを削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
18
+ {"name":"delete-tag","domain":"media-file","operationId":"mediaFile.deleteTag","method":"DELETE","path":"/v2/media/tags/{tag}","summary":"タグを削除(該当するファイルからタグを除去 + マスタータグ削除)","pathParams":[{"name":"tag","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
19
+ {"name":"document-formats","domain":"media-file","operationId":"mediaFile.documentFormats","method":"GET","path":"/v2/media/files/generate/document/formats","summary":"利用可能なドキュメントフォーマット一覧を取得","pathParams":[],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"data","risk":"read","aliases":[]},
20
+ {"name":"document-generation-models","domain":"media-file","operationId":"mediaFile.documentGenerationModels","method":"GET","path":"/v2/media/files/generate/document/models","summary":"利用可能なドキュメント生成モデル一覧を取得","pathParams":[],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"data","risk":"read","aliases":[]},
21
+ {"name":"download-url","domain":"media-file","operationId":"mediaFile.downloadUrl","method":"GET","path":"/v2/media/files/{id}/download-url","summary":"ダウンロード用URLを取得","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":null,"risk":"read","aliases":[]},
22
+ {"name":"duplicates","domain":"media-file","operationId":"mediaFile.duplicates","method":"GET","path":"/v2/media/files/{id}/duplicates","summary":"ファイルの重複を検出","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":null,"risk":"read","aliases":[]},
23
+ {"name":"empty-trash","domain":"media-file","operationId":"mediaFile.emptyTrash","method":"POST","path":"/v2/media/trash/empty","summary":"ゴミ箱を空にする","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"scope":{"type":"string","enum":["personal","project"]},"scope_id":{"type":"string"}},"required":["scope","scope_id"]}},"resultPath":null,"risk":"write","aliases":[]},
24
+ {"name":"generate-document","domain":"media-file","operationId":"mediaFile.generateDocument","method":"POST","path":"/v2/media/files/generate/document","summary":"AIでドキュメントを生成してメディアファイルとして保存","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":4000},"format":{"type":"string","enum":["markdown"]},"model":{"type":["string","null"],"enum":["claude-opus-5","claude-sonnet-5","claude-opus-4-7","claude-opus-4-6","claude-opus-4-5","claude-haiku-4-5","gpt-5.6-sol","gpt-5.6-luna","gemini-3-pro","gemini-3-flash",null]},"folder_id":{"type":["string","null"],"format":"uuid"},"scope":{"type":["string","null"],"enum":["personal","project",null]},"scope_id":{"type":["string","null"]}},"required":["prompt","format"],"title":"GenerateDocumentRequest"}},"resultPath":null,"risk":"write","aliases":[]},
25
+ {"name":"generate-image","domain":"media-file","operationId":"mediaFile.generateImage","method":"POST","path":"/v2/media/files/generate/image","summary":"AIで画像を生成してメディアファイルとして保存","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000},"model":{"type":["string","null"],"enum":["gemini-flash-image","gemini-3.1-flash-image","gemini-3-pro-image","gpt-image-2",null]},"quality":{"type":["string","null"],"enum":["low","medium","high","auto",null]},"size":{"type":["string","null"],"enum":["1024x1024","1536x1024","1024x1536","2048x2048",null]},"folder_id":{"type":["string","null"],"format":"uuid"},"scope":{"type":["string","null"],"enum":["personal","project",null]},"scope_id":{"type":["string","null"]}},"required":["prompt"],"title":"GenerateImageRequest"}},"resultPath":null,"risk":"write","aliases":[]},
26
+ {"name":"generate-replace-url","domain":"media-file","operationId":"mediaFile.generateReplaceUrl","method":"POST","path":"/v2/media/files/{id}/replace-url","summary":"ファイル置換用のアップロードURLを生成","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"content_type":{"type":"string","maxLength":255},"file_size":{"type":"integer","minimum":1,"maximum":10737418240}},"required":["content_type","file_size"]}},"resultPath":null,"risk":"write","aliases":[]},
27
+ {"name":"generate-upload-url","domain":"media-file","operationId":"mediaFile.generateUploadUrl","method":"POST","path":"/v2/media/files/upload-url","summary":"アップロード用の署名付きURLを生成","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file_name":{"type":"string","pattern":"^[^\\/\\\\:*?\"<>|]+$","maxLength":255},"content_type":{"type":"string","maxLength":255},"file_size":{"type":"integer","minimum":1,"maximum":2147483648},"folder_id":{"type":["string","null"],"format":"uuid"},"scope":{"type":["string","null"],"enum":["personal","project",null]},"scope_id":{"type":["string","null"]}},"required":["file_name","content_type","file_size"],"title":"UploadMediaRequest"}},"resultPath":null,"risk":"write","aliases":[]},
28
+ {"name":"get","domain":"media-file","operationId":"mediaFile.show","method":"GET","path":"/v2/media/files/{id}","summary":"ファイル詳細を取得","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":null,"risk":"read","aliases":[]},
29
+ {"name":"get-content","domain":"media-file","operationId":"mediaFile.getContent","method":"GET","path":"/v2/media/files/{id}/content","summary":"ファイル内容を取得(テキストファイル用)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":null,"risk":"read","aliases":[]},
30
+ {"name":"get-used-tags","domain":"media-file","operationId":"mediaFile.getUsedTags","method":"GET","path":"/v2/media/files/tags","summary":"テナント内で使用されているタグ一覧を取得","pathParams":[],"queryParams":[{"name":"with_count","type":"string","required":false,"source":"spec"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"data","risk":"read","aliases":[]},
31
+ {"name":"image-generation-models","domain":"media-file","operationId":"mediaFile.imageGenerationModels","method":"GET","path":"/v2/media/files/generate/image/models","summary":"利用可能な画像生成モデル一覧を取得","pathParams":[],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"data","risk":"read","aliases":[]},
32
+ {"name":"list","domain":"media-file","operationId":"mediaFile.index","method":"GET","path":"/v2/media/files","summary":"ファイル一覧を取得","pathParams":[],"queryParams":[{"name":"folder_id","type":"string","required":false,"source":"spec"},{"name":"status","type":"string","required":false,"source":"spec"},{"name":"keyword","type":"string","required":false,"source":"spec"},{"name":"scope","type":"string","required":false,"source":"spec"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"},{"name":"sort","type":"string","required":false,"source":"spec"},{"name":"tags","type":"string","required":false,"source":"spec"},{"name":"tags_match_mode","type":"string","required":false,"source":"spec"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"}],"body":null,"resultPath":"data","risk":"read","aliases":[]},
33
+ {"name":"list-trash","domain":"media-file","operationId":"mediaFile.listTrash","method":"GET","path":"/v2/media/trash","summary":"ゴミ箱一覧を取得","pathParams":[],"queryParams":[{"name":"scope","type":"string","required":false,"source":"spec"},{"name":"folder_id","type":"string","required":false,"source":"spec"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"},{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"}],"body":null,"resultPath":"data","risk":"read","aliases":[]},
34
+ {"name":"merge-tags","domain":"media-file","operationId":"mediaFile.mergeTags","method":"POST","path":"/v2/media/tags/merge","summary":"タグを統合(旧タグを新タグに置換)","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"old_tag":{"type":"string","maxLength":100},"new_tag":{"type":"string","maxLength":100}},"required":["old_tag","new_tag"]}},"resultPath":null,"risk":"write","aliases":[]},
35
+ {"name":"move","domain":"media-file","operationId":"mediaFile.move","method":"POST","path":"/v2/media/files/{id}/move","summary":"ファイルを別フォルダに移動(スコープ間移動対応)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"folder_id":{"type":["string","null"]},"scope":{"type":["string","null"],"enum":["personal","project",null]},"scope_id":{"type":["string","null"]}}}},"resultPath":null,"risk":"write","aliases":[]},
36
+ {"name":"permanent-delete-file","domain":"media-file","operationId":"mediaFile.permanentDeleteFile","method":"DELETE","path":"/v2/media/files/{id}/permanent","summary":"ファイルを完全削除","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"destructive","aliases":[]},
37
+ {"name":"projects","domain":"media-file","operationId":"mediaFile.projects","method":"GET","path":"/v2/media/projects","summary":"アクセス可能なプロジェクト一覧を取得(メディア用)","pathParams":[],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"data","risk":"read","aliases":[]},
38
+ {"name":"publish","domain":"media-file","operationId":"mediaFile.publish","method":"POST","path":"/v2/media/files/{id}/publish","summary":"ファイルを公開","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
39
+ {"name":"recent-files","domain":"media-file","operationId":"mediaFile.recentFiles","method":"GET","path":"/v2/media/files/recent","summary":"最近閲覧したファイル一覧を取得","pathParams":[],"queryParams":[{"name":"limit","type":"integer","required":false,"description":"1ページあたりの件数","source":"curation"},{"name":"cursor","type":"string","required":false,"description":"次ページの取得に使うカーソル","source":"curation"}],"body":null,"resultPath":"data","risk":"read","aliases":[]},
40
+ {"name":"remix-image","domain":"media-file","operationId":"mediaFile.remixImage","method":"POST","path":"/v2/media/files/remix/image","summary":"既存画像をリミックスして新しい画像を生成","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"source_file_id":{"type":"string","format":"uuid"},"prompt":{"type":"string","minLength":1,"maxLength":2000},"model":{"type":["string","null"],"enum":["gemini-flash-image","gemini-3.1-flash-image","gemini-3-pro-image","gpt-image-2",null]},"quality":{"type":["string","null"],"enum":["low","medium","high","auto",null]},"size":{"type":["string","null"],"enum":["1024x1024","1536x1024","1024x1536","2048x2048",null]},"folder_id":{"type":["string","null"],"format":"uuid"},"scope":{"type":["string","null"],"enum":["personal","project",null]},"scope_id":{"type":["string","null"]}},"required":["source_file_id","prompt"],"title":"RemixImageRequest"}},"resultPath":null,"risk":"write","aliases":[]},
41
+ {"name":"restore-file","domain":"media-file","operationId":"mediaFile.restoreFile","method":"POST","path":"/v2/media/files/{id}/restore","summary":"ファイルを復元","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
42
+ {"name":"schedule","domain":"media-file","operationId":"mediaFile.schedule","method":"POST","path":"/v2/media/files/{id}/schedule","summary":"公開スケジュールを設定","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"publish_start_at":{"type":["string","null"],"format":"date-time"},"publish_end_at":{"type":["string","null"],"format":"date-time"},"archive_after_unpublish":{"type":["boolean","null"]}},"title":"App.Http.Requests.Media.SchedulePublishRequest"}},"resultPath":null,"risk":"write","aliases":[]},
43
+ {"name":"suggest-tags","domain":"media-file","operationId":"mediaFile.suggestTags","method":"POST","path":"/v2/media/files/{id}/suggest-tags","summary":"AIでタグを提案","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
44
+ {"name":"summarize-for-generation","domain":"media-file","operationId":"mediaFile.summarizeForGeneration","method":"POST","path":"/v2/media/files/summarize-for-generation","summary":"コンテンツを生成用プロンプトに要約","pathParams":[],"queryParams":[],"body":{"schema":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":50000},"target_type":{"type":"string","enum":["image","video","music"]}},"required":["content","target_type"],"title":"SummarizeForGenerationRequest"}},"resultPath":null,"risk":"write","aliases":[]},
45
+ {"name":"unpublish","domain":"media-file","operationId":"mediaFile.unpublish","method":"POST","path":"/v2/media/files/{id}/unpublish","summary":"ファイルを非公開","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":null,"resultPath":null,"risk":"write","aliases":[]},
46
+ {"name":"update","domain":"media-file","operationId":"mediaFile.update","method":"PUT","path":"/v2/media/files/{id}","summary":"ファイル情報を更新","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"file_name":{"type":"string","pattern":"^[^\\/\\\\:*?\"<>|]+$","maxLength":255},"tags":{"type":["array","null"],"items":{"type":"string","maxLength":100}},"folder_id":{"type":["string","null"],"format":"uuid"}},"title":"UpdateMediaRequest"}},"resultPath":null,"risk":"write","aliases":[]},
47
+ {"name":"update-content","domain":"media-file","operationId":"mediaFile.updateContent","method":"PUT","path":"/v2/media/files/{id}/content","summary":"ファイル内容を更新(テキストファイル用)","pathParams":[{"name":"id","type":"string","required":true,"source":"spec"}],"queryParams":[],"body":{"schema":{"type":"object","properties":{"content":{"type":"string","maxLength":500000}},"required":["content"]}},"resultPath":null,"risk":"write","aliases":[]}
1711
48
  ]
1712
49
  }