shortcut_client_ruby 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (453) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE +21 -0
  4. data/README.md +2303 -0
  5. data/Rakefile +8 -0
  6. data/bin/console +15 -0
  7. data/bin/setup +8 -0
  8. data/bin/update.rb +34 -0
  9. data/config.json +7 -0
  10. data/docs/BasicWorkspaceInfo.md +8 -0
  11. data/docs/Branch.md +17 -0
  12. data/docs/Category.md +15 -0
  13. data/docs/Commit.md +19 -0
  14. data/docs/CreateCategory.md +10 -0
  15. data/docs/CreateCategoryParams.md +9 -0
  16. data/docs/CreateCommentComment.md +11 -0
  17. data/docs/CreateEntityTemplate.md +9 -0
  18. data/docs/CreateEpic.md +23 -0
  19. data/docs/CreateEpicComment.md +11 -0
  20. data/docs/CreateGroup.md +14 -0
  21. data/docs/CreateIteration.md +13 -0
  22. data/docs/CreateLabelParams.md +10 -0
  23. data/docs/CreateLinkedFile.md +15 -0
  24. data/docs/CreateMilestone.md +12 -0
  25. data/docs/CreateOrDeleteStoryReaction.md +7 -0
  26. data/docs/CreateProject.md +17 -0
  27. data/docs/CreateStories.md +7 -0
  28. data/docs/CreateStoryComment.md +11 -0
  29. data/docs/CreateStoryCommentParams.md +11 -0
  30. data/docs/CreateStoryContents.md +27 -0
  31. data/docs/CreateStoryLink.md +9 -0
  32. data/docs/CreateStoryLinkParams.md +9 -0
  33. data/docs/CreateStoryParams.md +33 -0
  34. data/docs/CreateTask.md +12 -0
  35. data/docs/CreateTaskParams.md +12 -0
  36. data/docs/DefaultApi.md +5632 -0
  37. data/docs/DeleteStories.md +7 -0
  38. data/docs/EntityTemplate.md +14 -0
  39. data/docs/EntityTemplateTask.md +10 -0
  40. data/docs/Epic.md +44 -0
  41. data/docs/EpicSearchResults.md +10 -0
  42. data/docs/EpicSlim.md +43 -0
  43. data/docs/EpicState.md +15 -0
  44. data/docs/EpicStats.md +19 -0
  45. data/docs/EpicWorkflow.md +12 -0
  46. data/docs/GetEpicStories.md +7 -0
  47. data/docs/GetExternalLinkStoriesParams.md +7 -0
  48. data/docs/GetIterationStories.md +7 -0
  49. data/docs/GetLabelStories.md +7 -0
  50. data/docs/GetMember.md +7 -0
  51. data/docs/GetProjectStories.md +7 -0
  52. data/docs/Group.md +22 -0
  53. data/docs/History.md +15 -0
  54. data/docs/HistoryActionBranchCreate.md +11 -0
  55. data/docs/HistoryActionBranchMerge.md +11 -0
  56. data/docs/HistoryActionBranchPush.md +11 -0
  57. data/docs/HistoryActionLabelCreate.md +11 -0
  58. data/docs/HistoryActionLabelDelete.md +10 -0
  59. data/docs/HistoryActionLabelUpdate.md +9 -0
  60. data/docs/HistoryActionProjectUpdate.md +11 -0
  61. data/docs/HistoryActionPullRequest.md +12 -0
  62. data/docs/HistoryActionStoryCommentCreate.md +12 -0
  63. data/docs/HistoryActionStoryCreate.md +30 -0
  64. data/docs/HistoryActionStoryDelete.md +11 -0
  65. data/docs/HistoryActionStoryLinkCreate.md +12 -0
  66. data/docs/HistoryActionStoryLinkDelete.md +12 -0
  67. data/docs/HistoryActionStoryLinkUpdate.md +13 -0
  68. data/docs/HistoryActionStoryUpdate.md +13 -0
  69. data/docs/HistoryActionTaskCreate.md +15 -0
  70. data/docs/HistoryActionTaskDelete.md +10 -0
  71. data/docs/HistoryActionTaskUpdate.md +13 -0
  72. data/docs/HistoryChangesStory.md +30 -0
  73. data/docs/HistoryChangesStoryLink.md +9 -0
  74. data/docs/HistoryChangesTask.md +10 -0
  75. data/docs/HistoryReferenceBranch.md +10 -0
  76. data/docs/HistoryReferenceCommit.md +10 -0
  77. data/docs/HistoryReferenceEpic.md +10 -0
  78. data/docs/HistoryReferenceGeneral.md +9 -0
  79. data/docs/HistoryReferenceGroup.md +9 -0
  80. data/docs/HistoryReferenceIteration.md +10 -0
  81. data/docs/HistoryReferenceLabel.md +10 -0
  82. data/docs/HistoryReferenceProject.md +10 -0
  83. data/docs/HistoryReferenceStory.md +11 -0
  84. data/docs/HistoryReferenceStoryTask.md +9 -0
  85. data/docs/HistoryReferenceWorkflowState.md +10 -0
  86. data/docs/Icon.md +11 -0
  87. data/docs/Identity.md +9 -0
  88. data/docs/Iteration.md +24 -0
  89. data/docs/IterationSlim.md +23 -0
  90. data/docs/IterationStats.md +17 -0
  91. data/docs/Label.md +17 -0
  92. data/docs/LabelSlim.md +16 -0
  93. data/docs/LabelStats.md +21 -0
  94. data/docs/LinkedFile.md +22 -0
  95. data/docs/ListEpics.md +7 -0
  96. data/docs/ListGroupStories.md +8 -0
  97. data/docs/ListLabels.md +7 -0
  98. data/docs/ListMembers.md +7 -0
  99. data/docs/MaxSearchResultsExceededError.md +9 -0
  100. data/docs/Member.md +17 -0
  101. data/docs/MemberInfo.md +10 -0
  102. data/docs/Milestone.md +23 -0
  103. data/docs/MilestoneStats.md +9 -0
  104. data/docs/Profile.md +15 -0
  105. data/docs/Project.md +25 -0
  106. data/docs/ProjectStats.md +9 -0
  107. data/docs/PullRequest.md +28 -0
  108. data/docs/PullRequestLabel.md +11 -0
  109. data/docs/Repository.md +15 -0
  110. data/docs/Search.md +10 -0
  111. data/docs/SearchResults.md +8 -0
  112. data/docs/SearchStories.md +34 -0
  113. data/docs/Story.md +56 -0
  114. data/docs/StoryComment.md +20 -0
  115. data/docs/StoryContents.md +25 -0
  116. data/docs/StoryContentsTask.md +11 -0
  117. data/docs/StoryHistoryChangeAddsRemovesInt.md +8 -0
  118. data/docs/StoryHistoryChangeAddsRemovesUuid.md +8 -0
  119. data/docs/StoryHistoryChangeOldNewBool.md +8 -0
  120. data/docs/StoryHistoryChangeOldNewInt.md +8 -0
  121. data/docs/StoryHistoryChangeOldNewStr.md +8 -0
  122. data/docs/StoryHistoryChangeOldNewUuid.md +8 -0
  123. data/docs/StoryLink.md +14 -0
  124. data/docs/StoryReaction.md +8 -0
  125. data/docs/StorySearchResults.md +10 -0
  126. data/docs/StorySlim.md +54 -0
  127. data/docs/StoryStats.md +7 -0
  128. data/docs/Task.md +20 -0
  129. data/docs/ThreadedComment.md +19 -0
  130. data/docs/TypedStoryLink.md +15 -0
  131. data/docs/UnusableEntitlementError.md +9 -0
  132. data/docs/UpdateCategory.md +9 -0
  133. data/docs/UpdateComment.md +7 -0
  134. data/docs/UpdateEntityTemplate.md +8 -0
  135. data/docs/UpdateEpic.md +23 -0
  136. data/docs/UpdateFile.md +12 -0
  137. data/docs/UpdateGroup.md +15 -0
  138. data/docs/UpdateIteration.md +13 -0
  139. data/docs/UpdateLabel.md +10 -0
  140. data/docs/UpdateLinkedFile.md +14 -0
  141. data/docs/UpdateMilestone.md +14 -0
  142. data/docs/UpdateProject.md +15 -0
  143. data/docs/UpdateStories.md +27 -0
  144. data/docs/UpdateStory.md +32 -0
  145. data/docs/UpdateStoryComment.md +7 -0
  146. data/docs/UpdateStoryContents.md +27 -0
  147. data/docs/UpdateStoryLink.md +9 -0
  148. data/docs/UpdateTask.md +11 -0
  149. data/docs/UploadedFile.md +23 -0
  150. data/docs/V3FilesBody.md +11 -0
  151. data/docs/Workflow.md +17 -0
  152. data/docs/WorkflowState.md +18 -0
  153. data/git_push.sh +55 -0
  154. data/lib/shortcut/client/ruby/version.rb +9 -0
  155. data/lib/shortcut/client/ruby.rb +12 -0
  156. data/lib/shortcut_client_ruby/api/default_api.rb +6091 -0
  157. data/lib/shortcut_client_ruby/api_client.rb +388 -0
  158. data/lib/shortcut_client_ruby/api_error.rb +57 -0
  159. data/lib/shortcut_client_ruby/configuration.rb +205 -0
  160. data/lib/shortcut_client_ruby/models/basic_workspace_info.rb +227 -0
  161. data/lib/shortcut_client_ruby/models/branch.rb +371 -0
  162. data/lib/shortcut_client_ruby/models/category.rb +335 -0
  163. data/lib/shortcut_client_ruby/models/commit.rb +398 -0
  164. data/lib/shortcut_client_ruby/models/create_category.rb +281 -0
  165. data/lib/shortcut_client_ruby/models/create_category_params.rb +233 -0
  166. data/lib/shortcut_client_ruby/models/create_comment_comment.rb +252 -0
  167. data/lib/shortcut_client_ruby/models/create_entity_template.rb +237 -0
  168. data/lib/shortcut_client_ruby/models/create_epic.rb +416 -0
  169. data/lib/shortcut_client_ruby/models/create_epic_comment.rb +252 -0
  170. data/lib/shortcut_client_ruby/models/create_group.rb +325 -0
  171. data/lib/shortcut_client_ruby/models/create_iteration.rb +288 -0
  172. data/lib/shortcut_client_ruby/models/create_label_params.rb +243 -0
  173. data/lib/shortcut_client_ruby/models/create_linked_file.rb +336 -0
  174. data/lib/shortcut_client_ruby/models/create_milestone.rb +298 -0
  175. data/lib/shortcut_client_ruby/models/create_or_delete_story_reaction.rb +212 -0
  176. data/lib/shortcut_client_ruby/models/create_project.rb +319 -0
  177. data/lib/shortcut_client_ruby/models/create_stories.rb +214 -0
  178. data/lib/shortcut_client_ruby/models/create_story_comment.rb +252 -0
  179. data/lib/shortcut_client_ruby/models/create_story_comment_params.rb +253 -0
  180. data/lib/shortcut_client_ruby/models/create_story_contents.rb +433 -0
  181. data/lib/shortcut_client_ruby/models/create_story_link.rb +276 -0
  182. data/lib/shortcut_client_ruby/models/create_story_link_params.rb +267 -0
  183. data/lib/shortcut_client_ruby/models/create_story_params.rb +532 -0
  184. data/lib/shortcut_client_ruby/models/create_task.rb +264 -0
  185. data/lib/shortcut_client_ruby/models/create_task_params.rb +265 -0
  186. data/lib/shortcut_client_ruby/models/delete_stories.rb +214 -0
  187. data/lib/shortcut_client_ruby/models/entity_template.rb +317 -0
  188. data/lib/shortcut_client_ruby/models/entity_template_task.rb +245 -0
  189. data/lib/shortcut_client_ruby/models/epic.rb +799 -0
  190. data/lib/shortcut_client_ruby/models/epic_search_results.rb +257 -0
  191. data/lib/shortcut_client_ruby/models/epic_slim.rb +777 -0
  192. data/lib/shortcut_client_ruby/models/epic_state.rb +328 -0
  193. data/lib/shortcut_client_ruby/models/epic_stats.rb +384 -0
  194. data/lib/shortcut_client_ruby/models/epic_workflow.rb +290 -0
  195. data/lib/shortcut_client_ruby/models/get_epic_stories.rb +207 -0
  196. data/lib/shortcut_client_ruby/models/get_external_link_stories_params.rb +212 -0
  197. data/lib/shortcut_client_ruby/models/get_iteration_stories.rb +207 -0
  198. data/lib/shortcut_client_ruby/models/get_label_stories.rb +207 -0
  199. data/lib/shortcut_client_ruby/models/get_member.rb +207 -0
  200. data/lib/shortcut_client_ruby/models/get_project_stories.rb +207 -0
  201. data/lib/shortcut_client_ruby/models/group.rb +479 -0
  202. data/lib/shortcut_client_ruby/models/history.rb +347 -0
  203. data/lib/shortcut_client_ruby/models/history_action_branch_create.rb +307 -0
  204. data/lib/shortcut_client_ruby/models/history_action_branch_merge.rb +307 -0
  205. data/lib/shortcut_client_ruby/models/history_action_branch_push.rb +307 -0
  206. data/lib/shortcut_client_ruby/models/history_action_label_create.rb +307 -0
  207. data/lib/shortcut_client_ruby/models/history_action_label_delete.rb +292 -0
  208. data/lib/shortcut_client_ruby/models/history_action_label_update.rb +277 -0
  209. data/lib/shortcut_client_ruby/models/history_action_project_update.rb +307 -0
  210. data/lib/shortcut_client_ruby/models/history_action_pull_request.rb +322 -0
  211. data/lib/shortcut_client_ruby/models/history_action_story_comment_create.rb +322 -0
  212. data/lib/shortcut_client_ruby/models/history_action_story_create.rb +527 -0
  213. data/lib/shortcut_client_ruby/models/history_action_story_delete.rb +319 -0
  214. data/lib/shortcut_client_ruby/models/history_action_story_link_create.rb +334 -0
  215. data/lib/shortcut_client_ruby/models/history_action_story_link_delete.rb +336 -0
  216. data/lib/shortcut_client_ruby/models/history_action_story_link_update.rb +348 -0
  217. data/lib/shortcut_client_ruby/models/history_action_story_update.rb +343 -0
  218. data/lib/shortcut_client_ruby/models/history_action_task_create.rb +353 -0
  219. data/lib/shortcut_client_ruby/models/history_action_task_delete.rb +292 -0
  220. data/lib/shortcut_client_ruby/models/history_action_task_update.rb +331 -0
  221. data/lib/shortcut_client_ruby/models/history_changes_story.rb +414 -0
  222. data/lib/shortcut_client_ruby/models/history_changes_story_link.rb +225 -0
  223. data/lib/shortcut_client_ruby/models/history_changes_task.rb +234 -0
  224. data/lib/shortcut_client_ruby/models/history_reference_branch.rb +258 -0
  225. data/lib/shortcut_client_ruby/models/history_reference_commit.rb +258 -0
  226. data/lib/shortcut_client_ruby/models/history_reference_epic.rb +258 -0
  227. data/lib/shortcut_client_ruby/models/history_reference_general.rb +243 -0
  228. data/lib/shortcut_client_ruby/models/history_reference_group.rb +243 -0
  229. data/lib/shortcut_client_ruby/models/history_reference_iteration.rb +258 -0
  230. data/lib/shortcut_client_ruby/models/history_reference_label.rb +258 -0
  231. data/lib/shortcut_client_ruby/models/history_reference_project.rb +258 -0
  232. data/lib/shortcut_client_ruby/models/history_reference_story.rb +307 -0
  233. data/lib/shortcut_client_ruby/models/history_reference_story_task.rb +243 -0
  234. data/lib/shortcut_client_ruby/models/history_reference_workflow_state.rb +292 -0
  235. data/lib/shortcut_client_ruby/models/icon.rb +273 -0
  236. data/lib/shortcut_client_ruby/models/identity.rb +245 -0
  237. data/lib/shortcut_client_ruby/models/iteration.rb +481 -0
  238. data/lib/shortcut_client_ruby/models/iteration_slim.rb +466 -0
  239. data/lib/shortcut_client_ruby/models/iteration_stats.rb +353 -0
  240. data/lib/shortcut_client_ruby/models/label.rb +362 -0
  241. data/lib/shortcut_client_ruby/models/label_slim.rb +353 -0
  242. data/lib/shortcut_client_ruby/models/label_stats.rb +423 -0
  243. data/lib/shortcut_client_ruby/models/linked_file.rb +450 -0
  244. data/lib/shortcut_client_ruby/models/list_epics.rb +207 -0
  245. data/lib/shortcut_client_ruby/models/list_group_stories.rb +217 -0
  246. data/lib/shortcut_client_ruby/models/list_labels.rb +207 -0
  247. data/lib/shortcut_client_ruby/models/list_members.rb +207 -0
  248. data/lib/shortcut_client_ruby/models/max_search_results_exceeded_error.rb +289 -0
  249. data/lib/shortcut_client_ruby/models/member.rb +395 -0
  250. data/lib/shortcut_client_ruby/models/member_info.rb +253 -0
  251. data/lib/shortcut_client_ruby/models/milestone.rb +453 -0
  252. data/lib/shortcut_client_ruby/models/milestone_stats.rb +233 -0
  253. data/lib/shortcut_client_ruby/models/profile.rb +330 -0
  254. data/lib/shortcut_client_ruby/models/project.rb +490 -0
  255. data/lib/shortcut_client_ruby/models/project_stats.rb +243 -0
  256. data/lib/shortcut_client_ruby/models/pull_request.rb +518 -0
  257. data/lib/shortcut_client_ruby/models/pull_request_label.rb +269 -0
  258. data/lib/shortcut_client_ruby/models/repository.rb +340 -0
  259. data/lib/shortcut_client_ruby/models/search.rb +275 -0
  260. data/lib/shortcut_client_ruby/models/search_results.rb +226 -0
  261. data/lib/shortcut_client_ruby/models/search_stories.rb +529 -0
  262. data/lib/shortcut_client_ruby/models/story.rb +985 -0
  263. data/lib/shortcut_client_ruby/models/story_comment.rb +419 -0
  264. data/lib/shortcut_client_ruby/models/story_contents.rb +404 -0
  265. data/lib/shortcut_client_ruby/models/story_contents_task.rb +255 -0
  266. data/lib/shortcut_client_ruby/models/story_history_change_adds_removes_int.rb +222 -0
  267. data/lib/shortcut_client_ruby/models/story_history_change_adds_removes_uuid.rb +222 -0
  268. data/lib/shortcut_client_ruby/models/story_history_change_old_new_bool.rb +218 -0
  269. data/lib/shortcut_client_ruby/models/story_history_change_old_new_int.rb +218 -0
  270. data/lib/shortcut_client_ruby/models/story_history_change_old_new_str.rb +218 -0
  271. data/lib/shortcut_client_ruby/models/story_history_change_old_new_uuid.rb +218 -0
  272. data/lib/shortcut_client_ruby/models/story_link.rb +318 -0
  273. data/lib/shortcut_client_ruby/models/story_reaction.rb +230 -0
  274. data/lib/shortcut_client_ruby/models/story_search_results.rb +257 -0
  275. data/lib/shortcut_client_ruby/models/story_slim.rb +944 -0
  276. data/lib/shortcut_client_ruby/models/story_stats.rb +213 -0
  277. data/lib/shortcut_client_ruby/models/task.rb +418 -0
  278. data/lib/shortcut_client_ruby/models/threaded_comment.rb +402 -0
  279. data/lib/shortcut_client_ruby/models/typed_story_link.rb +333 -0
  280. data/lib/shortcut_client_ruby/models/unusable_entitlement_error.rb +276 -0
  281. data/lib/shortcut_client_ruby/models/update_category.rb +228 -0
  282. data/lib/shortcut_client_ruby/models/update_comment.rb +212 -0
  283. data/lib/shortcut_client_ruby/models/update_entity_template.rb +217 -0
  284. data/lib/shortcut_client_ruby/models/update_epic.rb +413 -0
  285. data/lib/shortcut_client_ruby/models/update_file.rb +257 -0
  286. data/lib/shortcut_client_ruby/models/update_group.rb +328 -0
  287. data/lib/shortcut_client_ruby/models/update_iteration.rb +273 -0
  288. data/lib/shortcut_client_ruby/models/update_label.rb +238 -0
  289. data/lib/shortcut_client_ruby/models/update_linked_file.rb +311 -0
  290. data/lib/shortcut_client_ruby/models/update_milestone.rb +315 -0
  291. data/lib/shortcut_client_ruby/models/update_project.rb +289 -0
  292. data/lib/shortcut_client_ruby/models/update_stories.rb +480 -0
  293. data/lib/shortcut_client_ruby/models/update_story.rb +529 -0
  294. data/lib/shortcut_client_ruby/models/update_story_comment.rb +212 -0
  295. data/lib/shortcut_client_ruby/models/update_story_contents.rb +434 -0
  296. data/lib/shortcut_client_ruby/models/update_story_link.rb +261 -0
  297. data/lib/shortcut_client_ruby/models/update_task.rb +249 -0
  298. data/lib/shortcut_client_ruby/models/uploaded_file.rb +466 -0
  299. data/lib/shortcut_client_ruby/models/v3_files_body.rb +252 -0
  300. data/lib/shortcut_client_ruby/models/workflow.rb +367 -0
  301. data/lib/shortcut_client_ruby/models/workflow_state.rb +374 -0
  302. data/lib/shortcut_client_ruby/version.rb +14 -0
  303. data/lib/shortcut_client_ruby.rb +181 -0
  304. data/shortcut-client-ruby.gemspec +36 -0
  305. data/shortcut_client_ruby.gemspec +38 -0
  306. data/spec/api/default_api_spec.rb +1310 -0
  307. data/spec/api_client_spec.rb +225 -0
  308. data/spec/base_object_spec.rb +109 -0
  309. data/spec/configuration_spec.rb +41 -0
  310. data/spec/models/basic_workspace_info_spec.rb +46 -0
  311. data/spec/models/branch_spec.rb +100 -0
  312. data/spec/models/category_spec.rb +88 -0
  313. data/spec/models/commit_spec.rb +112 -0
  314. data/spec/models/create_category_params_spec.rb +52 -0
  315. data/spec/models/create_category_spec.rb +62 -0
  316. data/spec/models/create_comment_comment_spec.rb +64 -0
  317. data/spec/models/create_entity_template_spec.rb +52 -0
  318. data/spec/models/create_epic_comment_spec.rb +64 -0
  319. data/spec/models/create_epic_spec.rb +140 -0
  320. data/spec/models/create_group_spec.rb +86 -0
  321. data/spec/models/create_iteration_spec.rb +76 -0
  322. data/spec/models/create_label_params_spec.rb +58 -0
  323. data/spec/models/create_linked_file_spec.rb +92 -0
  324. data/spec/models/create_milestone_spec.rb +74 -0
  325. data/spec/models/create_or_delete_story_reaction_spec.rb +40 -0
  326. data/spec/models/create_project_spec.rb +100 -0
  327. data/spec/models/create_stories_spec.rb +40 -0
  328. data/spec/models/create_story_comment_params_spec.rb +64 -0
  329. data/spec/models/create_story_comment_spec.rb +64 -0
  330. data/spec/models/create_story_contents_spec.rb +160 -0
  331. data/spec/models/create_story_link_params_spec.rb +56 -0
  332. data/spec/models/create_story_link_spec.rb +56 -0
  333. data/spec/models/create_story_params_spec.rb +200 -0
  334. data/spec/models/create_task_params_spec.rb +70 -0
  335. data/spec/models/create_task_spec.rb +70 -0
  336. data/spec/models/delete_stories_spec.rb +40 -0
  337. data/spec/models/entity_template_spec.rb +82 -0
  338. data/spec/models/entity_template_task_spec.rb +58 -0
  339. data/spec/models/epic_search_results_spec.rb +58 -0
  340. data/spec/models/epic_slim_spec.rb +256 -0
  341. data/spec/models/epic_spec.rb +262 -0
  342. data/spec/models/epic_state_spec.rb +88 -0
  343. data/spec/models/epic_stats_spec.rb +112 -0
  344. data/spec/models/epic_workflow_spec.rb +70 -0
  345. data/spec/models/get_epic_stories_spec.rb +40 -0
  346. data/spec/models/get_external_link_stories_params_spec.rb +40 -0
  347. data/spec/models/get_iteration_stories_spec.rb +40 -0
  348. data/spec/models/get_label_stories_spec.rb +40 -0
  349. data/spec/models/get_member_spec.rb +40 -0
  350. data/spec/models/get_project_stories_spec.rb +40 -0
  351. data/spec/models/group_spec.rb +134 -0
  352. data/spec/models/history_action_branch_create_spec.rb +68 -0
  353. data/spec/models/history_action_branch_merge_spec.rb +68 -0
  354. data/spec/models/history_action_branch_push_spec.rb +68 -0
  355. data/spec/models/history_action_label_create_spec.rb +68 -0
  356. data/spec/models/history_action_label_delete_spec.rb +62 -0
  357. data/spec/models/history_action_label_update_spec.rb +56 -0
  358. data/spec/models/history_action_project_update_spec.rb +68 -0
  359. data/spec/models/history_action_pull_request_spec.rb +74 -0
  360. data/spec/models/history_action_story_comment_create_spec.rb +74 -0
  361. data/spec/models/history_action_story_create_spec.rb +186 -0
  362. data/spec/models/history_action_story_delete_spec.rb +72 -0
  363. data/spec/models/history_action_story_link_create_spec.rb +78 -0
  364. data/spec/models/history_action_story_link_delete_spec.rb +78 -0
  365. data/spec/models/history_action_story_link_update_spec.rb +84 -0
  366. data/spec/models/history_action_story_update_spec.rb +84 -0
  367. data/spec/models/history_action_task_create_spec.rb +92 -0
  368. data/spec/models/history_action_task_delete_spec.rb +62 -0
  369. data/spec/models/history_action_task_update_spec.rb +80 -0
  370. data/spec/models/history_changes_story_link_spec.rb +52 -0
  371. data/spec/models/history_changes_story_spec.rb +178 -0
  372. data/spec/models/history_changes_task_spec.rb +58 -0
  373. data/spec/models/history_reference_branch_spec.rb +58 -0
  374. data/spec/models/history_reference_commit_spec.rb +58 -0
  375. data/spec/models/history_reference_epic_spec.rb +58 -0
  376. data/spec/models/history_reference_general_spec.rb +52 -0
  377. data/spec/models/history_reference_group_spec.rb +52 -0
  378. data/spec/models/history_reference_iteration_spec.rb +58 -0
  379. data/spec/models/history_reference_label_spec.rb +58 -0
  380. data/spec/models/history_reference_project_spec.rb +58 -0
  381. data/spec/models/history_reference_story_spec.rb +68 -0
  382. data/spec/models/history_reference_story_task_spec.rb +52 -0
  383. data/spec/models/history_reference_workflow_state_spec.rb +62 -0
  384. data/spec/models/history_spec.rb +92 -0
  385. data/spec/models/icon_spec.rb +64 -0
  386. data/spec/models/identity_spec.rb +52 -0
  387. data/spec/models/iteration_slim_spec.rb +136 -0
  388. data/spec/models/iteration_spec.rb +142 -0
  389. data/spec/models/iteration_stats_spec.rb +100 -0
  390. data/spec/models/label_slim_spec.rb +94 -0
  391. data/spec/models/label_spec.rb +100 -0
  392. data/spec/models/label_stats_spec.rb +124 -0
  393. data/spec/models/linked_file_spec.rb +130 -0
  394. data/spec/models/list_epics_spec.rb +40 -0
  395. data/spec/models/list_group_stories_spec.rb +46 -0
  396. data/spec/models/list_labels_spec.rb +40 -0
  397. data/spec/models/list_members_spec.rb +40 -0
  398. data/spec/models/max_search_results_exceeded_error_spec.rb +60 -0
  399. data/spec/models/member_info_spec.rb +58 -0
  400. data/spec/models/member_spec.rb +104 -0
  401. data/spec/models/milestone_spec.rb +136 -0
  402. data/spec/models/milestone_stats_spec.rb +52 -0
  403. data/spec/models/profile_spec.rb +88 -0
  404. data/spec/models/project_spec.rb +148 -0
  405. data/spec/models/project_stats_spec.rb +52 -0
  406. data/spec/models/pull_request_label_spec.rb +64 -0
  407. data/spec/models/pull_request_spec.rb +166 -0
  408. data/spec/models/repository_spec.rb +88 -0
  409. data/spec/models/search_results_spec.rb +46 -0
  410. data/spec/models/search_spec.rb +62 -0
  411. data/spec/models/search_stories_spec.rb +210 -0
  412. data/spec/models/story_comment_spec.rb +118 -0
  413. data/spec/models/story_contents_spec.rb +148 -0
  414. data/spec/models/story_contents_task_spec.rb +64 -0
  415. data/spec/models/story_history_change_adds_removes_int_spec.rb +46 -0
  416. data/spec/models/story_history_change_adds_removes_uuid_spec.rb +46 -0
  417. data/spec/models/story_history_change_old_new_bool_spec.rb +46 -0
  418. data/spec/models/story_history_change_old_new_int_spec.rb +46 -0
  419. data/spec/models/story_history_change_old_new_str_spec.rb +46 -0
  420. data/spec/models/story_history_change_old_new_uuid_spec.rb +46 -0
  421. data/spec/models/story_link_spec.rb +82 -0
  422. data/spec/models/story_reaction_spec.rb +46 -0
  423. data/spec/models/story_search_results_spec.rb +58 -0
  424. data/spec/models/story_slim_spec.rb +322 -0
  425. data/spec/models/story_spec.rb +334 -0
  426. data/spec/models/story_stats_spec.rb +40 -0
  427. data/spec/models/task_spec.rb +118 -0
  428. data/spec/models/threaded_comment_spec.rb +112 -0
  429. data/spec/models/typed_story_link_spec.rb +88 -0
  430. data/spec/models/unusable_entitlement_error_spec.rb +56 -0
  431. data/spec/models/update_category_spec.rb +52 -0
  432. data/spec/models/update_comment_spec.rb +40 -0
  433. data/spec/models/update_entity_template_spec.rb +46 -0
  434. data/spec/models/update_epic_spec.rb +140 -0
  435. data/spec/models/update_file_spec.rb +70 -0
  436. data/spec/models/update_group_spec.rb +92 -0
  437. data/spec/models/update_iteration_spec.rb +76 -0
  438. data/spec/models/update_label_spec.rb +58 -0
  439. data/spec/models/update_linked_file_spec.rb +86 -0
  440. data/spec/models/update_milestone_spec.rb +86 -0
  441. data/spec/models/update_project_spec.rb +88 -0
  442. data/spec/models/update_stories_spec.rb +168 -0
  443. data/spec/models/update_story_comment_spec.rb +40 -0
  444. data/spec/models/update_story_contents_spec.rb +160 -0
  445. data/spec/models/update_story_link_spec.rb +56 -0
  446. data/spec/models/update_story_spec.rb +198 -0
  447. data/spec/models/update_task_spec.rb +64 -0
  448. data/spec/models/uploaded_file_spec.rb +136 -0
  449. data/spec/models/v3_files_body_spec.rb +64 -0
  450. data/spec/models/workflow_spec.rb +100 -0
  451. data/spec/models/workflow_state_spec.rb +106 -0
  452. data/spec/spec_helper.rb +110 -0
  453. metadata +701 -0
data/README.md ADDED
@@ -0,0 +1,2303 @@
1
+ # shortcut_client_ruby
2
+
3
+ Shortcut - the Ruby gem for the Shortcut API
4
+
5
+ Shortcut API
6
+
7
+ This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
+
9
+ - API version: 3.0
10
+ - Package version: 0.0.2
11
+ - Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen
12
+
13
+ ## Installation
14
+
15
+ ### Build a gem
16
+
17
+ To build the Ruby code into a gem:
18
+
19
+ ```shell
20
+ gem build shortcut_client_ruby.gemspec
21
+ ```
22
+
23
+ Then either install the gem locally:
24
+
25
+ ```shell
26
+ gem install ./shortcut_client_ruby-0.0.2.gem
27
+ ```
28
+ (for development, run `gem install --dev ./shortcut_client_ruby-0.0.2.gem` to install the development dependencies)
29
+
30
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
+
32
+ Finally add this to the Gemfile:
33
+
34
+ gem 'shortcut_client_ruby', '~> 0.0.2'
35
+
36
+ ### Install from Git
37
+
38
+ If the Ruby gem is hosted at a git repository: https://github.com/ngouy/shortcut_client_ruby, then add the following in the Gemfile:
39
+
40
+ gem 'shortcut_client_ruby', :git => 'https://github.com/ngouy/shortcut_client_ruby.git'
41
+
42
+ ### Include the Ruby code directly
43
+
44
+ Include the Ruby code directly using `-I` as follows:
45
+
46
+ ```shell
47
+ ruby -Ilib script.rb
48
+ ```
49
+
50
+ ## Getting Started
51
+
52
+ Please follow the [installation](#installation) procedure and then run the following code:
53
+ ```ruby
54
+ # Load the gem
55
+ require 'shortcut_client_ruby'
56
+ # Setup authorization
57
+ Shortcut.configure do |config|
58
+ # Configure API key authorization: api_token
59
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
60
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
61
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
62
+ end
63
+
64
+ api_instance = Shortcut::DefaultApi.new
65
+ body = Shortcut::CreateCategory.new # CreateCategory |
66
+
67
+
68
+ begin
69
+ #Create Category
70
+ result = api_instance.create_category(body)
71
+ p result
72
+ rescue Shortcut::ApiError => e
73
+ puts "Exception when calling DefaultApi->create_category: #{e}"
74
+ end
75
+ # Setup authorization
76
+ Shortcut.configure do |config|
77
+ # Configure API key authorization: api_token
78
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
79
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
80
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
81
+ end
82
+
83
+ api_instance = Shortcut::DefaultApi.new
84
+ body = Shortcut::CreateEntityTemplate.new # CreateEntityTemplate | Request paramaters for creating an entirely new entity template.
85
+
86
+
87
+ begin
88
+ #Create Entity Template
89
+ result = api_instance.create_entity_template(body)
90
+ p result
91
+ rescue Shortcut::ApiError => e
92
+ puts "Exception when calling DefaultApi->create_entity_template: #{e}"
93
+ end
94
+ # Setup authorization
95
+ Shortcut.configure do |config|
96
+ # Configure API key authorization: api_token
97
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
98
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
99
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
100
+ end
101
+
102
+ api_instance = Shortcut::DefaultApi.new
103
+ body = Shortcut::CreateEpic.new # CreateEpic |
104
+
105
+
106
+ begin
107
+ #Create Epic
108
+ result = api_instance.create_epic(body)
109
+ p result
110
+ rescue Shortcut::ApiError => e
111
+ puts "Exception when calling DefaultApi->create_epic: #{e}"
112
+ end
113
+ # Setup authorization
114
+ Shortcut.configure do |config|
115
+ # Configure API key authorization: api_token
116
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
117
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
118
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
119
+ end
120
+
121
+ api_instance = Shortcut::DefaultApi.new
122
+ body = Shortcut::CreateEpicComment.new # CreateEpicComment |
123
+ epic_public_id = 789 # Integer | The ID of the associated Epic.
124
+
125
+
126
+ begin
127
+ #Create Epic Comment
128
+ result = api_instance.create_epic_comment(body, epic_public_id)
129
+ p result
130
+ rescue Shortcut::ApiError => e
131
+ puts "Exception when calling DefaultApi->create_epic_comment: #{e}"
132
+ end
133
+ # Setup authorization
134
+ Shortcut.configure do |config|
135
+ # Configure API key authorization: api_token
136
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
137
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
138
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
139
+ end
140
+
141
+ api_instance = Shortcut::DefaultApi.new
142
+ body = Shortcut::CreateCommentComment.new # CreateCommentComment |
143
+ epic_public_id = 789 # Integer | The ID of the associated Epic.
144
+ comment_public_id = 789 # Integer | The ID of the parent Epic Comment.
145
+
146
+
147
+ begin
148
+ #Create Epic Comment Comment
149
+ result = api_instance.create_epic_comment_comment(body, epic_public_id, comment_public_id)
150
+ p result
151
+ rescue Shortcut::ApiError => e
152
+ puts "Exception when calling DefaultApi->create_epic_comment_comment: #{e}"
153
+ end
154
+ # Setup authorization
155
+ Shortcut.configure do |config|
156
+ # Configure API key authorization: api_token
157
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
158
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
159
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
160
+ end
161
+
162
+ api_instance = Shortcut::DefaultApi.new
163
+ body = Shortcut::CreateGroup.new # CreateGroup |
164
+
165
+
166
+ begin
167
+ #Create Group
168
+ result = api_instance.create_group(body)
169
+ p result
170
+ rescue Shortcut::ApiError => e
171
+ puts "Exception when calling DefaultApi->create_group: #{e}"
172
+ end
173
+ # Setup authorization
174
+ Shortcut.configure do |config|
175
+ # Configure API key authorization: api_token
176
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
177
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
178
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
179
+ end
180
+
181
+ api_instance = Shortcut::DefaultApi.new
182
+ body = Shortcut::CreateIteration.new # CreateIteration |
183
+
184
+
185
+ begin
186
+ #Create Iteration
187
+ result = api_instance.create_iteration(body)
188
+ p result
189
+ rescue Shortcut::ApiError => e
190
+ puts "Exception when calling DefaultApi->create_iteration: #{e}"
191
+ end
192
+ # Setup authorization
193
+ Shortcut.configure do |config|
194
+ # Configure API key authorization: api_token
195
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
196
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
197
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
198
+ end
199
+
200
+ api_instance = Shortcut::DefaultApi.new
201
+ body = Shortcut::CreateLabelParams.new # CreateLabelParams | Request parameters for creating a Label on a Shortcut Story.
202
+
203
+
204
+ begin
205
+ #Create Label
206
+ result = api_instance.create_label(body)
207
+ p result
208
+ rescue Shortcut::ApiError => e
209
+ puts "Exception when calling DefaultApi->create_label: #{e}"
210
+ end
211
+ # Setup authorization
212
+ Shortcut.configure do |config|
213
+ # Configure API key authorization: api_token
214
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
215
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
216
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
217
+ end
218
+
219
+ api_instance = Shortcut::DefaultApi.new
220
+ body = Shortcut::CreateLinkedFile.new # CreateLinkedFile |
221
+
222
+
223
+ begin
224
+ #Create Linked File
225
+ result = api_instance.create_linked_file(body)
226
+ p result
227
+ rescue Shortcut::ApiError => e
228
+ puts "Exception when calling DefaultApi->create_linked_file: #{e}"
229
+ end
230
+ # Setup authorization
231
+ Shortcut.configure do |config|
232
+ # Configure API key authorization: api_token
233
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
234
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
235
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
236
+ end
237
+
238
+ api_instance = Shortcut::DefaultApi.new
239
+ body = Shortcut::CreateMilestone.new # CreateMilestone |
240
+
241
+
242
+ begin
243
+ #Create Milestone
244
+ result = api_instance.create_milestone(body)
245
+ p result
246
+ rescue Shortcut::ApiError => e
247
+ puts "Exception when calling DefaultApi->create_milestone: #{e}"
248
+ end
249
+ # Setup authorization
250
+ Shortcut.configure do |config|
251
+ # Configure API key authorization: api_token
252
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
253
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
254
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
255
+ end
256
+
257
+ api_instance = Shortcut::DefaultApi.new
258
+ body = Shortcut::CreateStories.new # CreateStories |
259
+
260
+
261
+ begin
262
+ #Create Multiple Stories
263
+ result = api_instance.create_multiple_stories(body)
264
+ p result
265
+ rescue Shortcut::ApiError => e
266
+ puts "Exception when calling DefaultApi->create_multiple_stories: #{e}"
267
+ end
268
+ # Setup authorization
269
+ Shortcut.configure do |config|
270
+ # Configure API key authorization: api_token
271
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
272
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
273
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
274
+ end
275
+
276
+ api_instance = Shortcut::DefaultApi.new
277
+ body = Shortcut::CreateProject.new # CreateProject |
278
+
279
+
280
+ begin
281
+ #Create Project
282
+ result = api_instance.create_project(body)
283
+ p result
284
+ rescue Shortcut::ApiError => e
285
+ puts "Exception when calling DefaultApi->create_project: #{e}"
286
+ end
287
+ # Setup authorization
288
+ Shortcut.configure do |config|
289
+ # Configure API key authorization: api_token
290
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
291
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
292
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
293
+ end
294
+
295
+ api_instance = Shortcut::DefaultApi.new
296
+ body = Shortcut::CreateStoryParams.new # CreateStoryParams | Request parameters for creating a story.
297
+
298
+
299
+ begin
300
+ #Create Story
301
+ result = api_instance.create_story(body)
302
+ p result
303
+ rescue Shortcut::ApiError => e
304
+ puts "Exception when calling DefaultApi->create_story: #{e}"
305
+ end
306
+ # Setup authorization
307
+ Shortcut.configure do |config|
308
+ # Configure API key authorization: api_token
309
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
310
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
311
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
312
+ end
313
+
314
+ api_instance = Shortcut::DefaultApi.new
315
+ body = Shortcut::CreateStoryComment.new # CreateStoryComment |
316
+ story_public_id = 789 # Integer | The ID of the Story that the Comment is in.
317
+
318
+
319
+ begin
320
+ #Create Story Comment
321
+ result = api_instance.create_story_comment(body, story_public_id)
322
+ p result
323
+ rescue Shortcut::ApiError => e
324
+ puts "Exception when calling DefaultApi->create_story_comment: #{e}"
325
+ end
326
+ # Setup authorization
327
+ Shortcut.configure do |config|
328
+ # Configure API key authorization: api_token
329
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
330
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
331
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
332
+ end
333
+
334
+ api_instance = Shortcut::DefaultApi.new
335
+ body = Shortcut::CreateStoryLink.new # CreateStoryLink |
336
+
337
+
338
+ begin
339
+ #Create Story Link
340
+ result = api_instance.create_story_link(body)
341
+ p result
342
+ rescue Shortcut::ApiError => e
343
+ puts "Exception when calling DefaultApi->create_story_link: #{e}"
344
+ end
345
+ # Setup authorization
346
+ Shortcut.configure do |config|
347
+ # Configure API key authorization: api_token
348
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
349
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
350
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
351
+ end
352
+
353
+ api_instance = Shortcut::DefaultApi.new
354
+ body = Shortcut::CreateOrDeleteStoryReaction.new # CreateOrDeleteStoryReaction |
355
+ story_public_id = 789 # Integer | The ID of the Story that the Comment is in.
356
+ comment_public_id = 789 # Integer | The ID of the Comment.
357
+
358
+
359
+ begin
360
+ #Create Story Reaction
361
+ result = api_instance.create_story_reaction(body, story_public_id, comment_public_id)
362
+ p result
363
+ rescue Shortcut::ApiError => e
364
+ puts "Exception when calling DefaultApi->create_story_reaction: #{e}"
365
+ end
366
+ # Setup authorization
367
+ Shortcut.configure do |config|
368
+ # Configure API key authorization: api_token
369
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
370
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
371
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
372
+ end
373
+
374
+ api_instance = Shortcut::DefaultApi.new
375
+ body = Shortcut::CreateTask.new # CreateTask |
376
+ story_public_id = 789 # Integer | The ID of the Story that the Task will be in.
377
+
378
+
379
+ begin
380
+ #Create Task
381
+ result = api_instance.create_task(body, story_public_id)
382
+ p result
383
+ rescue Shortcut::ApiError => e
384
+ puts "Exception when calling DefaultApi->create_task: #{e}"
385
+ end
386
+ # Setup authorization
387
+ Shortcut.configure do |config|
388
+ # Configure API key authorization: api_token
389
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
390
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
391
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
392
+ end
393
+
394
+ api_instance = Shortcut::DefaultApi.new
395
+ category_public_id = 789 # Integer | The unique ID of the Category.
396
+
397
+
398
+ begin
399
+ #Delete Category
400
+ api_instance.delete_category(category_public_id)
401
+ rescue Shortcut::ApiError => e
402
+ puts "Exception when calling DefaultApi->delete_category: #{e}"
403
+ end
404
+ # Setup authorization
405
+ Shortcut.configure do |config|
406
+ # Configure API key authorization: api_token
407
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
408
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
409
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
410
+ end
411
+
412
+ api_instance = Shortcut::DefaultApi.new
413
+ entity_template_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The unique ID of the entity template.
414
+
415
+
416
+ begin
417
+ #Delete Entity Template
418
+ api_instance.delete_entity_template(entity_template_public_id)
419
+ rescue Shortcut::ApiError => e
420
+ puts "Exception when calling DefaultApi->delete_entity_template: #{e}"
421
+ end
422
+ # Setup authorization
423
+ Shortcut.configure do |config|
424
+ # Configure API key authorization: api_token
425
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
426
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
427
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
428
+ end
429
+
430
+ api_instance = Shortcut::DefaultApi.new
431
+ epic_public_id = 789 # Integer | The unique ID of the Epic.
432
+
433
+
434
+ begin
435
+ #Delete Epic
436
+ api_instance.delete_epic(epic_public_id)
437
+ rescue Shortcut::ApiError => e
438
+ puts "Exception when calling DefaultApi->delete_epic: #{e}"
439
+ end
440
+ # Setup authorization
441
+ Shortcut.configure do |config|
442
+ # Configure API key authorization: api_token
443
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
444
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
445
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
446
+ end
447
+
448
+ api_instance = Shortcut::DefaultApi.new
449
+ epic_public_id = 789 # Integer | The ID of the associated Epic.
450
+ comment_public_id = 789 # Integer | The ID of the Comment.
451
+
452
+
453
+ begin
454
+ #Delete Epic Comment
455
+ api_instance.delete_epic_comment(epic_public_id, comment_public_id)
456
+ rescue Shortcut::ApiError => e
457
+ puts "Exception when calling DefaultApi->delete_epic_comment: #{e}"
458
+ end
459
+ # Setup authorization
460
+ Shortcut.configure do |config|
461
+ # Configure API key authorization: api_token
462
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
463
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
464
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
465
+ end
466
+
467
+ api_instance = Shortcut::DefaultApi.new
468
+ file_public_id = 789 # Integer | The File’s unique ID.
469
+
470
+
471
+ begin
472
+ #Delete File
473
+ api_instance.delete_file(file_public_id)
474
+ rescue Shortcut::ApiError => e
475
+ puts "Exception when calling DefaultApi->delete_file: #{e}"
476
+ end
477
+ # Setup authorization
478
+ Shortcut.configure do |config|
479
+ # Configure API key authorization: api_token
480
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
481
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
482
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
483
+ end
484
+
485
+ api_instance = Shortcut::DefaultApi.new
486
+ iteration_public_id = 789 # Integer | The unique ID of the Iteration.
487
+
488
+
489
+ begin
490
+ #Delete Iteration
491
+ api_instance.delete_iteration(iteration_public_id)
492
+ rescue Shortcut::ApiError => e
493
+ puts "Exception when calling DefaultApi->delete_iteration: #{e}"
494
+ end
495
+ # Setup authorization
496
+ Shortcut.configure do |config|
497
+ # Configure API key authorization: api_token
498
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
499
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
500
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
501
+ end
502
+
503
+ api_instance = Shortcut::DefaultApi.new
504
+ label_public_id = 789 # Integer | The unique ID of the Label.
505
+
506
+
507
+ begin
508
+ #Delete Label
509
+ api_instance.delete_label(label_public_id)
510
+ rescue Shortcut::ApiError => e
511
+ puts "Exception when calling DefaultApi->delete_label: #{e}"
512
+ end
513
+ # Setup authorization
514
+ Shortcut.configure do |config|
515
+ # Configure API key authorization: api_token
516
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
517
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
518
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
519
+ end
520
+
521
+ api_instance = Shortcut::DefaultApi.new
522
+ linked_file_public_id = 789 # Integer | The unique identifier of the linked file.
523
+
524
+
525
+ begin
526
+ #Delete Linked File
527
+ api_instance.delete_linked_file(linked_file_public_id)
528
+ rescue Shortcut::ApiError => e
529
+ puts "Exception when calling DefaultApi->delete_linked_file: #{e}"
530
+ end
531
+ # Setup authorization
532
+ Shortcut.configure do |config|
533
+ # Configure API key authorization: api_token
534
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
535
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
536
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
537
+ end
538
+
539
+ api_instance = Shortcut::DefaultApi.new
540
+ milestone_public_id = 789 # Integer | The ID of the Milestone.
541
+
542
+
543
+ begin
544
+ #Delete Milestone
545
+ api_instance.delete_milestone(milestone_public_id)
546
+ rescue Shortcut::ApiError => e
547
+ puts "Exception when calling DefaultApi->delete_milestone: #{e}"
548
+ end
549
+ # Setup authorization
550
+ Shortcut.configure do |config|
551
+ # Configure API key authorization: api_token
552
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
553
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
554
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
555
+ end
556
+
557
+ api_instance = Shortcut::DefaultApi.new
558
+ body = Shortcut::DeleteStories.new # DeleteStories |
559
+
560
+
561
+ begin
562
+ #Delete Multiple Stories
563
+ api_instance.delete_multiple_stories(body)
564
+ rescue Shortcut::ApiError => e
565
+ puts "Exception when calling DefaultApi->delete_multiple_stories: #{e}"
566
+ end
567
+ # Setup authorization
568
+ Shortcut.configure do |config|
569
+ # Configure API key authorization: api_token
570
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
571
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
572
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
573
+ end
574
+
575
+ api_instance = Shortcut::DefaultApi.new
576
+ project_public_id = 789 # Integer | The unique ID of the Project.
577
+
578
+
579
+ begin
580
+ #Delete Project
581
+ api_instance.delete_project(project_public_id)
582
+ rescue Shortcut::ApiError => e
583
+ puts "Exception when calling DefaultApi->delete_project: #{e}"
584
+ end
585
+ # Setup authorization
586
+ Shortcut.configure do |config|
587
+ # Configure API key authorization: api_token
588
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
589
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
590
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
591
+ end
592
+
593
+ api_instance = Shortcut::DefaultApi.new
594
+ story_public_id = 789 # Integer | The ID of the Story.
595
+
596
+
597
+ begin
598
+ #Delete Story
599
+ api_instance.delete_story(story_public_id)
600
+ rescue Shortcut::ApiError => e
601
+ puts "Exception when calling DefaultApi->delete_story: #{e}"
602
+ end
603
+ # Setup authorization
604
+ Shortcut.configure do |config|
605
+ # Configure API key authorization: api_token
606
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
607
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
608
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
609
+ end
610
+
611
+ api_instance = Shortcut::DefaultApi.new
612
+ story_public_id = 789 # Integer | The ID of the Story that the Comment is in.
613
+ comment_public_id = 789 # Integer | The ID of the Comment.
614
+
615
+
616
+ begin
617
+ #Delete Story Comment
618
+ api_instance.delete_story_comment(story_public_id, comment_public_id)
619
+ rescue Shortcut::ApiError => e
620
+ puts "Exception when calling DefaultApi->delete_story_comment: #{e}"
621
+ end
622
+ # Setup authorization
623
+ Shortcut.configure do |config|
624
+ # Configure API key authorization: api_token
625
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
626
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
627
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
628
+ end
629
+
630
+ api_instance = Shortcut::DefaultApi.new
631
+ story_link_public_id = 789 # Integer | The unique ID of the Story Link.
632
+
633
+
634
+ begin
635
+ #Delete Story Link
636
+ api_instance.delete_story_link(story_link_public_id)
637
+ rescue Shortcut::ApiError => e
638
+ puts "Exception when calling DefaultApi->delete_story_link: #{e}"
639
+ end
640
+ # Setup authorization
641
+ Shortcut.configure do |config|
642
+ # Configure API key authorization: api_token
643
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
644
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
645
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
646
+ end
647
+
648
+ api_instance = Shortcut::DefaultApi.new
649
+ body = Shortcut::CreateOrDeleteStoryReaction.new # CreateOrDeleteStoryReaction |
650
+ story_public_id = 789 # Integer | The ID of the Story that the Comment is in.
651
+ comment_public_id = 789 # Integer | The ID of the Comment.
652
+
653
+
654
+ begin
655
+ #Delete Story Reaction
656
+ api_instance.delete_story_reaction(body, story_public_id, comment_public_id)
657
+ rescue Shortcut::ApiError => e
658
+ puts "Exception when calling DefaultApi->delete_story_reaction: #{e}"
659
+ end
660
+ # Setup authorization
661
+ Shortcut.configure do |config|
662
+ # Configure API key authorization: api_token
663
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
664
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
665
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
666
+ end
667
+
668
+ api_instance = Shortcut::DefaultApi.new
669
+ story_public_id = 789 # Integer | The unique ID of the Story this Task is associated with.
670
+ task_public_id = 789 # Integer | The unique ID of the Task.
671
+
672
+
673
+ begin
674
+ #Delete Task
675
+ api_instance.delete_task(story_public_id, task_public_id)
676
+ rescue Shortcut::ApiError => e
677
+ puts "Exception when calling DefaultApi->delete_task: #{e}"
678
+ end
679
+ # Setup authorization
680
+ Shortcut.configure do |config|
681
+ # Configure API key authorization: api_token
682
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
683
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
684
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
685
+ end
686
+
687
+ api_instance = Shortcut::DefaultApi.new
688
+
689
+ begin
690
+ #Disable Groups
691
+ api_instance.disable_groups
692
+ rescue Shortcut::ApiError => e
693
+ puts "Exception when calling DefaultApi->disable_groups: #{e}"
694
+ end
695
+ # Setup authorization
696
+ Shortcut.configure do |config|
697
+ # Configure API key authorization: api_token
698
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
699
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
700
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
701
+ end
702
+
703
+ api_instance = Shortcut::DefaultApi.new
704
+
705
+ begin
706
+ #Disable Iterations
707
+ api_instance.disable_iterations
708
+ rescue Shortcut::ApiError => e
709
+ puts "Exception when calling DefaultApi->disable_iterations: #{e}"
710
+ end
711
+ # Setup authorization
712
+ Shortcut.configure do |config|
713
+ # Configure API key authorization: api_token
714
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
715
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
716
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
717
+ end
718
+
719
+ api_instance = Shortcut::DefaultApi.new
720
+
721
+ begin
722
+ #Disable Story Templates
723
+ api_instance.disable_story_templates
724
+ rescue Shortcut::ApiError => e
725
+ puts "Exception when calling DefaultApi->disable_story_templates: #{e}"
726
+ end
727
+ # Setup authorization
728
+ Shortcut.configure do |config|
729
+ # Configure API key authorization: api_token
730
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
731
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
732
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
733
+ end
734
+
735
+ api_instance = Shortcut::DefaultApi.new
736
+
737
+ begin
738
+ #Enable Groups
739
+ api_instance.enable_groups
740
+ rescue Shortcut::ApiError => e
741
+ puts "Exception when calling DefaultApi->enable_groups: #{e}"
742
+ end
743
+ # Setup authorization
744
+ Shortcut.configure do |config|
745
+ # Configure API key authorization: api_token
746
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
747
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
748
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
749
+ end
750
+
751
+ api_instance = Shortcut::DefaultApi.new
752
+
753
+ begin
754
+ #Enable Iterations
755
+ api_instance.enable_iterations
756
+ rescue Shortcut::ApiError => e
757
+ puts "Exception when calling DefaultApi->enable_iterations: #{e}"
758
+ end
759
+ # Setup authorization
760
+ Shortcut.configure do |config|
761
+ # Configure API key authorization: api_token
762
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
763
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
764
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
765
+ end
766
+
767
+ api_instance = Shortcut::DefaultApi.new
768
+
769
+ begin
770
+ #Enable Story Templates
771
+ api_instance.enable_story_templates
772
+ rescue Shortcut::ApiError => e
773
+ puts "Exception when calling DefaultApi->enable_story_templates: #{e}"
774
+ end
775
+ # Setup authorization
776
+ Shortcut.configure do |config|
777
+ # Configure API key authorization: api_token
778
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
779
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
780
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
781
+ end
782
+
783
+ api_instance = Shortcut::DefaultApi.new
784
+ category_public_id = 789 # Integer | The unique ID of the Category.
785
+
786
+
787
+ begin
788
+ #Get Category
789
+ result = api_instance.get_category(category_public_id)
790
+ p result
791
+ rescue Shortcut::ApiError => e
792
+ puts "Exception when calling DefaultApi->get_category: #{e}"
793
+ end
794
+ # Setup authorization
795
+ Shortcut.configure do |config|
796
+ # Configure API key authorization: api_token
797
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
798
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
799
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
800
+ end
801
+
802
+ api_instance = Shortcut::DefaultApi.new
803
+
804
+ begin
805
+ #Get Current Member Info
806
+ result = api_instance.get_current_member_info
807
+ p result
808
+ rescue Shortcut::ApiError => e
809
+ puts "Exception when calling DefaultApi->get_current_member_info: #{e}"
810
+ end
811
+ # Setup authorization
812
+ Shortcut.configure do |config|
813
+ # Configure API key authorization: api_token
814
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
815
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
816
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
817
+ end
818
+
819
+ api_instance = Shortcut::DefaultApi.new
820
+ entity_template_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The unique ID of the entity template.
821
+
822
+
823
+ begin
824
+ #Get Entity Template
825
+ result = api_instance.get_entity_template(entity_template_public_id)
826
+ p result
827
+ rescue Shortcut::ApiError => e
828
+ puts "Exception when calling DefaultApi->get_entity_template: #{e}"
829
+ end
830
+ # Setup authorization
831
+ Shortcut.configure do |config|
832
+ # Configure API key authorization: api_token
833
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
834
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
835
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
836
+ end
837
+
838
+ api_instance = Shortcut::DefaultApi.new
839
+ epic_public_id = 789 # Integer | The unique ID of the Epic.
840
+
841
+
842
+ begin
843
+ #Get Epic
844
+ result = api_instance.get_epic(epic_public_id)
845
+ p result
846
+ rescue Shortcut::ApiError => e
847
+ puts "Exception when calling DefaultApi->get_epic: #{e}"
848
+ end
849
+ # Setup authorization
850
+ Shortcut.configure do |config|
851
+ # Configure API key authorization: api_token
852
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
853
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
854
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
855
+ end
856
+
857
+ api_instance = Shortcut::DefaultApi.new
858
+ epic_public_id = 789 # Integer | The ID of the associated Epic.
859
+ comment_public_id = 789 # Integer | The ID of the Comment.
860
+
861
+
862
+ begin
863
+ #Get Epic Comment
864
+ result = api_instance.get_epic_comment(epic_public_id, comment_public_id)
865
+ p result
866
+ rescue Shortcut::ApiError => e
867
+ puts "Exception when calling DefaultApi->get_epic_comment: #{e}"
868
+ end
869
+ # Setup authorization
870
+ Shortcut.configure do |config|
871
+ # Configure API key authorization: api_token
872
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
873
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
874
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
875
+ end
876
+
877
+ api_instance = Shortcut::DefaultApi.new
878
+
879
+ begin
880
+ #Get Epic Workflow
881
+ result = api_instance.get_epic_workflow
882
+ p result
883
+ rescue Shortcut::ApiError => e
884
+ puts "Exception when calling DefaultApi->get_epic_workflow: #{e}"
885
+ end
886
+ # Setup authorization
887
+ Shortcut.configure do |config|
888
+ # Configure API key authorization: api_token
889
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
890
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
891
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
892
+ end
893
+
894
+ api_instance = Shortcut::DefaultApi.new
895
+ body = Shortcut::GetExternalLinkStoriesParams.new # GetExternalLinkStoriesParams |
896
+
897
+
898
+ begin
899
+ #Get External Link Stories
900
+ result = api_instance.get_external_link_stories(body)
901
+ p result
902
+ rescue Shortcut::ApiError => e
903
+ puts "Exception when calling DefaultApi->get_external_link_stories: #{e}"
904
+ end
905
+ # Setup authorization
906
+ Shortcut.configure do |config|
907
+ # Configure API key authorization: api_token
908
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
909
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
910
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
911
+ end
912
+
913
+ api_instance = Shortcut::DefaultApi.new
914
+ file_public_id = 789 # Integer | The File’s unique ID.
915
+
916
+
917
+ begin
918
+ #Get File
919
+ result = api_instance.get_file(file_public_id)
920
+ p result
921
+ rescue Shortcut::ApiError => e
922
+ puts "Exception when calling DefaultApi->get_file: #{e}"
923
+ end
924
+ # Setup authorization
925
+ Shortcut.configure do |config|
926
+ # Configure API key authorization: api_token
927
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
928
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
929
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
930
+ end
931
+
932
+ api_instance = Shortcut::DefaultApi.new
933
+ group_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The unique ID of the Group.
934
+
935
+
936
+ begin
937
+ #Get Group
938
+ result = api_instance.get_group(group_public_id)
939
+ p result
940
+ rescue Shortcut::ApiError => e
941
+ puts "Exception when calling DefaultApi->get_group: #{e}"
942
+ end
943
+ # Setup authorization
944
+ Shortcut.configure do |config|
945
+ # Configure API key authorization: api_token
946
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
947
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
948
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
949
+ end
950
+
951
+ api_instance = Shortcut::DefaultApi.new
952
+ iteration_public_id = 789 # Integer | The unique ID of the Iteration.
953
+
954
+
955
+ begin
956
+ #Get Iteration
957
+ result = api_instance.get_iteration(iteration_public_id)
958
+ p result
959
+ rescue Shortcut::ApiError => e
960
+ puts "Exception when calling DefaultApi->get_iteration: #{e}"
961
+ end
962
+ # Setup authorization
963
+ Shortcut.configure do |config|
964
+ # Configure API key authorization: api_token
965
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
966
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
967
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
968
+ end
969
+
970
+ api_instance = Shortcut::DefaultApi.new
971
+ label_public_id = 789 # Integer | The unique ID of the Label.
972
+
973
+
974
+ begin
975
+ #Get Label
976
+ result = api_instance.get_label(label_public_id)
977
+ p result
978
+ rescue Shortcut::ApiError => e
979
+ puts "Exception when calling DefaultApi->get_label: #{e}"
980
+ end
981
+ # Setup authorization
982
+ Shortcut.configure do |config|
983
+ # Configure API key authorization: api_token
984
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
985
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
986
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
987
+ end
988
+
989
+ api_instance = Shortcut::DefaultApi.new
990
+ linked_file_public_id = 789 # Integer | The unique identifier of the linked file.
991
+
992
+
993
+ begin
994
+ #Get Linked File
995
+ result = api_instance.get_linked_file(linked_file_public_id)
996
+ p result
997
+ rescue Shortcut::ApiError => e
998
+ puts "Exception when calling DefaultApi->get_linked_file: #{e}"
999
+ end
1000
+ # Setup authorization
1001
+ Shortcut.configure do |config|
1002
+ # Configure API key authorization: api_token
1003
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1004
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1005
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1006
+ end
1007
+
1008
+ api_instance = Shortcut::DefaultApi.new
1009
+ body = Shortcut::GetMember.new # GetMember |
1010
+ member_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The Member's unique ID.
1011
+
1012
+
1013
+ begin
1014
+ #Get Member
1015
+ result = api_instance.get_member(body, member_public_id)
1016
+ p result
1017
+ rescue Shortcut::ApiError => e
1018
+ puts "Exception when calling DefaultApi->get_member: #{e}"
1019
+ end
1020
+ # Setup authorization
1021
+ Shortcut.configure do |config|
1022
+ # Configure API key authorization: api_token
1023
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1024
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1025
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1026
+ end
1027
+
1028
+ api_instance = Shortcut::DefaultApi.new
1029
+ milestone_public_id = 789 # Integer | The ID of the Milestone.
1030
+
1031
+
1032
+ begin
1033
+ #Get Milestone
1034
+ result = api_instance.get_milestone(milestone_public_id)
1035
+ p result
1036
+ rescue Shortcut::ApiError => e
1037
+ puts "Exception when calling DefaultApi->get_milestone: #{e}"
1038
+ end
1039
+ # Setup authorization
1040
+ Shortcut.configure do |config|
1041
+ # Configure API key authorization: api_token
1042
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1043
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1044
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1045
+ end
1046
+
1047
+ api_instance = Shortcut::DefaultApi.new
1048
+ project_public_id = 789 # Integer | The unique ID of the Project.
1049
+
1050
+
1051
+ begin
1052
+ #Get Project
1053
+ result = api_instance.get_project(project_public_id)
1054
+ p result
1055
+ rescue Shortcut::ApiError => e
1056
+ puts "Exception when calling DefaultApi->get_project: #{e}"
1057
+ end
1058
+ # Setup authorization
1059
+ Shortcut.configure do |config|
1060
+ # Configure API key authorization: api_token
1061
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1062
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1063
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1064
+ end
1065
+
1066
+ api_instance = Shortcut::DefaultApi.new
1067
+ repo_public_id = 789 # Integer | The unique ID of the Repository.
1068
+
1069
+
1070
+ begin
1071
+ #Get Repository
1072
+ result = api_instance.get_repository(repo_public_id)
1073
+ p result
1074
+ rescue Shortcut::ApiError => e
1075
+ puts "Exception when calling DefaultApi->get_repository: #{e}"
1076
+ end
1077
+ # Setup authorization
1078
+ Shortcut.configure do |config|
1079
+ # Configure API key authorization: api_token
1080
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1081
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1082
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1083
+ end
1084
+
1085
+ api_instance = Shortcut::DefaultApi.new
1086
+ story_public_id = 789 # Integer | The ID of the Story.
1087
+
1088
+
1089
+ begin
1090
+ #Get Story
1091
+ result = api_instance.get_story(story_public_id)
1092
+ p result
1093
+ rescue Shortcut::ApiError => e
1094
+ puts "Exception when calling DefaultApi->get_story: #{e}"
1095
+ end
1096
+ # Setup authorization
1097
+ Shortcut.configure do |config|
1098
+ # Configure API key authorization: api_token
1099
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1100
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1101
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1102
+ end
1103
+
1104
+ api_instance = Shortcut::DefaultApi.new
1105
+ story_public_id = 789 # Integer | The ID of the Story that the Comment is in.
1106
+ comment_public_id = 789 # Integer | The ID of the Comment.
1107
+
1108
+
1109
+ begin
1110
+ #Get Story Comment
1111
+ result = api_instance.get_story_comment(story_public_id, comment_public_id)
1112
+ p result
1113
+ rescue Shortcut::ApiError => e
1114
+ puts "Exception when calling DefaultApi->get_story_comment: #{e}"
1115
+ end
1116
+ # Setup authorization
1117
+ Shortcut.configure do |config|
1118
+ # Configure API key authorization: api_token
1119
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1120
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1121
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1122
+ end
1123
+
1124
+ api_instance = Shortcut::DefaultApi.new
1125
+ story_link_public_id = 789 # Integer | The unique ID of the Story Link.
1126
+
1127
+
1128
+ begin
1129
+ #Get Story Link
1130
+ result = api_instance.get_story_link(story_link_public_id)
1131
+ p result
1132
+ rescue Shortcut::ApiError => e
1133
+ puts "Exception when calling DefaultApi->get_story_link: #{e}"
1134
+ end
1135
+ # Setup authorization
1136
+ Shortcut.configure do |config|
1137
+ # Configure API key authorization: api_token
1138
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1139
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1140
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1141
+ end
1142
+
1143
+ api_instance = Shortcut::DefaultApi.new
1144
+ story_public_id = 789 # Integer | The unique ID of the Story this Task is associated with.
1145
+ task_public_id = 789 # Integer | The unique ID of the Task.
1146
+
1147
+
1148
+ begin
1149
+ #Get Task
1150
+ result = api_instance.get_task(story_public_id, task_public_id)
1151
+ p result
1152
+ rescue Shortcut::ApiError => e
1153
+ puts "Exception when calling DefaultApi->get_task: #{e}"
1154
+ end
1155
+ # Setup authorization
1156
+ Shortcut.configure do |config|
1157
+ # Configure API key authorization: api_token
1158
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1159
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1160
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1161
+ end
1162
+
1163
+ api_instance = Shortcut::DefaultApi.new
1164
+ workflow_public_id = 789 # Integer | The ID of the Workflow.
1165
+
1166
+
1167
+ begin
1168
+ #Get Workflow
1169
+ result = api_instance.get_workflow(workflow_public_id)
1170
+ p result
1171
+ rescue Shortcut::ApiError => e
1172
+ puts "Exception when calling DefaultApi->get_workflow: #{e}"
1173
+ end
1174
+ # Setup authorization
1175
+ Shortcut.configure do |config|
1176
+ # Configure API key authorization: api_token
1177
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1178
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1179
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1180
+ end
1181
+
1182
+ api_instance = Shortcut::DefaultApi.new
1183
+
1184
+ begin
1185
+ #List Categories
1186
+ result = api_instance.list_categories
1187
+ p result
1188
+ rescue Shortcut::ApiError => e
1189
+ puts "Exception when calling DefaultApi->list_categories: #{e}"
1190
+ end
1191
+ # Setup authorization
1192
+ Shortcut.configure do |config|
1193
+ # Configure API key authorization: api_token
1194
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1195
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1196
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1197
+ end
1198
+
1199
+ api_instance = Shortcut::DefaultApi.new
1200
+ category_public_id = 789 # Integer | The unique ID of the Category.
1201
+
1202
+
1203
+ begin
1204
+ #List Category Milestones
1205
+ result = api_instance.list_category_milestones(category_public_id)
1206
+ p result
1207
+ rescue Shortcut::ApiError => e
1208
+ puts "Exception when calling DefaultApi->list_category_milestones: #{e}"
1209
+ end
1210
+ # Setup authorization
1211
+ Shortcut.configure do |config|
1212
+ # Configure API key authorization: api_token
1213
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1214
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1215
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1216
+ end
1217
+
1218
+ api_instance = Shortcut::DefaultApi.new
1219
+
1220
+ begin
1221
+ #List Entity Templates
1222
+ result = api_instance.list_entity_templates
1223
+ p result
1224
+ rescue Shortcut::ApiError => e
1225
+ puts "Exception when calling DefaultApi->list_entity_templates: #{e}"
1226
+ end
1227
+ # Setup authorization
1228
+ Shortcut.configure do |config|
1229
+ # Configure API key authorization: api_token
1230
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1231
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1232
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1233
+ end
1234
+
1235
+ api_instance = Shortcut::DefaultApi.new
1236
+ epic_public_id = 789 # Integer | The unique ID of the Epic.
1237
+
1238
+
1239
+ begin
1240
+ #List Epic Comments
1241
+ result = api_instance.list_epic_comments(epic_public_id)
1242
+ p result
1243
+ rescue Shortcut::ApiError => e
1244
+ puts "Exception when calling DefaultApi->list_epic_comments: #{e}"
1245
+ end
1246
+ # Setup authorization
1247
+ Shortcut.configure do |config|
1248
+ # Configure API key authorization: api_token
1249
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1250
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1251
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1252
+ end
1253
+
1254
+ api_instance = Shortcut::DefaultApi.new
1255
+ body = Shortcut::GetEpicStories.new # GetEpicStories |
1256
+ epic_public_id = 789 # Integer | The unique ID of the Epic.
1257
+
1258
+
1259
+ begin
1260
+ #List Epic Stories
1261
+ result = api_instance.list_epic_stories(body, epic_public_id)
1262
+ p result
1263
+ rescue Shortcut::ApiError => e
1264
+ puts "Exception when calling DefaultApi->list_epic_stories: #{e}"
1265
+ end
1266
+ # Setup authorization
1267
+ Shortcut.configure do |config|
1268
+ # Configure API key authorization: api_token
1269
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1270
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1271
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1272
+ end
1273
+
1274
+ api_instance = Shortcut::DefaultApi.new
1275
+ body = Shortcut::ListEpics.new # ListEpics |
1276
+
1277
+
1278
+ begin
1279
+ #List Epics
1280
+ result = api_instance.list_epics(body)
1281
+ p result
1282
+ rescue Shortcut::ApiError => e
1283
+ puts "Exception when calling DefaultApi->list_epics: #{e}"
1284
+ end
1285
+ # Setup authorization
1286
+ Shortcut.configure do |config|
1287
+ # Configure API key authorization: api_token
1288
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1289
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1290
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1291
+ end
1292
+
1293
+ api_instance = Shortcut::DefaultApi.new
1294
+
1295
+ begin
1296
+ #List Files
1297
+ result = api_instance.list_files
1298
+ p result
1299
+ rescue Shortcut::ApiError => e
1300
+ puts "Exception when calling DefaultApi->list_files: #{e}"
1301
+ end
1302
+ # Setup authorization
1303
+ Shortcut.configure do |config|
1304
+ # Configure API key authorization: api_token
1305
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1306
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1307
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1308
+ end
1309
+
1310
+ api_instance = Shortcut::DefaultApi.new
1311
+ body = Shortcut::ListGroupStories.new # ListGroupStories |
1312
+ group_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The unique ID of the Group.
1313
+
1314
+
1315
+ begin
1316
+ #List Group Stories
1317
+ result = api_instance.list_group_stories(body, group_public_id)
1318
+ p result
1319
+ rescue Shortcut::ApiError => e
1320
+ puts "Exception when calling DefaultApi->list_group_stories: #{e}"
1321
+ end
1322
+ # Setup authorization
1323
+ Shortcut.configure do |config|
1324
+ # Configure API key authorization: api_token
1325
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1326
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1327
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1328
+ end
1329
+
1330
+ api_instance = Shortcut::DefaultApi.new
1331
+
1332
+ begin
1333
+ #List Groups
1334
+ result = api_instance.list_groups
1335
+ p result
1336
+ rescue Shortcut::ApiError => e
1337
+ puts "Exception when calling DefaultApi->list_groups: #{e}"
1338
+ end
1339
+ # Setup authorization
1340
+ Shortcut.configure do |config|
1341
+ # Configure API key authorization: api_token
1342
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1343
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1344
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1345
+ end
1346
+
1347
+ api_instance = Shortcut::DefaultApi.new
1348
+ body = Shortcut::GetIterationStories.new # GetIterationStories |
1349
+ iteration_public_id = 789 # Integer | The unique ID of the Iteration.
1350
+
1351
+
1352
+ begin
1353
+ #List Iteration Stories
1354
+ result = api_instance.list_iteration_stories(body, iteration_public_id)
1355
+ p result
1356
+ rescue Shortcut::ApiError => e
1357
+ puts "Exception when calling DefaultApi->list_iteration_stories: #{e}"
1358
+ end
1359
+ # Setup authorization
1360
+ Shortcut.configure do |config|
1361
+ # Configure API key authorization: api_token
1362
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1363
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1364
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1365
+ end
1366
+
1367
+ api_instance = Shortcut::DefaultApi.new
1368
+
1369
+ begin
1370
+ #List Iterations
1371
+ result = api_instance.list_iterations
1372
+ p result
1373
+ rescue Shortcut::ApiError => e
1374
+ puts "Exception when calling DefaultApi->list_iterations: #{e}"
1375
+ end
1376
+ # Setup authorization
1377
+ Shortcut.configure do |config|
1378
+ # Configure API key authorization: api_token
1379
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1380
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1381
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1382
+ end
1383
+
1384
+ api_instance = Shortcut::DefaultApi.new
1385
+ label_public_id = 789 # Integer | The unique ID of the Label.
1386
+
1387
+
1388
+ begin
1389
+ #List Label Epics
1390
+ result = api_instance.list_label_epics(label_public_id)
1391
+ p result
1392
+ rescue Shortcut::ApiError => e
1393
+ puts "Exception when calling DefaultApi->list_label_epics: #{e}"
1394
+ end
1395
+ # Setup authorization
1396
+ Shortcut.configure do |config|
1397
+ # Configure API key authorization: api_token
1398
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1399
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1400
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1401
+ end
1402
+
1403
+ api_instance = Shortcut::DefaultApi.new
1404
+ body = Shortcut::GetLabelStories.new # GetLabelStories |
1405
+ label_public_id = 789 # Integer | The unique ID of the Label.
1406
+
1407
+
1408
+ begin
1409
+ #List Label Stories
1410
+ result = api_instance.list_label_stories(body, label_public_id)
1411
+ p result
1412
+ rescue Shortcut::ApiError => e
1413
+ puts "Exception when calling DefaultApi->list_label_stories: #{e}"
1414
+ end
1415
+ # Setup authorization
1416
+ Shortcut.configure do |config|
1417
+ # Configure API key authorization: api_token
1418
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1419
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1420
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1421
+ end
1422
+
1423
+ api_instance = Shortcut::DefaultApi.new
1424
+ body = Shortcut::ListLabels.new # ListLabels |
1425
+
1426
+
1427
+ begin
1428
+ #List Labels
1429
+ result = api_instance.list_labels(body)
1430
+ p result
1431
+ rescue Shortcut::ApiError => e
1432
+ puts "Exception when calling DefaultApi->list_labels: #{e}"
1433
+ end
1434
+ # Setup authorization
1435
+ Shortcut.configure do |config|
1436
+ # Configure API key authorization: api_token
1437
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1438
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1439
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1440
+ end
1441
+
1442
+ api_instance = Shortcut::DefaultApi.new
1443
+
1444
+ begin
1445
+ #List Linked Files
1446
+ result = api_instance.list_linked_files
1447
+ p result
1448
+ rescue Shortcut::ApiError => e
1449
+ puts "Exception when calling DefaultApi->list_linked_files: #{e}"
1450
+ end
1451
+ # Setup authorization
1452
+ Shortcut.configure do |config|
1453
+ # Configure API key authorization: api_token
1454
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1455
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1456
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1457
+ end
1458
+
1459
+ api_instance = Shortcut::DefaultApi.new
1460
+ body = Shortcut::ListMembers.new # ListMembers |
1461
+
1462
+
1463
+ begin
1464
+ #List Members
1465
+ result = api_instance.list_members(body)
1466
+ p result
1467
+ rescue Shortcut::ApiError => e
1468
+ puts "Exception when calling DefaultApi->list_members: #{e}"
1469
+ end
1470
+ # Setup authorization
1471
+ Shortcut.configure do |config|
1472
+ # Configure API key authorization: api_token
1473
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1474
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1475
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1476
+ end
1477
+
1478
+ api_instance = Shortcut::DefaultApi.new
1479
+ milestone_public_id = 789 # Integer | The ID of the Milestone.
1480
+
1481
+
1482
+ begin
1483
+ #List Milestone Epics
1484
+ result = api_instance.list_milestone_epics(milestone_public_id)
1485
+ p result
1486
+ rescue Shortcut::ApiError => e
1487
+ puts "Exception when calling DefaultApi->list_milestone_epics: #{e}"
1488
+ end
1489
+ # Setup authorization
1490
+ Shortcut.configure do |config|
1491
+ # Configure API key authorization: api_token
1492
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1493
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1494
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1495
+ end
1496
+
1497
+ api_instance = Shortcut::DefaultApi.new
1498
+
1499
+ begin
1500
+ #List Milestones
1501
+ result = api_instance.list_milestones
1502
+ p result
1503
+ rescue Shortcut::ApiError => e
1504
+ puts "Exception when calling DefaultApi->list_milestones: #{e}"
1505
+ end
1506
+ # Setup authorization
1507
+ Shortcut.configure do |config|
1508
+ # Configure API key authorization: api_token
1509
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1510
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1511
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1512
+ end
1513
+
1514
+ api_instance = Shortcut::DefaultApi.new
1515
+
1516
+ begin
1517
+ #List Projects
1518
+ result = api_instance.list_projects
1519
+ p result
1520
+ rescue Shortcut::ApiError => e
1521
+ puts "Exception when calling DefaultApi->list_projects: #{e}"
1522
+ end
1523
+ # Setup authorization
1524
+ Shortcut.configure do |config|
1525
+ # Configure API key authorization: api_token
1526
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1527
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1528
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1529
+ end
1530
+
1531
+ api_instance = Shortcut::DefaultApi.new
1532
+
1533
+ begin
1534
+ #List Repositories
1535
+ result = api_instance.list_repositories
1536
+ p result
1537
+ rescue Shortcut::ApiError => e
1538
+ puts "Exception when calling DefaultApi->list_repositories: #{e}"
1539
+ end
1540
+ # Setup authorization
1541
+ Shortcut.configure do |config|
1542
+ # Configure API key authorization: api_token
1543
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1544
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1545
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1546
+ end
1547
+
1548
+ api_instance = Shortcut::DefaultApi.new
1549
+ body = Shortcut::GetProjectStories.new # GetProjectStories |
1550
+ project_public_id = 789 # Integer | The unique ID of the Project.
1551
+
1552
+
1553
+ begin
1554
+ #List Stories
1555
+ result = api_instance.list_stories(body, project_public_id)
1556
+ p result
1557
+ rescue Shortcut::ApiError => e
1558
+ puts "Exception when calling DefaultApi->list_stories: #{e}"
1559
+ end
1560
+ # Setup authorization
1561
+ Shortcut.configure do |config|
1562
+ # Configure API key authorization: api_token
1563
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1564
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1565
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1566
+ end
1567
+
1568
+ api_instance = Shortcut::DefaultApi.new
1569
+
1570
+ begin
1571
+ #List Workflows
1572
+ result = api_instance.list_workflows
1573
+ p result
1574
+ rescue Shortcut::ApiError => e
1575
+ puts "Exception when calling DefaultApi->list_workflows: #{e}"
1576
+ end
1577
+ # Setup authorization
1578
+ Shortcut.configure do |config|
1579
+ # Configure API key authorization: api_token
1580
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1581
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1582
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1583
+ end
1584
+
1585
+ api_instance = Shortcut::DefaultApi.new
1586
+ body = Shortcut::Search.new # Search |
1587
+
1588
+
1589
+ begin
1590
+ #Search
1591
+ result = api_instance.search(body)
1592
+ p result
1593
+ rescue Shortcut::ApiError => e
1594
+ puts "Exception when calling DefaultApi->search: #{e}"
1595
+ end
1596
+ # Setup authorization
1597
+ Shortcut.configure do |config|
1598
+ # Configure API key authorization: api_token
1599
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1600
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1601
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1602
+ end
1603
+
1604
+ api_instance = Shortcut::DefaultApi.new
1605
+ body = Shortcut::Search.new # Search |
1606
+
1607
+
1608
+ begin
1609
+ #Search Epics
1610
+ result = api_instance.search_epics(body)
1611
+ p result
1612
+ rescue Shortcut::ApiError => e
1613
+ puts "Exception when calling DefaultApi->search_epics: #{e}"
1614
+ end
1615
+ # Setup authorization
1616
+ Shortcut.configure do |config|
1617
+ # Configure API key authorization: api_token
1618
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1619
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1620
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1621
+ end
1622
+
1623
+ api_instance = Shortcut::DefaultApi.new
1624
+ body = Shortcut::Search.new # Search |
1625
+
1626
+
1627
+ begin
1628
+ #Search Stories
1629
+ result = api_instance.search_stories(body)
1630
+ p result
1631
+ rescue Shortcut::ApiError => e
1632
+ puts "Exception when calling DefaultApi->search_stories: #{e}"
1633
+ end
1634
+ # Setup authorization
1635
+ Shortcut.configure do |config|
1636
+ # Configure API key authorization: api_token
1637
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1638
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1639
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1640
+ end
1641
+
1642
+ api_instance = Shortcut::DefaultApi.new
1643
+ body = Shortcut::SearchStories.new # SearchStories |
1644
+
1645
+
1646
+ begin
1647
+ #Search Stories (Old)
1648
+ result = api_instance.search_stories_old(body)
1649
+ p result
1650
+ rescue Shortcut::ApiError => e
1651
+ puts "Exception when calling DefaultApi->search_stories_old: #{e}"
1652
+ end
1653
+ # Setup authorization
1654
+ Shortcut.configure do |config|
1655
+ # Configure API key authorization: api_token
1656
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1657
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1658
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1659
+ end
1660
+
1661
+ api_instance = Shortcut::DefaultApi.new
1662
+ story_public_id = 789 # Integer | The ID of the Story.
1663
+
1664
+
1665
+ begin
1666
+ #Story History
1667
+ result = api_instance.story_history(story_public_id)
1668
+ p result
1669
+ rescue Shortcut::ApiError => e
1670
+ puts "Exception when calling DefaultApi->story_history: #{e}"
1671
+ end
1672
+ # Setup authorization
1673
+ Shortcut.configure do |config|
1674
+ # Configure API key authorization: api_token
1675
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1676
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1677
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1678
+ end
1679
+
1680
+ api_instance = Shortcut::DefaultApi.new
1681
+ epic_public_id = 789 # Integer | The unique ID of the Epic.
1682
+
1683
+
1684
+ begin
1685
+ #Unlink Productboard from Epic
1686
+ api_instance.unlink_productboard_from_epic(epic_public_id)
1687
+ rescue Shortcut::ApiError => e
1688
+ puts "Exception when calling DefaultApi->unlink_productboard_from_epic: #{e}"
1689
+ end
1690
+ # Setup authorization
1691
+ Shortcut.configure do |config|
1692
+ # Configure API key authorization: api_token
1693
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1694
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1695
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1696
+ end
1697
+
1698
+ api_instance = Shortcut::DefaultApi.new
1699
+ body = Shortcut::UpdateCategory.new # UpdateCategory |
1700
+ category_public_id = 789 # Integer | The unique ID of the Category you wish to update.
1701
+
1702
+
1703
+ begin
1704
+ #Update Category
1705
+ result = api_instance.update_category(body, category_public_id)
1706
+ p result
1707
+ rescue Shortcut::ApiError => e
1708
+ puts "Exception when calling DefaultApi->update_category: #{e}"
1709
+ end
1710
+ # Setup authorization
1711
+ Shortcut.configure do |config|
1712
+ # Configure API key authorization: api_token
1713
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1714
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1715
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1716
+ end
1717
+
1718
+ api_instance = Shortcut::DefaultApi.new
1719
+ body = Shortcut::UpdateEntityTemplate.new # UpdateEntityTemplate | Request parameters for changing either a template's name or any of
1720
+ the attributes it is designed to pre-populate.
1721
+ entity_template_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The unique ID of the template to be updated.
1722
+
1723
+
1724
+ begin
1725
+ #Update Entity Template
1726
+ result = api_instance.update_entity_template(body, entity_template_public_id)
1727
+ p result
1728
+ rescue Shortcut::ApiError => e
1729
+ puts "Exception when calling DefaultApi->update_entity_template: #{e}"
1730
+ end
1731
+ # Setup authorization
1732
+ Shortcut.configure do |config|
1733
+ # Configure API key authorization: api_token
1734
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1735
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1736
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1737
+ end
1738
+
1739
+ api_instance = Shortcut::DefaultApi.new
1740
+ body = Shortcut::UpdateEpic.new # UpdateEpic |
1741
+ epic_public_id = 789 # Integer | The unique ID of the Epic.
1742
+
1743
+
1744
+ begin
1745
+ #Update Epic
1746
+ result = api_instance.update_epic(body, epic_public_id)
1747
+ p result
1748
+ rescue Shortcut::ApiError => e
1749
+ puts "Exception when calling DefaultApi->update_epic: #{e}"
1750
+ end
1751
+ # Setup authorization
1752
+ Shortcut.configure do |config|
1753
+ # Configure API key authorization: api_token
1754
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1755
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1756
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1757
+ end
1758
+
1759
+ api_instance = Shortcut::DefaultApi.new
1760
+ body = Shortcut::UpdateComment.new # UpdateComment |
1761
+ epic_public_id = 789 # Integer | The ID of the associated Epic.
1762
+ comment_public_id = 789 # Integer | The ID of the Comment.
1763
+
1764
+
1765
+ begin
1766
+ #Update Epic Comment
1767
+ result = api_instance.update_epic_comment(body, epic_public_id, comment_public_id)
1768
+ p result
1769
+ rescue Shortcut::ApiError => e
1770
+ puts "Exception when calling DefaultApi->update_epic_comment: #{e}"
1771
+ end
1772
+ # Setup authorization
1773
+ Shortcut.configure do |config|
1774
+ # Configure API key authorization: api_token
1775
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1776
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1777
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1778
+ end
1779
+
1780
+ api_instance = Shortcut::DefaultApi.new
1781
+ body = Shortcut::UpdateFile.new # UpdateFile |
1782
+ file_public_id = 789 # Integer | The unique ID assigned to the file in Shortcut.
1783
+
1784
+
1785
+ begin
1786
+ #Update File
1787
+ result = api_instance.update_file(body, file_public_id)
1788
+ p result
1789
+ rescue Shortcut::ApiError => e
1790
+ puts "Exception when calling DefaultApi->update_file: #{e}"
1791
+ end
1792
+ # Setup authorization
1793
+ Shortcut.configure do |config|
1794
+ # Configure API key authorization: api_token
1795
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1796
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1797
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1798
+ end
1799
+
1800
+ api_instance = Shortcut::DefaultApi.new
1801
+ body = Shortcut::UpdateGroup.new # UpdateGroup |
1802
+ group_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | The unique ID of the Group.
1803
+
1804
+
1805
+ begin
1806
+ #Update Group
1807
+ result = api_instance.update_group(body, group_public_id)
1808
+ p result
1809
+ rescue Shortcut::ApiError => e
1810
+ puts "Exception when calling DefaultApi->update_group: #{e}"
1811
+ end
1812
+ # Setup authorization
1813
+ Shortcut.configure do |config|
1814
+ # Configure API key authorization: api_token
1815
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1816
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1817
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1818
+ end
1819
+
1820
+ api_instance = Shortcut::DefaultApi.new
1821
+ body = Shortcut::UpdateIteration.new # UpdateIteration |
1822
+ iteration_public_id = 789 # Integer | The unique ID of the Iteration.
1823
+
1824
+
1825
+ begin
1826
+ #Update Iteration
1827
+ result = api_instance.update_iteration(body, iteration_public_id)
1828
+ p result
1829
+ rescue Shortcut::ApiError => e
1830
+ puts "Exception when calling DefaultApi->update_iteration: #{e}"
1831
+ end
1832
+ # Setup authorization
1833
+ Shortcut.configure do |config|
1834
+ # Configure API key authorization: api_token
1835
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1836
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1837
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1838
+ end
1839
+
1840
+ api_instance = Shortcut::DefaultApi.new
1841
+ body = Shortcut::UpdateLabel.new # UpdateLabel |
1842
+ label_public_id = 789 # Integer | The unique ID of the Label you wish to update.
1843
+
1844
+
1845
+ begin
1846
+ #Update Label
1847
+ result = api_instance.update_label(body, label_public_id)
1848
+ p result
1849
+ rescue Shortcut::ApiError => e
1850
+ puts "Exception when calling DefaultApi->update_label: #{e}"
1851
+ end
1852
+ # Setup authorization
1853
+ Shortcut.configure do |config|
1854
+ # Configure API key authorization: api_token
1855
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1856
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1857
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1858
+ end
1859
+
1860
+ api_instance = Shortcut::DefaultApi.new
1861
+ body = Shortcut::UpdateLinkedFile.new # UpdateLinkedFile |
1862
+ linked_file_public_id = 789 # Integer | The unique identifier of the linked file.
1863
+
1864
+
1865
+ begin
1866
+ #Update Linked File
1867
+ result = api_instance.update_linked_file(body, linked_file_public_id)
1868
+ p result
1869
+ rescue Shortcut::ApiError => e
1870
+ puts "Exception when calling DefaultApi->update_linked_file: #{e}"
1871
+ end
1872
+ # Setup authorization
1873
+ Shortcut.configure do |config|
1874
+ # Configure API key authorization: api_token
1875
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1876
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1877
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1878
+ end
1879
+
1880
+ api_instance = Shortcut::DefaultApi.new
1881
+ body = Shortcut::UpdateMilestone.new # UpdateMilestone |
1882
+ milestone_public_id = 789 # Integer | The ID of the Milestone.
1883
+
1884
+
1885
+ begin
1886
+ #Update Milestone
1887
+ result = api_instance.update_milestone(body, milestone_public_id)
1888
+ p result
1889
+ rescue Shortcut::ApiError => e
1890
+ puts "Exception when calling DefaultApi->update_milestone: #{e}"
1891
+ end
1892
+ # Setup authorization
1893
+ Shortcut.configure do |config|
1894
+ # Configure API key authorization: api_token
1895
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1896
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1897
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1898
+ end
1899
+
1900
+ api_instance = Shortcut::DefaultApi.new
1901
+ body = Shortcut::UpdateStories.new # UpdateStories |
1902
+
1903
+
1904
+ begin
1905
+ #Update Multiple Stories
1906
+ result = api_instance.update_multiple_stories(body)
1907
+ p result
1908
+ rescue Shortcut::ApiError => e
1909
+ puts "Exception when calling DefaultApi->update_multiple_stories: #{e}"
1910
+ end
1911
+ # Setup authorization
1912
+ Shortcut.configure do |config|
1913
+ # Configure API key authorization: api_token
1914
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1915
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1916
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1917
+ end
1918
+
1919
+ api_instance = Shortcut::DefaultApi.new
1920
+ body = Shortcut::UpdateProject.new # UpdateProject |
1921
+ project_public_id = 789 # Integer | The unique ID of the Project.
1922
+
1923
+
1924
+ begin
1925
+ #Update Project
1926
+ result = api_instance.update_project(body, project_public_id)
1927
+ p result
1928
+ rescue Shortcut::ApiError => e
1929
+ puts "Exception when calling DefaultApi->update_project: #{e}"
1930
+ end
1931
+ # Setup authorization
1932
+ Shortcut.configure do |config|
1933
+ # Configure API key authorization: api_token
1934
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1935
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1936
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1937
+ end
1938
+
1939
+ api_instance = Shortcut::DefaultApi.new
1940
+ body = Shortcut::UpdateStory.new # UpdateStory |
1941
+ story_public_id = 789 # Integer | The unique identifier of this story.
1942
+
1943
+
1944
+ begin
1945
+ #Update Story
1946
+ result = api_instance.update_story(body, story_public_id)
1947
+ p result
1948
+ rescue Shortcut::ApiError => e
1949
+ puts "Exception when calling DefaultApi->update_story: #{e}"
1950
+ end
1951
+ # Setup authorization
1952
+ Shortcut.configure do |config|
1953
+ # Configure API key authorization: api_token
1954
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1955
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1956
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1957
+ end
1958
+
1959
+ api_instance = Shortcut::DefaultApi.new
1960
+ body = Shortcut::UpdateStoryComment.new # UpdateStoryComment |
1961
+ story_public_id = 789 # Integer | The ID of the Story that the Comment is in.
1962
+ comment_public_id = 789 # Integer | The ID of the Comment
1963
+
1964
+
1965
+ begin
1966
+ #Update Story Comment
1967
+ result = api_instance.update_story_comment(body, story_public_id, comment_public_id)
1968
+ p result
1969
+ rescue Shortcut::ApiError => e
1970
+ puts "Exception when calling DefaultApi->update_story_comment: #{e}"
1971
+ end
1972
+ # Setup authorization
1973
+ Shortcut.configure do |config|
1974
+ # Configure API key authorization: api_token
1975
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1976
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1977
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1978
+ end
1979
+
1980
+ api_instance = Shortcut::DefaultApi.new
1981
+ body = Shortcut::UpdateStoryLink.new # UpdateStoryLink |
1982
+ story_link_public_id = 789 # Integer | The unique ID of the Story Link.
1983
+
1984
+
1985
+ begin
1986
+ #Update Story Link
1987
+ result = api_instance.update_story_link(body, story_link_public_id)
1988
+ p result
1989
+ rescue Shortcut::ApiError => e
1990
+ puts "Exception when calling DefaultApi->update_story_link: #{e}"
1991
+ end
1992
+ # Setup authorization
1993
+ Shortcut.configure do |config|
1994
+ # Configure API key authorization: api_token
1995
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
1996
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1997
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
1998
+ end
1999
+
2000
+ api_instance = Shortcut::DefaultApi.new
2001
+ body = Shortcut::UpdateTask.new # UpdateTask |
2002
+ story_public_id = 789 # Integer | The unique identifier of the parent Story.
2003
+ task_public_id = 789 # Integer | The unique identifier of the Task you wish to update.
2004
+
2005
+
2006
+ begin
2007
+ #Update Task
2008
+ result = api_instance.update_task(body, story_public_id, task_public_id)
2009
+ p result
2010
+ rescue Shortcut::ApiError => e
2011
+ puts "Exception when calling DefaultApi->update_task: #{e}"
2012
+ end
2013
+ # Setup authorization
2014
+ Shortcut.configure do |config|
2015
+ # Configure API key authorization: api_token
2016
+ config.api_key['Shortcut-Token'] = 'YOUR API KEY'
2017
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2018
+ #config.api_key_prefix['Shortcut-Token'] = 'Bearer'
2019
+ end
2020
+
2021
+ api_instance = Shortcut::DefaultApi.new
2022
+ story_id = 789 # Integer |
2023
+ file0 = 'file0_example' # String |
2024
+ file1 = 'file1_example' # String |
2025
+ file2 = 'file2_example' # String |
2026
+ file3 = 'file3_example' # String |
2027
+
2028
+
2029
+ begin
2030
+ #Upload Files
2031
+ result = api_instance.upload_files(story_id, file0, file1, file2, file3)
2032
+ p result
2033
+ rescue Shortcut::ApiError => e
2034
+ puts "Exception when calling DefaultApi->upload_files: #{e}"
2035
+ end
2036
+ ```
2037
+
2038
+ ## Documentation for API Endpoints
2039
+
2040
+ All URIs are relative to *https://api.app.shortcut.com/*
2041
+
2042
+ Class | Method | HTTP request | Description
2043
+ ------------ | ------------- | ------------- | -------------
2044
+ *Shortcut::DefaultApi* | [**create_category**](docs/DefaultApi.md#create_category) | **POST** /api/v3/categories | Create Category
2045
+ *Shortcut::DefaultApi* | [**create_entity_template**](docs/DefaultApi.md#create_entity_template) | **POST** /api/v3/entity-templates | Create Entity Template
2046
+ *Shortcut::DefaultApi* | [**create_epic**](docs/DefaultApi.md#create_epic) | **POST** /api/v3/epics | Create Epic
2047
+ *Shortcut::DefaultApi* | [**create_epic_comment**](docs/DefaultApi.md#create_epic_comment) | **POST** /api/v3/epics/{epic-public-id}/comments | Create Epic Comment
2048
+ *Shortcut::DefaultApi* | [**create_epic_comment_comment**](docs/DefaultApi.md#create_epic_comment_comment) | **POST** /api/v3/epics/{epic-public-id}/comments/{comment-public-id} | Create Epic Comment Comment
2049
+ *Shortcut::DefaultApi* | [**create_group**](docs/DefaultApi.md#create_group) | **POST** /api/v3/groups | Create Group
2050
+ *Shortcut::DefaultApi* | [**create_iteration**](docs/DefaultApi.md#create_iteration) | **POST** /api/v3/iterations | Create Iteration
2051
+ *Shortcut::DefaultApi* | [**create_label**](docs/DefaultApi.md#create_label) | **POST** /api/v3/labels | Create Label
2052
+ *Shortcut::DefaultApi* | [**create_linked_file**](docs/DefaultApi.md#create_linked_file) | **POST** /api/v3/linked-files | Create Linked File
2053
+ *Shortcut::DefaultApi* | [**create_milestone**](docs/DefaultApi.md#create_milestone) | **POST** /api/v3/milestones | Create Milestone
2054
+ *Shortcut::DefaultApi* | [**create_multiple_stories**](docs/DefaultApi.md#create_multiple_stories) | **POST** /api/v3/stories/bulk | Create Multiple Stories
2055
+ *Shortcut::DefaultApi* | [**create_project**](docs/DefaultApi.md#create_project) | **POST** /api/v3/projects | Create Project
2056
+ *Shortcut::DefaultApi* | [**create_story**](docs/DefaultApi.md#create_story) | **POST** /api/v3/stories | Create Story
2057
+ *Shortcut::DefaultApi* | [**create_story_comment**](docs/DefaultApi.md#create_story_comment) | **POST** /api/v3/stories/{story-public-id}/comments | Create Story Comment
2058
+ *Shortcut::DefaultApi* | [**create_story_link**](docs/DefaultApi.md#create_story_link) | **POST** /api/v3/story-links | Create Story Link
2059
+ *Shortcut::DefaultApi* | [**create_story_reaction**](docs/DefaultApi.md#create_story_reaction) | **POST** /api/v3/stories/{story-public-id}/comments/{comment-public-id}/reactions | Create Story Reaction
2060
+ *Shortcut::DefaultApi* | [**create_task**](docs/DefaultApi.md#create_task) | **POST** /api/v3/stories/{story-public-id}/tasks | Create Task
2061
+ *Shortcut::DefaultApi* | [**delete_category**](docs/DefaultApi.md#delete_category) | **DELETE** /api/v3/categories/{category-public-id} | Delete Category
2062
+ *Shortcut::DefaultApi* | [**delete_entity_template**](docs/DefaultApi.md#delete_entity_template) | **DELETE** /api/v3/entity-templates/{entity-template-public-id} | Delete Entity Template
2063
+ *Shortcut::DefaultApi* | [**delete_epic**](docs/DefaultApi.md#delete_epic) | **DELETE** /api/v3/epics/{epic-public-id} | Delete Epic
2064
+ *Shortcut::DefaultApi* | [**delete_epic_comment**](docs/DefaultApi.md#delete_epic_comment) | **DELETE** /api/v3/epics/{epic-public-id}/comments/{comment-public-id} | Delete Epic Comment
2065
+ *Shortcut::DefaultApi* | [**delete_file**](docs/DefaultApi.md#delete_file) | **DELETE** /api/v3/files/{file-public-id} | Delete File
2066
+ *Shortcut::DefaultApi* | [**delete_iteration**](docs/DefaultApi.md#delete_iteration) | **DELETE** /api/v3/iterations/{iteration-public-id} | Delete Iteration
2067
+ *Shortcut::DefaultApi* | [**delete_label**](docs/DefaultApi.md#delete_label) | **DELETE** /api/v3/labels/{label-public-id} | Delete Label
2068
+ *Shortcut::DefaultApi* | [**delete_linked_file**](docs/DefaultApi.md#delete_linked_file) | **DELETE** /api/v3/linked-files/{linked-file-public-id} | Delete Linked File
2069
+ *Shortcut::DefaultApi* | [**delete_milestone**](docs/DefaultApi.md#delete_milestone) | **DELETE** /api/v3/milestones/{milestone-public-id} | Delete Milestone
2070
+ *Shortcut::DefaultApi* | [**delete_multiple_stories**](docs/DefaultApi.md#delete_multiple_stories) | **DELETE** /api/v3/stories/bulk | Delete Multiple Stories
2071
+ *Shortcut::DefaultApi* | [**delete_project**](docs/DefaultApi.md#delete_project) | **DELETE** /api/v3/projects/{project-public-id} | Delete Project
2072
+ *Shortcut::DefaultApi* | [**delete_story**](docs/DefaultApi.md#delete_story) | **DELETE** /api/v3/stories/{story-public-id} | Delete Story
2073
+ *Shortcut::DefaultApi* | [**delete_story_comment**](docs/DefaultApi.md#delete_story_comment) | **DELETE** /api/v3/stories/{story-public-id}/comments/{comment-public-id} | Delete Story Comment
2074
+ *Shortcut::DefaultApi* | [**delete_story_link**](docs/DefaultApi.md#delete_story_link) | **DELETE** /api/v3/story-links/{story-link-public-id} | Delete Story Link
2075
+ *Shortcut::DefaultApi* | [**delete_story_reaction**](docs/DefaultApi.md#delete_story_reaction) | **DELETE** /api/v3/stories/{story-public-id}/comments/{comment-public-id}/reactions | Delete Story Reaction
2076
+ *Shortcut::DefaultApi* | [**delete_task**](docs/DefaultApi.md#delete_task) | **DELETE** /api/v3/stories/{story-public-id}/tasks/{task-public-id} | Delete Task
2077
+ *Shortcut::DefaultApi* | [**disable_groups**](docs/DefaultApi.md#disable_groups) | **PUT** /api/v3/groups/disable | Disable Groups
2078
+ *Shortcut::DefaultApi* | [**disable_iterations**](docs/DefaultApi.md#disable_iterations) | **PUT** /api/v3/iterations/disable | Disable Iterations
2079
+ *Shortcut::DefaultApi* | [**disable_story_templates**](docs/DefaultApi.md#disable_story_templates) | **PUT** /api/v3/entity-templates/disable | Disable Story Templates
2080
+ *Shortcut::DefaultApi* | [**enable_groups**](docs/DefaultApi.md#enable_groups) | **PUT** /api/v3/groups/enable | Enable Groups
2081
+ *Shortcut::DefaultApi* | [**enable_iterations**](docs/DefaultApi.md#enable_iterations) | **PUT** /api/v3/iterations/enable | Enable Iterations
2082
+ *Shortcut::DefaultApi* | [**enable_story_templates**](docs/DefaultApi.md#enable_story_templates) | **PUT** /api/v3/entity-templates/enable | Enable Story Templates
2083
+ *Shortcut::DefaultApi* | [**get_category**](docs/DefaultApi.md#get_category) | **GET** /api/v3/categories/{category-public-id} | Get Category
2084
+ *Shortcut::DefaultApi* | [**get_current_member_info**](docs/DefaultApi.md#get_current_member_info) | **GET** /api/v3/member | Get Current Member Info
2085
+ *Shortcut::DefaultApi* | [**get_entity_template**](docs/DefaultApi.md#get_entity_template) | **GET** /api/v3/entity-templates/{entity-template-public-id} | Get Entity Template
2086
+ *Shortcut::DefaultApi* | [**get_epic**](docs/DefaultApi.md#get_epic) | **GET** /api/v3/epics/{epic-public-id} | Get Epic
2087
+ *Shortcut::DefaultApi* | [**get_epic_comment**](docs/DefaultApi.md#get_epic_comment) | **GET** /api/v3/epics/{epic-public-id}/comments/{comment-public-id} | Get Epic Comment
2088
+ *Shortcut::DefaultApi* | [**get_epic_workflow**](docs/DefaultApi.md#get_epic_workflow) | **GET** /api/v3/epic-workflow | Get Epic Workflow
2089
+ *Shortcut::DefaultApi* | [**get_external_link_stories**](docs/DefaultApi.md#get_external_link_stories) | **GET** /api/v3/external-link/stories | Get External Link Stories
2090
+ *Shortcut::DefaultApi* | [**get_file**](docs/DefaultApi.md#get_file) | **GET** /api/v3/files/{file-public-id} | Get File
2091
+ *Shortcut::DefaultApi* | [**get_group**](docs/DefaultApi.md#get_group) | **GET** /api/v3/groups/{group-public-id} | Get Group
2092
+ *Shortcut::DefaultApi* | [**get_iteration**](docs/DefaultApi.md#get_iteration) | **GET** /api/v3/iterations/{iteration-public-id} | Get Iteration
2093
+ *Shortcut::DefaultApi* | [**get_label**](docs/DefaultApi.md#get_label) | **GET** /api/v3/labels/{label-public-id} | Get Label
2094
+ *Shortcut::DefaultApi* | [**get_linked_file**](docs/DefaultApi.md#get_linked_file) | **GET** /api/v3/linked-files/{linked-file-public-id} | Get Linked File
2095
+ *Shortcut::DefaultApi* | [**get_member**](docs/DefaultApi.md#get_member) | **GET** /api/v3/members/{member-public-id} | Get Member
2096
+ *Shortcut::DefaultApi* | [**get_milestone**](docs/DefaultApi.md#get_milestone) | **GET** /api/v3/milestones/{milestone-public-id} | Get Milestone
2097
+ *Shortcut::DefaultApi* | [**get_project**](docs/DefaultApi.md#get_project) | **GET** /api/v3/projects/{project-public-id} | Get Project
2098
+ *Shortcut::DefaultApi* | [**get_repository**](docs/DefaultApi.md#get_repository) | **GET** /api/v3/repositories/{repo-public-id} | Get Repository
2099
+ *Shortcut::DefaultApi* | [**get_story**](docs/DefaultApi.md#get_story) | **GET** /api/v3/stories/{story-public-id} | Get Story
2100
+ *Shortcut::DefaultApi* | [**get_story_comment**](docs/DefaultApi.md#get_story_comment) | **GET** /api/v3/stories/{story-public-id}/comments/{comment-public-id} | Get Story Comment
2101
+ *Shortcut::DefaultApi* | [**get_story_link**](docs/DefaultApi.md#get_story_link) | **GET** /api/v3/story-links/{story-link-public-id} | Get Story Link
2102
+ *Shortcut::DefaultApi* | [**get_task**](docs/DefaultApi.md#get_task) | **GET** /api/v3/stories/{story-public-id}/tasks/{task-public-id} | Get Task
2103
+ *Shortcut::DefaultApi* | [**get_workflow**](docs/DefaultApi.md#get_workflow) | **GET** /api/v3/workflows/{workflow-public-id} | Get Workflow
2104
+ *Shortcut::DefaultApi* | [**list_categories**](docs/DefaultApi.md#list_categories) | **GET** /api/v3/categories | List Categories
2105
+ *Shortcut::DefaultApi* | [**list_category_milestones**](docs/DefaultApi.md#list_category_milestones) | **GET** /api/v3/categories/{category-public-id}/milestones | List Category Milestones
2106
+ *Shortcut::DefaultApi* | [**list_entity_templates**](docs/DefaultApi.md#list_entity_templates) | **GET** /api/v3/entity-templates | List Entity Templates
2107
+ *Shortcut::DefaultApi* | [**list_epic_comments**](docs/DefaultApi.md#list_epic_comments) | **GET** /api/v3/epics/{epic-public-id}/comments | List Epic Comments
2108
+ *Shortcut::DefaultApi* | [**list_epic_stories**](docs/DefaultApi.md#list_epic_stories) | **GET** /api/v3/epics/{epic-public-id}/stories | List Epic Stories
2109
+ *Shortcut::DefaultApi* | [**list_epics**](docs/DefaultApi.md#list_epics) | **GET** /api/v3/epics | List Epics
2110
+ *Shortcut::DefaultApi* | [**list_files**](docs/DefaultApi.md#list_files) | **GET** /api/v3/files | List Files
2111
+ *Shortcut::DefaultApi* | [**list_group_stories**](docs/DefaultApi.md#list_group_stories) | **GET** /api/v3/groups/{group-public-id}/stories | List Group Stories
2112
+ *Shortcut::DefaultApi* | [**list_groups**](docs/DefaultApi.md#list_groups) | **GET** /api/v3/groups | List Groups
2113
+ *Shortcut::DefaultApi* | [**list_iteration_stories**](docs/DefaultApi.md#list_iteration_stories) | **GET** /api/v3/iterations/{iteration-public-id}/stories | List Iteration Stories
2114
+ *Shortcut::DefaultApi* | [**list_iterations**](docs/DefaultApi.md#list_iterations) | **GET** /api/v3/iterations | List Iterations
2115
+ *Shortcut::DefaultApi* | [**list_label_epics**](docs/DefaultApi.md#list_label_epics) | **GET** /api/v3/labels/{label-public-id}/epics | List Label Epics
2116
+ *Shortcut::DefaultApi* | [**list_label_stories**](docs/DefaultApi.md#list_label_stories) | **GET** /api/v3/labels/{label-public-id}/stories | List Label Stories
2117
+ *Shortcut::DefaultApi* | [**list_labels**](docs/DefaultApi.md#list_labels) | **GET** /api/v3/labels | List Labels
2118
+ *Shortcut::DefaultApi* | [**list_linked_files**](docs/DefaultApi.md#list_linked_files) | **GET** /api/v3/linked-files | List Linked Files
2119
+ *Shortcut::DefaultApi* | [**list_members**](docs/DefaultApi.md#list_members) | **GET** /api/v3/members | List Members
2120
+ *Shortcut::DefaultApi* | [**list_milestone_epics**](docs/DefaultApi.md#list_milestone_epics) | **GET** /api/v3/milestones/{milestone-public-id}/epics | List Milestone Epics
2121
+ *Shortcut::DefaultApi* | [**list_milestones**](docs/DefaultApi.md#list_milestones) | **GET** /api/v3/milestones | List Milestones
2122
+ *Shortcut::DefaultApi* | [**list_projects**](docs/DefaultApi.md#list_projects) | **GET** /api/v3/projects | List Projects
2123
+ *Shortcut::DefaultApi* | [**list_repositories**](docs/DefaultApi.md#list_repositories) | **GET** /api/v3/repositories | List Repositories
2124
+ *Shortcut::DefaultApi* | [**list_stories**](docs/DefaultApi.md#list_stories) | **GET** /api/v3/projects/{project-public-id}/stories | List Stories
2125
+ *Shortcut::DefaultApi* | [**list_workflows**](docs/DefaultApi.md#list_workflows) | **GET** /api/v3/workflows | List Workflows
2126
+ *Shortcut::DefaultApi* | [**search**](docs/DefaultApi.md#search) | **GET** /api/v3/search | Search
2127
+ *Shortcut::DefaultApi* | [**search_epics**](docs/DefaultApi.md#search_epics) | **GET** /api/v3/search/epics | Search Epics
2128
+ *Shortcut::DefaultApi* | [**search_stories**](docs/DefaultApi.md#search_stories) | **GET** /api/v3/search/stories | Search Stories
2129
+ *Shortcut::DefaultApi* | [**search_stories_old**](docs/DefaultApi.md#search_stories_old) | **POST** /api/v3/stories/search | Search Stories (Old)
2130
+ *Shortcut::DefaultApi* | [**story_history**](docs/DefaultApi.md#story_history) | **GET** /api/v3/stories/{story-public-id}/history | Story History
2131
+ *Shortcut::DefaultApi* | [**unlink_productboard_from_epic**](docs/DefaultApi.md#unlink_productboard_from_epic) | **POST** /api/v3/epics/{epic-public-id}/unlink-productboard | Unlink Productboard from Epic
2132
+ *Shortcut::DefaultApi* | [**update_category**](docs/DefaultApi.md#update_category) | **PUT** /api/v3/categories/{category-public-id} | Update Category
2133
+ *Shortcut::DefaultApi* | [**update_entity_template**](docs/DefaultApi.md#update_entity_template) | **PUT** /api/v3/entity-templates/{entity-template-public-id} | Update Entity Template
2134
+ *Shortcut::DefaultApi* | [**update_epic**](docs/DefaultApi.md#update_epic) | **PUT** /api/v3/epics/{epic-public-id} | Update Epic
2135
+ *Shortcut::DefaultApi* | [**update_epic_comment**](docs/DefaultApi.md#update_epic_comment) | **PUT** /api/v3/epics/{epic-public-id}/comments/{comment-public-id} | Update Epic Comment
2136
+ *Shortcut::DefaultApi* | [**update_file**](docs/DefaultApi.md#update_file) | **PUT** /api/v3/files/{file-public-id} | Update File
2137
+ *Shortcut::DefaultApi* | [**update_group**](docs/DefaultApi.md#update_group) | **PUT** /api/v3/groups/{group-public-id} | Update Group
2138
+ *Shortcut::DefaultApi* | [**update_iteration**](docs/DefaultApi.md#update_iteration) | **PUT** /api/v3/iterations/{iteration-public-id} | Update Iteration
2139
+ *Shortcut::DefaultApi* | [**update_label**](docs/DefaultApi.md#update_label) | **PUT** /api/v3/labels/{label-public-id} | Update Label
2140
+ *Shortcut::DefaultApi* | [**update_linked_file**](docs/DefaultApi.md#update_linked_file) | **PUT** /api/v3/linked-files/{linked-file-public-id} | Update Linked File
2141
+ *Shortcut::DefaultApi* | [**update_milestone**](docs/DefaultApi.md#update_milestone) | **PUT** /api/v3/milestones/{milestone-public-id} | Update Milestone
2142
+ *Shortcut::DefaultApi* | [**update_multiple_stories**](docs/DefaultApi.md#update_multiple_stories) | **PUT** /api/v3/stories/bulk | Update Multiple Stories
2143
+ *Shortcut::DefaultApi* | [**update_project**](docs/DefaultApi.md#update_project) | **PUT** /api/v3/projects/{project-public-id} | Update Project
2144
+ *Shortcut::DefaultApi* | [**update_story**](docs/DefaultApi.md#update_story) | **PUT** /api/v3/stories/{story-public-id} | Update Story
2145
+ *Shortcut::DefaultApi* | [**update_story_comment**](docs/DefaultApi.md#update_story_comment) | **PUT** /api/v3/stories/{story-public-id}/comments/{comment-public-id} | Update Story Comment
2146
+ *Shortcut::DefaultApi* | [**update_story_link**](docs/DefaultApi.md#update_story_link) | **PUT** /api/v3/story-links/{story-link-public-id} | Update Story Link
2147
+ *Shortcut::DefaultApi* | [**update_task**](docs/DefaultApi.md#update_task) | **PUT** /api/v3/stories/{story-public-id}/tasks/{task-public-id} | Update Task
2148
+ *Shortcut::DefaultApi* | [**upload_files**](docs/DefaultApi.md#upload_files) | **POST** /api/v3/files | Upload Files
2149
+
2150
+ ## Documentation for Models
2151
+
2152
+ - [Shortcut::BasicWorkspaceInfo](docs/BasicWorkspaceInfo.md)
2153
+ - [Shortcut::Branch](docs/Branch.md)
2154
+ - [Shortcut::Category](docs/Category.md)
2155
+ - [Shortcut::Commit](docs/Commit.md)
2156
+ - [Shortcut::CreateCategory](docs/CreateCategory.md)
2157
+ - [Shortcut::CreateCategoryParams](docs/CreateCategoryParams.md)
2158
+ - [Shortcut::CreateCommentComment](docs/CreateCommentComment.md)
2159
+ - [Shortcut::CreateEntityTemplate](docs/CreateEntityTemplate.md)
2160
+ - [Shortcut::CreateEpic](docs/CreateEpic.md)
2161
+ - [Shortcut::CreateEpicComment](docs/CreateEpicComment.md)
2162
+ - [Shortcut::CreateGroup](docs/CreateGroup.md)
2163
+ - [Shortcut::CreateIteration](docs/CreateIteration.md)
2164
+ - [Shortcut::CreateLabelParams](docs/CreateLabelParams.md)
2165
+ - [Shortcut::CreateLinkedFile](docs/CreateLinkedFile.md)
2166
+ - [Shortcut::CreateMilestone](docs/CreateMilestone.md)
2167
+ - [Shortcut::CreateOrDeleteStoryReaction](docs/CreateOrDeleteStoryReaction.md)
2168
+ - [Shortcut::CreateProject](docs/CreateProject.md)
2169
+ - [Shortcut::CreateStories](docs/CreateStories.md)
2170
+ - [Shortcut::CreateStoryComment](docs/CreateStoryComment.md)
2171
+ - [Shortcut::CreateStoryCommentParams](docs/CreateStoryCommentParams.md)
2172
+ - [Shortcut::CreateStoryContents](docs/CreateStoryContents.md)
2173
+ - [Shortcut::CreateStoryLink](docs/CreateStoryLink.md)
2174
+ - [Shortcut::CreateStoryLinkParams](docs/CreateStoryLinkParams.md)
2175
+ - [Shortcut::CreateStoryParams](docs/CreateStoryParams.md)
2176
+ - [Shortcut::CreateTask](docs/CreateTask.md)
2177
+ - [Shortcut::CreateTaskParams](docs/CreateTaskParams.md)
2178
+ - [Shortcut::DeleteStories](docs/DeleteStories.md)
2179
+ - [Shortcut::EntityTemplate](docs/EntityTemplate.md)
2180
+ - [Shortcut::EntityTemplateTask](docs/EntityTemplateTask.md)
2181
+ - [Shortcut::Epic](docs/Epic.md)
2182
+ - [Shortcut::EpicSearchResults](docs/EpicSearchResults.md)
2183
+ - [Shortcut::EpicSlim](docs/EpicSlim.md)
2184
+ - [Shortcut::EpicState](docs/EpicState.md)
2185
+ - [Shortcut::EpicStats](docs/EpicStats.md)
2186
+ - [Shortcut::EpicWorkflow](docs/EpicWorkflow.md)
2187
+ - [Shortcut::GetEpicStories](docs/GetEpicStories.md)
2188
+ - [Shortcut::GetExternalLinkStoriesParams](docs/GetExternalLinkStoriesParams.md)
2189
+ - [Shortcut::GetIterationStories](docs/GetIterationStories.md)
2190
+ - [Shortcut::GetLabelStories](docs/GetLabelStories.md)
2191
+ - [Shortcut::GetMember](docs/GetMember.md)
2192
+ - [Shortcut::GetProjectStories](docs/GetProjectStories.md)
2193
+ - [Shortcut::Group](docs/Group.md)
2194
+ - [Shortcut::History](docs/History.md)
2195
+ - [Shortcut::HistoryActionBranchCreate](docs/HistoryActionBranchCreate.md)
2196
+ - [Shortcut::HistoryActionBranchMerge](docs/HistoryActionBranchMerge.md)
2197
+ - [Shortcut::HistoryActionBranchPush](docs/HistoryActionBranchPush.md)
2198
+ - [Shortcut::HistoryActionLabelCreate](docs/HistoryActionLabelCreate.md)
2199
+ - [Shortcut::HistoryActionLabelDelete](docs/HistoryActionLabelDelete.md)
2200
+ - [Shortcut::HistoryActionLabelUpdate](docs/HistoryActionLabelUpdate.md)
2201
+ - [Shortcut::HistoryActionProjectUpdate](docs/HistoryActionProjectUpdate.md)
2202
+ - [Shortcut::HistoryActionPullRequest](docs/HistoryActionPullRequest.md)
2203
+ - [Shortcut::HistoryActionStoryCommentCreate](docs/HistoryActionStoryCommentCreate.md)
2204
+ - [Shortcut::HistoryActionStoryCreate](docs/HistoryActionStoryCreate.md)
2205
+ - [Shortcut::HistoryActionStoryDelete](docs/HistoryActionStoryDelete.md)
2206
+ - [Shortcut::HistoryActionStoryLinkCreate](docs/HistoryActionStoryLinkCreate.md)
2207
+ - [Shortcut::HistoryActionStoryLinkDelete](docs/HistoryActionStoryLinkDelete.md)
2208
+ - [Shortcut::HistoryActionStoryLinkUpdate](docs/HistoryActionStoryLinkUpdate.md)
2209
+ - [Shortcut::HistoryActionStoryUpdate](docs/HistoryActionStoryUpdate.md)
2210
+ - [Shortcut::HistoryActionTaskCreate](docs/HistoryActionTaskCreate.md)
2211
+ - [Shortcut::HistoryActionTaskDelete](docs/HistoryActionTaskDelete.md)
2212
+ - [Shortcut::HistoryActionTaskUpdate](docs/HistoryActionTaskUpdate.md)
2213
+ - [Shortcut::HistoryChangesStory](docs/HistoryChangesStory.md)
2214
+ - [Shortcut::HistoryChangesStoryLink](docs/HistoryChangesStoryLink.md)
2215
+ - [Shortcut::HistoryChangesTask](docs/HistoryChangesTask.md)
2216
+ - [Shortcut::HistoryReferenceBranch](docs/HistoryReferenceBranch.md)
2217
+ - [Shortcut::HistoryReferenceCommit](docs/HistoryReferenceCommit.md)
2218
+ - [Shortcut::HistoryReferenceEpic](docs/HistoryReferenceEpic.md)
2219
+ - [Shortcut::HistoryReferenceGeneral](docs/HistoryReferenceGeneral.md)
2220
+ - [Shortcut::HistoryReferenceGroup](docs/HistoryReferenceGroup.md)
2221
+ - [Shortcut::HistoryReferenceIteration](docs/HistoryReferenceIteration.md)
2222
+ - [Shortcut::HistoryReferenceLabel](docs/HistoryReferenceLabel.md)
2223
+ - [Shortcut::HistoryReferenceProject](docs/HistoryReferenceProject.md)
2224
+ - [Shortcut::HistoryReferenceStory](docs/HistoryReferenceStory.md)
2225
+ - [Shortcut::HistoryReferenceStoryTask](docs/HistoryReferenceStoryTask.md)
2226
+ - [Shortcut::HistoryReferenceWorkflowState](docs/HistoryReferenceWorkflowState.md)
2227
+ - [Shortcut::Icon](docs/Icon.md)
2228
+ - [Shortcut::Identity](docs/Identity.md)
2229
+ - [Shortcut::Iteration](docs/Iteration.md)
2230
+ - [Shortcut::IterationSlim](docs/IterationSlim.md)
2231
+ - [Shortcut::IterationStats](docs/IterationStats.md)
2232
+ - [Shortcut::Label](docs/Label.md)
2233
+ - [Shortcut::LabelSlim](docs/LabelSlim.md)
2234
+ - [Shortcut::LabelStats](docs/LabelStats.md)
2235
+ - [Shortcut::LinkedFile](docs/LinkedFile.md)
2236
+ - [Shortcut::ListEpics](docs/ListEpics.md)
2237
+ - [Shortcut::ListGroupStories](docs/ListGroupStories.md)
2238
+ - [Shortcut::ListLabels](docs/ListLabels.md)
2239
+ - [Shortcut::ListMembers](docs/ListMembers.md)
2240
+ - [Shortcut::MaxSearchResultsExceededError](docs/MaxSearchResultsExceededError.md)
2241
+ - [Shortcut::Member](docs/Member.md)
2242
+ - [Shortcut::MemberInfo](docs/MemberInfo.md)
2243
+ - [Shortcut::Milestone](docs/Milestone.md)
2244
+ - [Shortcut::MilestoneStats](docs/MilestoneStats.md)
2245
+ - [Shortcut::Profile](docs/Profile.md)
2246
+ - [Shortcut::Project](docs/Project.md)
2247
+ - [Shortcut::ProjectStats](docs/ProjectStats.md)
2248
+ - [Shortcut::PullRequest](docs/PullRequest.md)
2249
+ - [Shortcut::PullRequestLabel](docs/PullRequestLabel.md)
2250
+ - [Shortcut::Repository](docs/Repository.md)
2251
+ - [Shortcut::Search](docs/Search.md)
2252
+ - [Shortcut::SearchResults](docs/SearchResults.md)
2253
+ - [Shortcut::SearchStories](docs/SearchStories.md)
2254
+ - [Shortcut::Story](docs/Story.md)
2255
+ - [Shortcut::StoryComment](docs/StoryComment.md)
2256
+ - [Shortcut::StoryContents](docs/StoryContents.md)
2257
+ - [Shortcut::StoryContentsTask](docs/StoryContentsTask.md)
2258
+ - [Shortcut::StoryHistoryChangeAddsRemovesInt](docs/StoryHistoryChangeAddsRemovesInt.md)
2259
+ - [Shortcut::StoryHistoryChangeAddsRemovesUuid](docs/StoryHistoryChangeAddsRemovesUuid.md)
2260
+ - [Shortcut::StoryHistoryChangeOldNewBool](docs/StoryHistoryChangeOldNewBool.md)
2261
+ - [Shortcut::StoryHistoryChangeOldNewInt](docs/StoryHistoryChangeOldNewInt.md)
2262
+ - [Shortcut::StoryHistoryChangeOldNewStr](docs/StoryHistoryChangeOldNewStr.md)
2263
+ - [Shortcut::StoryHistoryChangeOldNewUuid](docs/StoryHistoryChangeOldNewUuid.md)
2264
+ - [Shortcut::StoryLink](docs/StoryLink.md)
2265
+ - [Shortcut::StoryReaction](docs/StoryReaction.md)
2266
+ - [Shortcut::StorySearchResults](docs/StorySearchResults.md)
2267
+ - [Shortcut::StorySlim](docs/StorySlim.md)
2268
+ - [Shortcut::StoryStats](docs/StoryStats.md)
2269
+ - [Shortcut::Task](docs/Task.md)
2270
+ - [Shortcut::ThreadedComment](docs/ThreadedComment.md)
2271
+ - [Shortcut::TypedStoryLink](docs/TypedStoryLink.md)
2272
+ - [Shortcut::UnusableEntitlementError](docs/UnusableEntitlementError.md)
2273
+ - [Shortcut::UpdateCategory](docs/UpdateCategory.md)
2274
+ - [Shortcut::UpdateComment](docs/UpdateComment.md)
2275
+ - [Shortcut::UpdateEntityTemplate](docs/UpdateEntityTemplate.md)
2276
+ - [Shortcut::UpdateEpic](docs/UpdateEpic.md)
2277
+ - [Shortcut::UpdateFile](docs/UpdateFile.md)
2278
+ - [Shortcut::UpdateGroup](docs/UpdateGroup.md)
2279
+ - [Shortcut::UpdateIteration](docs/UpdateIteration.md)
2280
+ - [Shortcut::UpdateLabel](docs/UpdateLabel.md)
2281
+ - [Shortcut::UpdateLinkedFile](docs/UpdateLinkedFile.md)
2282
+ - [Shortcut::UpdateMilestone](docs/UpdateMilestone.md)
2283
+ - [Shortcut::UpdateProject](docs/UpdateProject.md)
2284
+ - [Shortcut::UpdateStories](docs/UpdateStories.md)
2285
+ - [Shortcut::UpdateStory](docs/UpdateStory.md)
2286
+ - [Shortcut::UpdateStoryComment](docs/UpdateStoryComment.md)
2287
+ - [Shortcut::UpdateStoryContents](docs/UpdateStoryContents.md)
2288
+ - [Shortcut::UpdateStoryLink](docs/UpdateStoryLink.md)
2289
+ - [Shortcut::UpdateTask](docs/UpdateTask.md)
2290
+ - [Shortcut::UploadedFile](docs/UploadedFile.md)
2291
+ - [Shortcut::V3FilesBody](docs/V3FilesBody.md)
2292
+ - [Shortcut::Workflow](docs/Workflow.md)
2293
+ - [Shortcut::WorkflowState](docs/WorkflowState.md)
2294
+
2295
+ ## Documentation for Authorization
2296
+
2297
+
2298
+ ### api_token
2299
+
2300
+ - **Type**: API key
2301
+ - **API key parameter name**: Shortcut-Token
2302
+ - **Location**: HTTP header
2303
+