shortcut_client_ruby 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE +21 -0
- data/README.md +2303 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/bin/update.rb +34 -0
- data/config.json +7 -0
- data/docs/BasicWorkspaceInfo.md +8 -0
- data/docs/Branch.md +17 -0
- data/docs/Category.md +15 -0
- data/docs/Commit.md +19 -0
- data/docs/CreateCategory.md +10 -0
- data/docs/CreateCategoryParams.md +9 -0
- data/docs/CreateCommentComment.md +11 -0
- data/docs/CreateEntityTemplate.md +9 -0
- data/docs/CreateEpic.md +23 -0
- data/docs/CreateEpicComment.md +11 -0
- data/docs/CreateGroup.md +14 -0
- data/docs/CreateIteration.md +13 -0
- data/docs/CreateLabelParams.md +10 -0
- data/docs/CreateLinkedFile.md +15 -0
- data/docs/CreateMilestone.md +12 -0
- data/docs/CreateOrDeleteStoryReaction.md +7 -0
- data/docs/CreateProject.md +17 -0
- data/docs/CreateStories.md +7 -0
- data/docs/CreateStoryComment.md +11 -0
- data/docs/CreateStoryCommentParams.md +11 -0
- data/docs/CreateStoryContents.md +27 -0
- data/docs/CreateStoryLink.md +9 -0
- data/docs/CreateStoryLinkParams.md +9 -0
- data/docs/CreateStoryParams.md +33 -0
- data/docs/CreateTask.md +12 -0
- data/docs/CreateTaskParams.md +12 -0
- data/docs/DefaultApi.md +5632 -0
- data/docs/DeleteStories.md +7 -0
- data/docs/EntityTemplate.md +14 -0
- data/docs/EntityTemplateTask.md +10 -0
- data/docs/Epic.md +44 -0
- data/docs/EpicSearchResults.md +10 -0
- data/docs/EpicSlim.md +43 -0
- data/docs/EpicState.md +15 -0
- data/docs/EpicStats.md +19 -0
- data/docs/EpicWorkflow.md +12 -0
- data/docs/GetEpicStories.md +7 -0
- data/docs/GetExternalLinkStoriesParams.md +7 -0
- data/docs/GetIterationStories.md +7 -0
- data/docs/GetLabelStories.md +7 -0
- data/docs/GetMember.md +7 -0
- data/docs/GetProjectStories.md +7 -0
- data/docs/Group.md +22 -0
- data/docs/History.md +15 -0
- data/docs/HistoryActionBranchCreate.md +11 -0
- data/docs/HistoryActionBranchMerge.md +11 -0
- data/docs/HistoryActionBranchPush.md +11 -0
- data/docs/HistoryActionLabelCreate.md +11 -0
- data/docs/HistoryActionLabelDelete.md +10 -0
- data/docs/HistoryActionLabelUpdate.md +9 -0
- data/docs/HistoryActionProjectUpdate.md +11 -0
- data/docs/HistoryActionPullRequest.md +12 -0
- data/docs/HistoryActionStoryCommentCreate.md +12 -0
- data/docs/HistoryActionStoryCreate.md +30 -0
- data/docs/HistoryActionStoryDelete.md +11 -0
- data/docs/HistoryActionStoryLinkCreate.md +12 -0
- data/docs/HistoryActionStoryLinkDelete.md +12 -0
- data/docs/HistoryActionStoryLinkUpdate.md +13 -0
- data/docs/HistoryActionStoryUpdate.md +13 -0
- data/docs/HistoryActionTaskCreate.md +15 -0
- data/docs/HistoryActionTaskDelete.md +10 -0
- data/docs/HistoryActionTaskUpdate.md +13 -0
- data/docs/HistoryChangesStory.md +30 -0
- data/docs/HistoryChangesStoryLink.md +9 -0
- data/docs/HistoryChangesTask.md +10 -0
- data/docs/HistoryReferenceBranch.md +10 -0
- data/docs/HistoryReferenceCommit.md +10 -0
- data/docs/HistoryReferenceEpic.md +10 -0
- data/docs/HistoryReferenceGeneral.md +9 -0
- data/docs/HistoryReferenceGroup.md +9 -0
- data/docs/HistoryReferenceIteration.md +10 -0
- data/docs/HistoryReferenceLabel.md +10 -0
- data/docs/HistoryReferenceProject.md +10 -0
- data/docs/HistoryReferenceStory.md +11 -0
- data/docs/HistoryReferenceStoryTask.md +9 -0
- data/docs/HistoryReferenceWorkflowState.md +10 -0
- data/docs/Icon.md +11 -0
- data/docs/Identity.md +9 -0
- data/docs/Iteration.md +24 -0
- data/docs/IterationSlim.md +23 -0
- data/docs/IterationStats.md +17 -0
- data/docs/Label.md +17 -0
- data/docs/LabelSlim.md +16 -0
- data/docs/LabelStats.md +21 -0
- data/docs/LinkedFile.md +22 -0
- data/docs/ListEpics.md +7 -0
- data/docs/ListGroupStories.md +8 -0
- data/docs/ListLabels.md +7 -0
- data/docs/ListMembers.md +7 -0
- data/docs/MaxSearchResultsExceededError.md +9 -0
- data/docs/Member.md +17 -0
- data/docs/MemberInfo.md +10 -0
- data/docs/Milestone.md +23 -0
- data/docs/MilestoneStats.md +9 -0
- data/docs/Profile.md +15 -0
- data/docs/Project.md +25 -0
- data/docs/ProjectStats.md +9 -0
- data/docs/PullRequest.md +28 -0
- data/docs/PullRequestLabel.md +11 -0
- data/docs/Repository.md +15 -0
- data/docs/Search.md +10 -0
- data/docs/SearchResults.md +8 -0
- data/docs/SearchStories.md +34 -0
- data/docs/Story.md +56 -0
- data/docs/StoryComment.md +20 -0
- data/docs/StoryContents.md +25 -0
- data/docs/StoryContentsTask.md +11 -0
- data/docs/StoryHistoryChangeAddsRemovesInt.md +8 -0
- data/docs/StoryHistoryChangeAddsRemovesUuid.md +8 -0
- data/docs/StoryHistoryChangeOldNewBool.md +8 -0
- data/docs/StoryHistoryChangeOldNewInt.md +8 -0
- data/docs/StoryHistoryChangeOldNewStr.md +8 -0
- data/docs/StoryHistoryChangeOldNewUuid.md +8 -0
- data/docs/StoryLink.md +14 -0
- data/docs/StoryReaction.md +8 -0
- data/docs/StorySearchResults.md +10 -0
- data/docs/StorySlim.md +54 -0
- data/docs/StoryStats.md +7 -0
- data/docs/Task.md +20 -0
- data/docs/ThreadedComment.md +19 -0
- data/docs/TypedStoryLink.md +15 -0
- data/docs/UnusableEntitlementError.md +9 -0
- data/docs/UpdateCategory.md +9 -0
- data/docs/UpdateComment.md +7 -0
- data/docs/UpdateEntityTemplate.md +8 -0
- data/docs/UpdateEpic.md +23 -0
- data/docs/UpdateFile.md +12 -0
- data/docs/UpdateGroup.md +15 -0
- data/docs/UpdateIteration.md +13 -0
- data/docs/UpdateLabel.md +10 -0
- data/docs/UpdateLinkedFile.md +14 -0
- data/docs/UpdateMilestone.md +14 -0
- data/docs/UpdateProject.md +15 -0
- data/docs/UpdateStories.md +27 -0
- data/docs/UpdateStory.md +32 -0
- data/docs/UpdateStoryComment.md +7 -0
- data/docs/UpdateStoryContents.md +27 -0
- data/docs/UpdateStoryLink.md +9 -0
- data/docs/UpdateTask.md +11 -0
- data/docs/UploadedFile.md +23 -0
- data/docs/V3FilesBody.md +11 -0
- data/docs/Workflow.md +17 -0
- data/docs/WorkflowState.md +18 -0
- data/git_push.sh +55 -0
- data/lib/shortcut/client/ruby/version.rb +9 -0
- data/lib/shortcut/client/ruby.rb +12 -0
- data/lib/shortcut_client_ruby/api/default_api.rb +6091 -0
- data/lib/shortcut_client_ruby/api_client.rb +388 -0
- data/lib/shortcut_client_ruby/api_error.rb +57 -0
- data/lib/shortcut_client_ruby/configuration.rb +205 -0
- data/lib/shortcut_client_ruby/models/basic_workspace_info.rb +227 -0
- data/lib/shortcut_client_ruby/models/branch.rb +371 -0
- data/lib/shortcut_client_ruby/models/category.rb +335 -0
- data/lib/shortcut_client_ruby/models/commit.rb +398 -0
- data/lib/shortcut_client_ruby/models/create_category.rb +281 -0
- data/lib/shortcut_client_ruby/models/create_category_params.rb +233 -0
- data/lib/shortcut_client_ruby/models/create_comment_comment.rb +252 -0
- data/lib/shortcut_client_ruby/models/create_entity_template.rb +237 -0
- data/lib/shortcut_client_ruby/models/create_epic.rb +416 -0
- data/lib/shortcut_client_ruby/models/create_epic_comment.rb +252 -0
- data/lib/shortcut_client_ruby/models/create_group.rb +325 -0
- data/lib/shortcut_client_ruby/models/create_iteration.rb +288 -0
- data/lib/shortcut_client_ruby/models/create_label_params.rb +243 -0
- data/lib/shortcut_client_ruby/models/create_linked_file.rb +336 -0
- data/lib/shortcut_client_ruby/models/create_milestone.rb +298 -0
- data/lib/shortcut_client_ruby/models/create_or_delete_story_reaction.rb +212 -0
- data/lib/shortcut_client_ruby/models/create_project.rb +319 -0
- data/lib/shortcut_client_ruby/models/create_stories.rb +214 -0
- data/lib/shortcut_client_ruby/models/create_story_comment.rb +252 -0
- data/lib/shortcut_client_ruby/models/create_story_comment_params.rb +253 -0
- data/lib/shortcut_client_ruby/models/create_story_contents.rb +433 -0
- data/lib/shortcut_client_ruby/models/create_story_link.rb +276 -0
- data/lib/shortcut_client_ruby/models/create_story_link_params.rb +267 -0
- data/lib/shortcut_client_ruby/models/create_story_params.rb +532 -0
- data/lib/shortcut_client_ruby/models/create_task.rb +264 -0
- data/lib/shortcut_client_ruby/models/create_task_params.rb +265 -0
- data/lib/shortcut_client_ruby/models/delete_stories.rb +214 -0
- data/lib/shortcut_client_ruby/models/entity_template.rb +317 -0
- data/lib/shortcut_client_ruby/models/entity_template_task.rb +245 -0
- data/lib/shortcut_client_ruby/models/epic.rb +799 -0
- data/lib/shortcut_client_ruby/models/epic_search_results.rb +257 -0
- data/lib/shortcut_client_ruby/models/epic_slim.rb +777 -0
- data/lib/shortcut_client_ruby/models/epic_state.rb +328 -0
- data/lib/shortcut_client_ruby/models/epic_stats.rb +384 -0
- data/lib/shortcut_client_ruby/models/epic_workflow.rb +290 -0
- data/lib/shortcut_client_ruby/models/get_epic_stories.rb +207 -0
- data/lib/shortcut_client_ruby/models/get_external_link_stories_params.rb +212 -0
- data/lib/shortcut_client_ruby/models/get_iteration_stories.rb +207 -0
- data/lib/shortcut_client_ruby/models/get_label_stories.rb +207 -0
- data/lib/shortcut_client_ruby/models/get_member.rb +207 -0
- data/lib/shortcut_client_ruby/models/get_project_stories.rb +207 -0
- data/lib/shortcut_client_ruby/models/group.rb +479 -0
- data/lib/shortcut_client_ruby/models/history.rb +347 -0
- data/lib/shortcut_client_ruby/models/history_action_branch_create.rb +307 -0
- data/lib/shortcut_client_ruby/models/history_action_branch_merge.rb +307 -0
- data/lib/shortcut_client_ruby/models/history_action_branch_push.rb +307 -0
- data/lib/shortcut_client_ruby/models/history_action_label_create.rb +307 -0
- data/lib/shortcut_client_ruby/models/history_action_label_delete.rb +292 -0
- data/lib/shortcut_client_ruby/models/history_action_label_update.rb +277 -0
- data/lib/shortcut_client_ruby/models/history_action_project_update.rb +307 -0
- data/lib/shortcut_client_ruby/models/history_action_pull_request.rb +322 -0
- data/lib/shortcut_client_ruby/models/history_action_story_comment_create.rb +322 -0
- data/lib/shortcut_client_ruby/models/history_action_story_create.rb +527 -0
- data/lib/shortcut_client_ruby/models/history_action_story_delete.rb +319 -0
- data/lib/shortcut_client_ruby/models/history_action_story_link_create.rb +334 -0
- data/lib/shortcut_client_ruby/models/history_action_story_link_delete.rb +336 -0
- data/lib/shortcut_client_ruby/models/history_action_story_link_update.rb +348 -0
- data/lib/shortcut_client_ruby/models/history_action_story_update.rb +343 -0
- data/lib/shortcut_client_ruby/models/history_action_task_create.rb +353 -0
- data/lib/shortcut_client_ruby/models/history_action_task_delete.rb +292 -0
- data/lib/shortcut_client_ruby/models/history_action_task_update.rb +331 -0
- data/lib/shortcut_client_ruby/models/history_changes_story.rb +414 -0
- data/lib/shortcut_client_ruby/models/history_changes_story_link.rb +225 -0
- data/lib/shortcut_client_ruby/models/history_changes_task.rb +234 -0
- data/lib/shortcut_client_ruby/models/history_reference_branch.rb +258 -0
- data/lib/shortcut_client_ruby/models/history_reference_commit.rb +258 -0
- data/lib/shortcut_client_ruby/models/history_reference_epic.rb +258 -0
- data/lib/shortcut_client_ruby/models/history_reference_general.rb +243 -0
- data/lib/shortcut_client_ruby/models/history_reference_group.rb +243 -0
- data/lib/shortcut_client_ruby/models/history_reference_iteration.rb +258 -0
- data/lib/shortcut_client_ruby/models/history_reference_label.rb +258 -0
- data/lib/shortcut_client_ruby/models/history_reference_project.rb +258 -0
- data/lib/shortcut_client_ruby/models/history_reference_story.rb +307 -0
- data/lib/shortcut_client_ruby/models/history_reference_story_task.rb +243 -0
- data/lib/shortcut_client_ruby/models/history_reference_workflow_state.rb +292 -0
- data/lib/shortcut_client_ruby/models/icon.rb +273 -0
- data/lib/shortcut_client_ruby/models/identity.rb +245 -0
- data/lib/shortcut_client_ruby/models/iteration.rb +481 -0
- data/lib/shortcut_client_ruby/models/iteration_slim.rb +466 -0
- data/lib/shortcut_client_ruby/models/iteration_stats.rb +353 -0
- data/lib/shortcut_client_ruby/models/label.rb +362 -0
- data/lib/shortcut_client_ruby/models/label_slim.rb +353 -0
- data/lib/shortcut_client_ruby/models/label_stats.rb +423 -0
- data/lib/shortcut_client_ruby/models/linked_file.rb +450 -0
- data/lib/shortcut_client_ruby/models/list_epics.rb +207 -0
- data/lib/shortcut_client_ruby/models/list_group_stories.rb +217 -0
- data/lib/shortcut_client_ruby/models/list_labels.rb +207 -0
- data/lib/shortcut_client_ruby/models/list_members.rb +207 -0
- data/lib/shortcut_client_ruby/models/max_search_results_exceeded_error.rb +289 -0
- data/lib/shortcut_client_ruby/models/member.rb +395 -0
- data/lib/shortcut_client_ruby/models/member_info.rb +253 -0
- data/lib/shortcut_client_ruby/models/milestone.rb +453 -0
- data/lib/shortcut_client_ruby/models/milestone_stats.rb +233 -0
- data/lib/shortcut_client_ruby/models/profile.rb +330 -0
- data/lib/shortcut_client_ruby/models/project.rb +490 -0
- data/lib/shortcut_client_ruby/models/project_stats.rb +243 -0
- data/lib/shortcut_client_ruby/models/pull_request.rb +518 -0
- data/lib/shortcut_client_ruby/models/pull_request_label.rb +269 -0
- data/lib/shortcut_client_ruby/models/repository.rb +340 -0
- data/lib/shortcut_client_ruby/models/search.rb +275 -0
- data/lib/shortcut_client_ruby/models/search_results.rb +226 -0
- data/lib/shortcut_client_ruby/models/search_stories.rb +529 -0
- data/lib/shortcut_client_ruby/models/story.rb +985 -0
- data/lib/shortcut_client_ruby/models/story_comment.rb +419 -0
- data/lib/shortcut_client_ruby/models/story_contents.rb +404 -0
- data/lib/shortcut_client_ruby/models/story_contents_task.rb +255 -0
- data/lib/shortcut_client_ruby/models/story_history_change_adds_removes_int.rb +222 -0
- data/lib/shortcut_client_ruby/models/story_history_change_adds_removes_uuid.rb +222 -0
- data/lib/shortcut_client_ruby/models/story_history_change_old_new_bool.rb +218 -0
- data/lib/shortcut_client_ruby/models/story_history_change_old_new_int.rb +218 -0
- data/lib/shortcut_client_ruby/models/story_history_change_old_new_str.rb +218 -0
- data/lib/shortcut_client_ruby/models/story_history_change_old_new_uuid.rb +218 -0
- data/lib/shortcut_client_ruby/models/story_link.rb +318 -0
- data/lib/shortcut_client_ruby/models/story_reaction.rb +230 -0
- data/lib/shortcut_client_ruby/models/story_search_results.rb +257 -0
- data/lib/shortcut_client_ruby/models/story_slim.rb +944 -0
- data/lib/shortcut_client_ruby/models/story_stats.rb +213 -0
- data/lib/shortcut_client_ruby/models/task.rb +418 -0
- data/lib/shortcut_client_ruby/models/threaded_comment.rb +402 -0
- data/lib/shortcut_client_ruby/models/typed_story_link.rb +333 -0
- data/lib/shortcut_client_ruby/models/unusable_entitlement_error.rb +276 -0
- data/lib/shortcut_client_ruby/models/update_category.rb +228 -0
- data/lib/shortcut_client_ruby/models/update_comment.rb +212 -0
- data/lib/shortcut_client_ruby/models/update_entity_template.rb +217 -0
- data/lib/shortcut_client_ruby/models/update_epic.rb +413 -0
- data/lib/shortcut_client_ruby/models/update_file.rb +257 -0
- data/lib/shortcut_client_ruby/models/update_group.rb +328 -0
- data/lib/shortcut_client_ruby/models/update_iteration.rb +273 -0
- data/lib/shortcut_client_ruby/models/update_label.rb +238 -0
- data/lib/shortcut_client_ruby/models/update_linked_file.rb +311 -0
- data/lib/shortcut_client_ruby/models/update_milestone.rb +315 -0
- data/lib/shortcut_client_ruby/models/update_project.rb +289 -0
- data/lib/shortcut_client_ruby/models/update_stories.rb +480 -0
- data/lib/shortcut_client_ruby/models/update_story.rb +529 -0
- data/lib/shortcut_client_ruby/models/update_story_comment.rb +212 -0
- data/lib/shortcut_client_ruby/models/update_story_contents.rb +434 -0
- data/lib/shortcut_client_ruby/models/update_story_link.rb +261 -0
- data/lib/shortcut_client_ruby/models/update_task.rb +249 -0
- data/lib/shortcut_client_ruby/models/uploaded_file.rb +466 -0
- data/lib/shortcut_client_ruby/models/v3_files_body.rb +252 -0
- data/lib/shortcut_client_ruby/models/workflow.rb +367 -0
- data/lib/shortcut_client_ruby/models/workflow_state.rb +374 -0
- data/lib/shortcut_client_ruby/version.rb +14 -0
- data/lib/shortcut_client_ruby.rb +181 -0
- data/shortcut-client-ruby.gemspec +36 -0
- data/shortcut_client_ruby.gemspec +38 -0
- data/spec/api/default_api_spec.rb +1310 -0
- data/spec/api_client_spec.rb +225 -0
- data/spec/base_object_spec.rb +109 -0
- data/spec/configuration_spec.rb +41 -0
- data/spec/models/basic_workspace_info_spec.rb +46 -0
- data/spec/models/branch_spec.rb +100 -0
- data/spec/models/category_spec.rb +88 -0
- data/spec/models/commit_spec.rb +112 -0
- data/spec/models/create_category_params_spec.rb +52 -0
- data/spec/models/create_category_spec.rb +62 -0
- data/spec/models/create_comment_comment_spec.rb +64 -0
- data/spec/models/create_entity_template_spec.rb +52 -0
- data/spec/models/create_epic_comment_spec.rb +64 -0
- data/spec/models/create_epic_spec.rb +140 -0
- data/spec/models/create_group_spec.rb +86 -0
- data/spec/models/create_iteration_spec.rb +76 -0
- data/spec/models/create_label_params_spec.rb +58 -0
- data/spec/models/create_linked_file_spec.rb +92 -0
- data/spec/models/create_milestone_spec.rb +74 -0
- data/spec/models/create_or_delete_story_reaction_spec.rb +40 -0
- data/spec/models/create_project_spec.rb +100 -0
- data/spec/models/create_stories_spec.rb +40 -0
- data/spec/models/create_story_comment_params_spec.rb +64 -0
- data/spec/models/create_story_comment_spec.rb +64 -0
- data/spec/models/create_story_contents_spec.rb +160 -0
- data/spec/models/create_story_link_params_spec.rb +56 -0
- data/spec/models/create_story_link_spec.rb +56 -0
- data/spec/models/create_story_params_spec.rb +200 -0
- data/spec/models/create_task_params_spec.rb +70 -0
- data/spec/models/create_task_spec.rb +70 -0
- data/spec/models/delete_stories_spec.rb +40 -0
- data/spec/models/entity_template_spec.rb +82 -0
- data/spec/models/entity_template_task_spec.rb +58 -0
- data/spec/models/epic_search_results_spec.rb +58 -0
- data/spec/models/epic_slim_spec.rb +256 -0
- data/spec/models/epic_spec.rb +262 -0
- data/spec/models/epic_state_spec.rb +88 -0
- data/spec/models/epic_stats_spec.rb +112 -0
- data/spec/models/epic_workflow_spec.rb +70 -0
- data/spec/models/get_epic_stories_spec.rb +40 -0
- data/spec/models/get_external_link_stories_params_spec.rb +40 -0
- data/spec/models/get_iteration_stories_spec.rb +40 -0
- data/spec/models/get_label_stories_spec.rb +40 -0
- data/spec/models/get_member_spec.rb +40 -0
- data/spec/models/get_project_stories_spec.rb +40 -0
- data/spec/models/group_spec.rb +134 -0
- data/spec/models/history_action_branch_create_spec.rb +68 -0
- data/spec/models/history_action_branch_merge_spec.rb +68 -0
- data/spec/models/history_action_branch_push_spec.rb +68 -0
- data/spec/models/history_action_label_create_spec.rb +68 -0
- data/spec/models/history_action_label_delete_spec.rb +62 -0
- data/spec/models/history_action_label_update_spec.rb +56 -0
- data/spec/models/history_action_project_update_spec.rb +68 -0
- data/spec/models/history_action_pull_request_spec.rb +74 -0
- data/spec/models/history_action_story_comment_create_spec.rb +74 -0
- data/spec/models/history_action_story_create_spec.rb +186 -0
- data/spec/models/history_action_story_delete_spec.rb +72 -0
- data/spec/models/history_action_story_link_create_spec.rb +78 -0
- data/spec/models/history_action_story_link_delete_spec.rb +78 -0
- data/spec/models/history_action_story_link_update_spec.rb +84 -0
- data/spec/models/history_action_story_update_spec.rb +84 -0
- data/spec/models/history_action_task_create_spec.rb +92 -0
- data/spec/models/history_action_task_delete_spec.rb +62 -0
- data/spec/models/history_action_task_update_spec.rb +80 -0
- data/spec/models/history_changes_story_link_spec.rb +52 -0
- data/spec/models/history_changes_story_spec.rb +178 -0
- data/spec/models/history_changes_task_spec.rb +58 -0
- data/spec/models/history_reference_branch_spec.rb +58 -0
- data/spec/models/history_reference_commit_spec.rb +58 -0
- data/spec/models/history_reference_epic_spec.rb +58 -0
- data/spec/models/history_reference_general_spec.rb +52 -0
- data/spec/models/history_reference_group_spec.rb +52 -0
- data/spec/models/history_reference_iteration_spec.rb +58 -0
- data/spec/models/history_reference_label_spec.rb +58 -0
- data/spec/models/history_reference_project_spec.rb +58 -0
- data/spec/models/history_reference_story_spec.rb +68 -0
- data/spec/models/history_reference_story_task_spec.rb +52 -0
- data/spec/models/history_reference_workflow_state_spec.rb +62 -0
- data/spec/models/history_spec.rb +92 -0
- data/spec/models/icon_spec.rb +64 -0
- data/spec/models/identity_spec.rb +52 -0
- data/spec/models/iteration_slim_spec.rb +136 -0
- data/spec/models/iteration_spec.rb +142 -0
- data/spec/models/iteration_stats_spec.rb +100 -0
- data/spec/models/label_slim_spec.rb +94 -0
- data/spec/models/label_spec.rb +100 -0
- data/spec/models/label_stats_spec.rb +124 -0
- data/spec/models/linked_file_spec.rb +130 -0
- data/spec/models/list_epics_spec.rb +40 -0
- data/spec/models/list_group_stories_spec.rb +46 -0
- data/spec/models/list_labels_spec.rb +40 -0
- data/spec/models/list_members_spec.rb +40 -0
- data/spec/models/max_search_results_exceeded_error_spec.rb +60 -0
- data/spec/models/member_info_spec.rb +58 -0
- data/spec/models/member_spec.rb +104 -0
- data/spec/models/milestone_spec.rb +136 -0
- data/spec/models/milestone_stats_spec.rb +52 -0
- data/spec/models/profile_spec.rb +88 -0
- data/spec/models/project_spec.rb +148 -0
- data/spec/models/project_stats_spec.rb +52 -0
- data/spec/models/pull_request_label_spec.rb +64 -0
- data/spec/models/pull_request_spec.rb +166 -0
- data/spec/models/repository_spec.rb +88 -0
- data/spec/models/search_results_spec.rb +46 -0
- data/spec/models/search_spec.rb +62 -0
- data/spec/models/search_stories_spec.rb +210 -0
- data/spec/models/story_comment_spec.rb +118 -0
- data/spec/models/story_contents_spec.rb +148 -0
- data/spec/models/story_contents_task_spec.rb +64 -0
- data/spec/models/story_history_change_adds_removes_int_spec.rb +46 -0
- data/spec/models/story_history_change_adds_removes_uuid_spec.rb +46 -0
- data/spec/models/story_history_change_old_new_bool_spec.rb +46 -0
- data/spec/models/story_history_change_old_new_int_spec.rb +46 -0
- data/spec/models/story_history_change_old_new_str_spec.rb +46 -0
- data/spec/models/story_history_change_old_new_uuid_spec.rb +46 -0
- data/spec/models/story_link_spec.rb +82 -0
- data/spec/models/story_reaction_spec.rb +46 -0
- data/spec/models/story_search_results_spec.rb +58 -0
- data/spec/models/story_slim_spec.rb +322 -0
- data/spec/models/story_spec.rb +334 -0
- data/spec/models/story_stats_spec.rb +40 -0
- data/spec/models/task_spec.rb +118 -0
- data/spec/models/threaded_comment_spec.rb +112 -0
- data/spec/models/typed_story_link_spec.rb +88 -0
- data/spec/models/unusable_entitlement_error_spec.rb +56 -0
- data/spec/models/update_category_spec.rb +52 -0
- data/spec/models/update_comment_spec.rb +40 -0
- data/spec/models/update_entity_template_spec.rb +46 -0
- data/spec/models/update_epic_spec.rb +140 -0
- data/spec/models/update_file_spec.rb +70 -0
- data/spec/models/update_group_spec.rb +92 -0
- data/spec/models/update_iteration_spec.rb +76 -0
- data/spec/models/update_label_spec.rb +58 -0
- data/spec/models/update_linked_file_spec.rb +86 -0
- data/spec/models/update_milestone_spec.rb +86 -0
- data/spec/models/update_project_spec.rb +88 -0
- data/spec/models/update_stories_spec.rb +168 -0
- data/spec/models/update_story_comment_spec.rb +40 -0
- data/spec/models/update_story_contents_spec.rb +160 -0
- data/spec/models/update_story_link_spec.rb +56 -0
- data/spec/models/update_story_spec.rb +198 -0
- data/spec/models/update_task_spec.rb +64 -0
- data/spec/models/uploaded_file_spec.rb +136 -0
- data/spec/models/v3_files_body_spec.rb +64 -0
- data/spec/models/workflow_spec.rb +100 -0
- data/spec/models/workflow_state_spec.rb +106 -0
- data/spec/spec_helper.rb +110 -0
- metadata +701 -0
@@ -0,0 +1,1310 @@
|
|
1
|
+
=begin
|
2
|
+
#Shortcut API
|
3
|
+
|
4
|
+
#Shortcut API
|
5
|
+
|
6
|
+
OpenAPI spec version: 3.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 3.0.35
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'spec_helper'
|
13
|
+
require 'json'
|
14
|
+
|
15
|
+
# Unit tests for Shortcut::DefaultApi
|
16
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
17
|
+
# Please update as you see appropriate
|
18
|
+
describe 'DefaultApi' do
|
19
|
+
before do
|
20
|
+
# run before each test
|
21
|
+
@instance = Shortcut::DefaultApi.new
|
22
|
+
end
|
23
|
+
|
24
|
+
after do
|
25
|
+
# run after each test
|
26
|
+
end
|
27
|
+
|
28
|
+
describe 'test an instance of DefaultApi' do
|
29
|
+
it 'should create an instance of DefaultApi' do
|
30
|
+
expect(@instance).to be_instance_of(Shortcut::DefaultApi)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
# unit tests for create_category
|
35
|
+
# Create Category
|
36
|
+
# Create Category allows you to create a new Category in Shortcut.
|
37
|
+
# @param body
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [Category]
|
40
|
+
describe 'create_category test' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# unit tests for create_entity_template
|
47
|
+
# Create Entity Template
|
48
|
+
# Create a new entity template for your organization.
|
49
|
+
# @param body Request paramaters for creating an entirely new entity template.
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @return [EntityTemplate]
|
52
|
+
describe 'create_entity_template test' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
# unit tests for create_epic
|
59
|
+
# Create Epic
|
60
|
+
# Create Epic allows you to create a new Epic in Shortcut.
|
61
|
+
# @param body
|
62
|
+
# @param [Hash] opts the optional parameters
|
63
|
+
# @return [Epic]
|
64
|
+
describe 'create_epic test' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# unit tests for create_epic_comment
|
71
|
+
# Create Epic Comment
|
72
|
+
# This endpoint allows you to create a threaded Comment on an Epic.
|
73
|
+
# @param body
|
74
|
+
# @param epic_public_id The ID of the associated Epic.
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [ThreadedComment]
|
77
|
+
describe 'create_epic_comment test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for create_epic_comment_comment
|
84
|
+
# Create Epic Comment Comment
|
85
|
+
# This endpoint allows you to create a nested Comment reply to an existing Epic Comment.
|
86
|
+
# @param body
|
87
|
+
# @param epic_public_id The ID of the associated Epic.
|
88
|
+
# @param comment_public_id The ID of the parent Epic Comment.
|
89
|
+
# @param [Hash] opts the optional parameters
|
90
|
+
# @return [ThreadedComment]
|
91
|
+
describe 'create_epic_comment_comment test' do
|
92
|
+
it 'should work' do
|
93
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# unit tests for create_group
|
98
|
+
# Create Group
|
99
|
+
# @param body
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @return [Group]
|
102
|
+
describe 'create_group test' do
|
103
|
+
it 'should work' do
|
104
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# unit tests for create_iteration
|
109
|
+
# Create Iteration
|
110
|
+
# @param body
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [Iteration]
|
113
|
+
describe 'create_iteration test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# unit tests for create_label
|
120
|
+
# Create Label
|
121
|
+
# Create Label allows you to create a new Label in Shortcut.
|
122
|
+
# @param body Request parameters for creating a Label on a Shortcut Story.
|
123
|
+
# @param [Hash] opts the optional parameters
|
124
|
+
# @return [Label]
|
125
|
+
describe 'create_label test' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
# unit tests for create_linked_file
|
132
|
+
# Create Linked File
|
133
|
+
# Create Linked File allows you to create a new Linked File in Shortcut.
|
134
|
+
# @param body
|
135
|
+
# @param [Hash] opts the optional parameters
|
136
|
+
# @return [LinkedFile]
|
137
|
+
describe 'create_linked_file test' do
|
138
|
+
it 'should work' do
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# unit tests for create_milestone
|
144
|
+
# Create Milestone
|
145
|
+
# Create Milestone allows you to create a new Milestone in Shortcut.
|
146
|
+
# @param body
|
147
|
+
# @param [Hash] opts the optional parameters
|
148
|
+
# @return [Milestone]
|
149
|
+
describe 'create_milestone test' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
# unit tests for create_multiple_stories
|
156
|
+
# Create Multiple Stories
|
157
|
+
# Create Multiple Stories allows you to create multiple stories in a single request using the same syntax as [Create Story](https://shortcut.com/api/#create-story).
|
158
|
+
# @param body
|
159
|
+
# @param [Hash] opts the optional parameters
|
160
|
+
# @return [Array<StorySlim>]
|
161
|
+
describe 'create_multiple_stories test' do
|
162
|
+
it 'should work' do
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# unit tests for create_project
|
168
|
+
# Create Project
|
169
|
+
# Create Project is used to create a new Shortcut Project.
|
170
|
+
# @param body
|
171
|
+
# @param [Hash] opts the optional parameters
|
172
|
+
# @return [Project]
|
173
|
+
describe 'create_project test' do
|
174
|
+
it 'should work' do
|
175
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
# unit tests for create_story
|
180
|
+
# Create Story
|
181
|
+
# Create Story is used to add a new story to your Shortcut.
|
182
|
+
# @param body Request parameters for creating a story.
|
183
|
+
# @param [Hash] opts the optional parameters
|
184
|
+
# @return [Story]
|
185
|
+
describe 'create_story test' do
|
186
|
+
it 'should work' do
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
# unit tests for create_story_comment
|
192
|
+
# Create Story Comment
|
193
|
+
# Create Comment allows you to create a Comment on any Story.
|
194
|
+
# @param body
|
195
|
+
# @param story_public_id The ID of the Story that the Comment is in.
|
196
|
+
# @param [Hash] opts the optional parameters
|
197
|
+
# @return [StoryComment]
|
198
|
+
describe 'create_story_comment test' do
|
199
|
+
it 'should work' do
|
200
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
# unit tests for create_story_link
|
205
|
+
# Create Story Link
|
206
|
+
# Story Links (called Story Relationships in the UI) allow you create semantic relationships between two stories. The parameters read like an active voice grammatical sentence: subject -> verb -> object. The subject story acts on the object Story; the object story is the direct object of the sentence. The subject story \"blocks\", \"duplicates\", or \"relates to\" the object story. Examples: - \"story 5 blocks story 6” -- story 6 is now \"blocked\" until story 5 is moved to a Done workflow state. - \"story 2 duplicates story 1” -- Story 2 represents the same body of work as Story 1 (and should probably be archived). - \"story 7 relates to story 3”
|
207
|
+
# @param body
|
208
|
+
# @param [Hash] opts the optional parameters
|
209
|
+
# @return [StoryLink]
|
210
|
+
describe 'create_story_link test' do
|
211
|
+
it 'should work' do
|
212
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
# unit tests for create_story_reaction
|
217
|
+
# Create Story Reaction
|
218
|
+
# Create a reaction to a story comment.
|
219
|
+
# @param body
|
220
|
+
# @param story_public_id The ID of the Story that the Comment is in.
|
221
|
+
# @param comment_public_id The ID of the Comment.
|
222
|
+
# @param [Hash] opts the optional parameters
|
223
|
+
# @return [Array<StoryReaction>]
|
224
|
+
describe 'create_story_reaction test' do
|
225
|
+
it 'should work' do
|
226
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
# unit tests for create_task
|
231
|
+
# Create Task
|
232
|
+
# Create Task is used to create a new task in a Story.
|
233
|
+
# @param body
|
234
|
+
# @param story_public_id The ID of the Story that the Task will be in.
|
235
|
+
# @param [Hash] opts the optional parameters
|
236
|
+
# @return [Task]
|
237
|
+
describe 'create_task test' do
|
238
|
+
it 'should work' do
|
239
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# unit tests for delete_category
|
244
|
+
# Delete Category
|
245
|
+
# Delete Category can be used to delete any Category.
|
246
|
+
# @param category_public_id The unique ID of the Category.
|
247
|
+
# @param [Hash] opts the optional parameters
|
248
|
+
# @return [nil]
|
249
|
+
describe 'delete_category test' do
|
250
|
+
it 'should work' do
|
251
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
# unit tests for delete_entity_template
|
256
|
+
# Delete Entity Template
|
257
|
+
# @param entity_template_public_id The unique ID of the entity template.
|
258
|
+
# @param [Hash] opts the optional parameters
|
259
|
+
# @return [nil]
|
260
|
+
describe 'delete_entity_template test' do
|
261
|
+
it 'should work' do
|
262
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
# unit tests for delete_epic
|
267
|
+
# Delete Epic
|
268
|
+
# Delete Epic can be used to delete the Epic. The only required parameter is Epic ID.
|
269
|
+
# @param epic_public_id The unique ID of the Epic.
|
270
|
+
# @param [Hash] opts the optional parameters
|
271
|
+
# @return [nil]
|
272
|
+
describe 'delete_epic test' do
|
273
|
+
it 'should work' do
|
274
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
# unit tests for delete_epic_comment
|
279
|
+
# Delete Epic Comment
|
280
|
+
# This endpoint allows you to delete a Comment from an Epic.
|
281
|
+
# @param epic_public_id The ID of the associated Epic.
|
282
|
+
# @param comment_public_id The ID of the Comment.
|
283
|
+
# @param [Hash] opts the optional parameters
|
284
|
+
# @return [nil]
|
285
|
+
describe 'delete_epic_comment test' do
|
286
|
+
it 'should work' do
|
287
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
# unit tests for delete_file
|
292
|
+
# Delete File
|
293
|
+
# Delete File deletes a previously uploaded file.
|
294
|
+
# @param file_public_id The File’s unique ID.
|
295
|
+
# @param [Hash] opts the optional parameters
|
296
|
+
# @return [nil]
|
297
|
+
describe 'delete_file test' do
|
298
|
+
it 'should work' do
|
299
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
# unit tests for delete_iteration
|
304
|
+
# Delete Iteration
|
305
|
+
# @param iteration_public_id The unique ID of the Iteration.
|
306
|
+
# @param [Hash] opts the optional parameters
|
307
|
+
# @return [nil]
|
308
|
+
describe 'delete_iteration test' do
|
309
|
+
it 'should work' do
|
310
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
# unit tests for delete_label
|
315
|
+
# Delete Label
|
316
|
+
# Delete Label can be used to delete any Label.
|
317
|
+
# @param label_public_id The unique ID of the Label.
|
318
|
+
# @param [Hash] opts the optional parameters
|
319
|
+
# @return [nil]
|
320
|
+
describe 'delete_label test' do
|
321
|
+
it 'should work' do
|
322
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
# unit tests for delete_linked_file
|
327
|
+
# Delete Linked File
|
328
|
+
# Delete Linked File can be used to delete any previously attached Linked-File.
|
329
|
+
# @param linked_file_public_id The unique identifier of the linked file.
|
330
|
+
# @param [Hash] opts the optional parameters
|
331
|
+
# @return [nil]
|
332
|
+
describe 'delete_linked_file test' do
|
333
|
+
it 'should work' do
|
334
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
338
|
+
# unit tests for delete_milestone
|
339
|
+
# Delete Milestone
|
340
|
+
# Delete Milestone can be used to delete any Milestone.
|
341
|
+
# @param milestone_public_id The ID of the Milestone.
|
342
|
+
# @param [Hash] opts the optional parameters
|
343
|
+
# @return [nil]
|
344
|
+
describe 'delete_milestone test' do
|
345
|
+
it 'should work' do
|
346
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
# unit tests for delete_multiple_stories
|
351
|
+
# Delete Multiple Stories
|
352
|
+
# Delete Multiple Stories allows you to delete multiple archived stories at once.
|
353
|
+
# @param body
|
354
|
+
# @param [Hash] opts the optional parameters
|
355
|
+
# @return [nil]
|
356
|
+
describe 'delete_multiple_stories test' do
|
357
|
+
it 'should work' do
|
358
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
362
|
+
# unit tests for delete_project
|
363
|
+
# Delete Project
|
364
|
+
# Delete Project can be used to delete a Project. Projects can only be deleted if all associated Stories are moved or deleted. In the case that the Project cannot be deleted, you will receive a 422 response.
|
365
|
+
# @param project_public_id The unique ID of the Project.
|
366
|
+
# @param [Hash] opts the optional parameters
|
367
|
+
# @return [nil]
|
368
|
+
describe 'delete_project test' do
|
369
|
+
it 'should work' do
|
370
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
# unit tests for delete_story
|
375
|
+
# Delete Story
|
376
|
+
# Delete Story can be used to delete any Story.
|
377
|
+
# @param story_public_id The ID of the Story.
|
378
|
+
# @param [Hash] opts the optional parameters
|
379
|
+
# @return [nil]
|
380
|
+
describe 'delete_story test' do
|
381
|
+
it 'should work' do
|
382
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
# unit tests for delete_story_comment
|
387
|
+
# Delete Story Comment
|
388
|
+
# Delete a Comment from any story.
|
389
|
+
# @param story_public_id The ID of the Story that the Comment is in.
|
390
|
+
# @param comment_public_id The ID of the Comment.
|
391
|
+
# @param [Hash] opts the optional parameters
|
392
|
+
# @return [nil]
|
393
|
+
describe 'delete_story_comment test' do
|
394
|
+
it 'should work' do
|
395
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
# unit tests for delete_story_link
|
400
|
+
# Delete Story Link
|
401
|
+
# Removes the relationship between the stories for the given Story Link.
|
402
|
+
# @param story_link_public_id The unique ID of the Story Link.
|
403
|
+
# @param [Hash] opts the optional parameters
|
404
|
+
# @return [nil]
|
405
|
+
describe 'delete_story_link test' do
|
406
|
+
it 'should work' do
|
407
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
# unit tests for delete_story_reaction
|
412
|
+
# Delete Story Reaction
|
413
|
+
# Delete a reaction from any story comment.
|
414
|
+
# @param body
|
415
|
+
# @param story_public_id The ID of the Story that the Comment is in.
|
416
|
+
# @param comment_public_id The ID of the Comment.
|
417
|
+
# @param [Hash] opts the optional parameters
|
418
|
+
# @return [nil]
|
419
|
+
describe 'delete_story_reaction test' do
|
420
|
+
it 'should work' do
|
421
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
# unit tests for delete_task
|
426
|
+
# Delete Task
|
427
|
+
# Delete Task can be used to delete any previously created Task on a Story.
|
428
|
+
# @param story_public_id The unique ID of the Story this Task is associated with.
|
429
|
+
# @param task_public_id The unique ID of the Task.
|
430
|
+
# @param [Hash] opts the optional parameters
|
431
|
+
# @return [nil]
|
432
|
+
describe 'delete_task test' do
|
433
|
+
it 'should work' do
|
434
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
438
|
+
# unit tests for disable_groups
|
439
|
+
# Disable Groups
|
440
|
+
# Disables Groups for the current workspace2
|
441
|
+
# @param [Hash] opts the optional parameters
|
442
|
+
# @return [nil]
|
443
|
+
describe 'disable_groups test' do
|
444
|
+
it 'should work' do
|
445
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
# unit tests for disable_iterations
|
450
|
+
# Disable Iterations
|
451
|
+
# Disables Iterations for the current workspace
|
452
|
+
# @param [Hash] opts the optional parameters
|
453
|
+
# @return [nil]
|
454
|
+
describe 'disable_iterations test' do
|
455
|
+
it 'should work' do
|
456
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
# unit tests for disable_story_templates
|
461
|
+
# Disable Story Templates
|
462
|
+
# Disables the Story Template feature for the given Organization.
|
463
|
+
# @param [Hash] opts the optional parameters
|
464
|
+
# @return [nil]
|
465
|
+
describe 'disable_story_templates test' do
|
466
|
+
it 'should work' do
|
467
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
# unit tests for enable_groups
|
472
|
+
# Enable Groups
|
473
|
+
# Enables Groups for the current workspace2
|
474
|
+
# @param [Hash] opts the optional parameters
|
475
|
+
# @return [nil]
|
476
|
+
describe 'enable_groups test' do
|
477
|
+
it 'should work' do
|
478
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
# unit tests for enable_iterations
|
483
|
+
# Enable Iterations
|
484
|
+
# Enables Iterations for the current workspace
|
485
|
+
# @param [Hash] opts the optional parameters
|
486
|
+
# @return [nil]
|
487
|
+
describe 'enable_iterations test' do
|
488
|
+
it 'should work' do
|
489
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
# unit tests for enable_story_templates
|
494
|
+
# Enable Story Templates
|
495
|
+
# Enables the Story Template feature for the given Organization.
|
496
|
+
# @param [Hash] opts the optional parameters
|
497
|
+
# @return [nil]
|
498
|
+
describe 'enable_story_templates test' do
|
499
|
+
it 'should work' do
|
500
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
# unit tests for get_category
|
505
|
+
# Get Category
|
506
|
+
# Get Category returns information about the selected Category.
|
507
|
+
# @param category_public_id The unique ID of the Category.
|
508
|
+
# @param [Hash] opts the optional parameters
|
509
|
+
# @return [Category]
|
510
|
+
describe 'get_category test' do
|
511
|
+
it 'should work' do
|
512
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
# unit tests for get_current_member_info
|
517
|
+
# Get Current Member Info
|
518
|
+
# Returns information about the authenticated member.
|
519
|
+
# @param [Hash] opts the optional parameters
|
520
|
+
# @return [MemberInfo]
|
521
|
+
describe 'get_current_member_info test' do
|
522
|
+
it 'should work' do
|
523
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
527
|
+
# unit tests for get_entity_template
|
528
|
+
# Get Entity Template
|
529
|
+
# Get Entity Template returns information about a given entity template.
|
530
|
+
# @param entity_template_public_id The unique ID of the entity template.
|
531
|
+
# @param [Hash] opts the optional parameters
|
532
|
+
# @return [EntityTemplate]
|
533
|
+
describe 'get_entity_template test' do
|
534
|
+
it 'should work' do
|
535
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
539
|
+
# unit tests for get_epic
|
540
|
+
# Get Epic
|
541
|
+
# Get Epic returns information about the selected Epic.
|
542
|
+
# @param epic_public_id The unique ID of the Epic.
|
543
|
+
# @param [Hash] opts the optional parameters
|
544
|
+
# @return [Epic]
|
545
|
+
describe 'get_epic test' do
|
546
|
+
it 'should work' do
|
547
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
551
|
+
# unit tests for get_epic_comment
|
552
|
+
# Get Epic Comment
|
553
|
+
# This endpoint returns information about the selected Epic Comment.
|
554
|
+
# @param epic_public_id The ID of the associated Epic.
|
555
|
+
# @param comment_public_id The ID of the Comment.
|
556
|
+
# @param [Hash] opts the optional parameters
|
557
|
+
# @return [ThreadedComment]
|
558
|
+
describe 'get_epic_comment test' do
|
559
|
+
it 'should work' do
|
560
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
561
|
+
end
|
562
|
+
end
|
563
|
+
|
564
|
+
# unit tests for get_epic_workflow
|
565
|
+
# Get Epic Workflow
|
566
|
+
# Get Epic Workflow returns the Epic Workflow for the organization.
|
567
|
+
# @param [Hash] opts the optional parameters
|
568
|
+
# @return [EpicWorkflow]
|
569
|
+
describe 'get_epic_workflow test' do
|
570
|
+
it 'should work' do
|
571
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
# unit tests for get_external_link_stories
|
576
|
+
# Get External Link Stories
|
577
|
+
# Get Stories which have a given External Link associated with them.
|
578
|
+
# @param body
|
579
|
+
# @param [Hash] opts the optional parameters
|
580
|
+
# @return [Array<StorySlim>]
|
581
|
+
describe 'get_external_link_stories test' do
|
582
|
+
it 'should work' do
|
583
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
584
|
+
end
|
585
|
+
end
|
586
|
+
|
587
|
+
# unit tests for get_file
|
588
|
+
# Get File
|
589
|
+
# Get File returns information about the selected UploadedFile.
|
590
|
+
# @param file_public_id The File’s unique ID.
|
591
|
+
# @param [Hash] opts the optional parameters
|
592
|
+
# @return [UploadedFile]
|
593
|
+
describe 'get_file test' do
|
594
|
+
it 'should work' do
|
595
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
596
|
+
end
|
597
|
+
end
|
598
|
+
|
599
|
+
# unit tests for get_group
|
600
|
+
# Get Group
|
601
|
+
# @param group_public_id The unique ID of the Group.
|
602
|
+
# @param [Hash] opts the optional parameters
|
603
|
+
# @return [Group]
|
604
|
+
describe 'get_group test' do
|
605
|
+
it 'should work' do
|
606
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
607
|
+
end
|
608
|
+
end
|
609
|
+
|
610
|
+
# unit tests for get_iteration
|
611
|
+
# Get Iteration
|
612
|
+
# @param iteration_public_id The unique ID of the Iteration.
|
613
|
+
# @param [Hash] opts the optional parameters
|
614
|
+
# @return [Iteration]
|
615
|
+
describe 'get_iteration test' do
|
616
|
+
it 'should work' do
|
617
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
# unit tests for get_label
|
622
|
+
# Get Label
|
623
|
+
# Get Label returns information about the selected Label.
|
624
|
+
# @param label_public_id The unique ID of the Label.
|
625
|
+
# @param [Hash] opts the optional parameters
|
626
|
+
# @return [Label]
|
627
|
+
describe 'get_label test' do
|
628
|
+
it 'should work' do
|
629
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
633
|
+
# unit tests for get_linked_file
|
634
|
+
# Get Linked File
|
635
|
+
# Get File returns information about the selected Linked File.
|
636
|
+
# @param linked_file_public_id The unique identifier of the linked file.
|
637
|
+
# @param [Hash] opts the optional parameters
|
638
|
+
# @return [LinkedFile]
|
639
|
+
describe 'get_linked_file test' do
|
640
|
+
it 'should work' do
|
641
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
645
|
+
# unit tests for get_member
|
646
|
+
# Get Member
|
647
|
+
# Returns information about a Member.
|
648
|
+
# @param body
|
649
|
+
# @param member_public_id The Member's unique ID.
|
650
|
+
# @param [Hash] opts the optional parameters
|
651
|
+
# @return [Member]
|
652
|
+
describe 'get_member test' do
|
653
|
+
it 'should work' do
|
654
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
# unit tests for get_milestone
|
659
|
+
# Get Milestone
|
660
|
+
# Get Milestone returns information about a chosen Milestone.
|
661
|
+
# @param milestone_public_id The ID of the Milestone.
|
662
|
+
# @param [Hash] opts the optional parameters
|
663
|
+
# @return [Milestone]
|
664
|
+
describe 'get_milestone test' do
|
665
|
+
it 'should work' do
|
666
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
670
|
+
# unit tests for get_project
|
671
|
+
# Get Project
|
672
|
+
# Get Project returns information about the selected Project.
|
673
|
+
# @param project_public_id The unique ID of the Project.
|
674
|
+
# @param [Hash] opts the optional parameters
|
675
|
+
# @return [Project]
|
676
|
+
describe 'get_project test' do
|
677
|
+
it 'should work' do
|
678
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
679
|
+
end
|
680
|
+
end
|
681
|
+
|
682
|
+
# unit tests for get_repository
|
683
|
+
# Get Repository
|
684
|
+
# Get Repository returns information about the selected Repository.
|
685
|
+
# @param repo_public_id The unique ID of the Repository.
|
686
|
+
# @param [Hash] opts the optional parameters
|
687
|
+
# @return [Repository]
|
688
|
+
describe 'get_repository test' do
|
689
|
+
it 'should work' do
|
690
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
694
|
+
# unit tests for get_story
|
695
|
+
# Get Story
|
696
|
+
# Get Story returns information about a chosen Story.
|
697
|
+
# @param story_public_id The ID of the Story.
|
698
|
+
# @param [Hash] opts the optional parameters
|
699
|
+
# @return [Story]
|
700
|
+
describe 'get_story test' do
|
701
|
+
it 'should work' do
|
702
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
706
|
+
# unit tests for get_story_comment
|
707
|
+
# Get Story Comment
|
708
|
+
# Get Comment is used to get Comment information.
|
709
|
+
# @param story_public_id The ID of the Story that the Comment is in.
|
710
|
+
# @param comment_public_id The ID of the Comment.
|
711
|
+
# @param [Hash] opts the optional parameters
|
712
|
+
# @return [StoryComment]
|
713
|
+
describe 'get_story_comment test' do
|
714
|
+
it 'should work' do
|
715
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
719
|
+
# unit tests for get_story_link
|
720
|
+
# Get Story Link
|
721
|
+
# Returns the stories and their relationship for the given Story Link.
|
722
|
+
# @param story_link_public_id The unique ID of the Story Link.
|
723
|
+
# @param [Hash] opts the optional parameters
|
724
|
+
# @return [StoryLink]
|
725
|
+
describe 'get_story_link test' do
|
726
|
+
it 'should work' do
|
727
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
728
|
+
end
|
729
|
+
end
|
730
|
+
|
731
|
+
# unit tests for get_task
|
732
|
+
# Get Task
|
733
|
+
# Returns information about a chosen Task.
|
734
|
+
# @param story_public_id The unique ID of the Story this Task is associated with.
|
735
|
+
# @param task_public_id The unique ID of the Task.
|
736
|
+
# @param [Hash] opts the optional parameters
|
737
|
+
# @return [Task]
|
738
|
+
describe 'get_task test' do
|
739
|
+
it 'should work' do
|
740
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
744
|
+
# unit tests for get_workflow
|
745
|
+
# Get Workflow
|
746
|
+
# Get Workflow returns information about a chosen Workflow.
|
747
|
+
# @param workflow_public_id The ID of the Workflow.
|
748
|
+
# @param [Hash] opts the optional parameters
|
749
|
+
# @return [Workflow]
|
750
|
+
describe 'get_workflow test' do
|
751
|
+
it 'should work' do
|
752
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
# unit tests for list_categories
|
757
|
+
# List Categories
|
758
|
+
# List Categories returns a list of all Categories and their attributes.
|
759
|
+
# @param [Hash] opts the optional parameters
|
760
|
+
# @return [Array<Category>]
|
761
|
+
describe 'list_categories test' do
|
762
|
+
it 'should work' do
|
763
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
764
|
+
end
|
765
|
+
end
|
766
|
+
|
767
|
+
# unit tests for list_category_milestones
|
768
|
+
# List Category Milestones
|
769
|
+
# List Category Milestones returns a list of all Milestones with the Category.
|
770
|
+
# @param category_public_id The unique ID of the Category.
|
771
|
+
# @param [Hash] opts the optional parameters
|
772
|
+
# @return [Array<Milestone>]
|
773
|
+
describe 'list_category_milestones test' do
|
774
|
+
it 'should work' do
|
775
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
776
|
+
end
|
777
|
+
end
|
778
|
+
|
779
|
+
# unit tests for list_entity_templates
|
780
|
+
# List Entity Templates
|
781
|
+
# List all the entity templates for an organization.
|
782
|
+
# @param [Hash] opts the optional parameters
|
783
|
+
# @return [Array<EntityTemplate>]
|
784
|
+
describe 'list_entity_templates test' do
|
785
|
+
it 'should work' do
|
786
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
787
|
+
end
|
788
|
+
end
|
789
|
+
|
790
|
+
# unit tests for list_epic_comments
|
791
|
+
# List Epic Comments
|
792
|
+
# Get a list of all Comments on an Epic.
|
793
|
+
# @param epic_public_id The unique ID of the Epic.
|
794
|
+
# @param [Hash] opts the optional parameters
|
795
|
+
# @return [Array<ThreadedComment>]
|
796
|
+
describe 'list_epic_comments test' do
|
797
|
+
it 'should work' do
|
798
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
# unit tests for list_epic_stories
|
803
|
+
# List Epic Stories
|
804
|
+
# Get a list of all Stories in an Epic.
|
805
|
+
# @param body
|
806
|
+
# @param epic_public_id The unique ID of the Epic.
|
807
|
+
# @param [Hash] opts the optional parameters
|
808
|
+
# @return [Array<StorySlim>]
|
809
|
+
describe 'list_epic_stories test' do
|
810
|
+
it 'should work' do
|
811
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
812
|
+
end
|
813
|
+
end
|
814
|
+
|
815
|
+
# unit tests for list_epics
|
816
|
+
# List Epics
|
817
|
+
# List Epics returns a list of all Epics and their attributes.
|
818
|
+
# @param body
|
819
|
+
# @param [Hash] opts the optional parameters
|
820
|
+
# @return [Array<EpicSlim>]
|
821
|
+
describe 'list_epics test' do
|
822
|
+
it 'should work' do
|
823
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
824
|
+
end
|
825
|
+
end
|
826
|
+
|
827
|
+
# unit tests for list_files
|
828
|
+
# List Files
|
829
|
+
# List Files returns a list of all UploadedFiles in the workspace.
|
830
|
+
# @param [Hash] opts the optional parameters
|
831
|
+
# @return [Array<UploadedFile>]
|
832
|
+
describe 'list_files test' do
|
833
|
+
it 'should work' do
|
834
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
835
|
+
end
|
836
|
+
end
|
837
|
+
|
838
|
+
# unit tests for list_group_stories
|
839
|
+
# List Group Stories
|
840
|
+
# List the Stories assigned to the Group. (By default, limited to 1,000).
|
841
|
+
# @param body
|
842
|
+
# @param group_public_id The unique ID of the Group.
|
843
|
+
# @param [Hash] opts the optional parameters
|
844
|
+
# @return [Array<StorySlim>]
|
845
|
+
describe 'list_group_stories test' do
|
846
|
+
it 'should work' do
|
847
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
851
|
+
# unit tests for list_groups
|
852
|
+
# List Groups
|
853
|
+
# A group in our API maps to a \"Team\" within the Shortcut Product. A Team is a collection of Users that can be associated to Stories, Epics, and Iterations within Shortcut.
|
854
|
+
# @param [Hash] opts the optional parameters
|
855
|
+
# @return [Array<Group>]
|
856
|
+
describe 'list_groups test' do
|
857
|
+
it 'should work' do
|
858
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
859
|
+
end
|
860
|
+
end
|
861
|
+
|
862
|
+
# unit tests for list_iteration_stories
|
863
|
+
# List Iteration Stories
|
864
|
+
# Get a list of all Stories in an Iteration.
|
865
|
+
# @param body
|
866
|
+
# @param iteration_public_id The unique ID of the Iteration.
|
867
|
+
# @param [Hash] opts the optional parameters
|
868
|
+
# @return [Array<StorySlim>]
|
869
|
+
describe 'list_iteration_stories test' do
|
870
|
+
it 'should work' do
|
871
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
872
|
+
end
|
873
|
+
end
|
874
|
+
|
875
|
+
# unit tests for list_iterations
|
876
|
+
# List Iterations
|
877
|
+
# @param [Hash] opts the optional parameters
|
878
|
+
# @return [Array<IterationSlim>]
|
879
|
+
describe 'list_iterations test' do
|
880
|
+
it 'should work' do
|
881
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
885
|
+
# unit tests for list_label_epics
|
886
|
+
# List Label Epics
|
887
|
+
# List all of the Epics with the Label.
|
888
|
+
# @param label_public_id The unique ID of the Label.
|
889
|
+
# @param [Hash] opts the optional parameters
|
890
|
+
# @return [Array<EpicSlim>]
|
891
|
+
describe 'list_label_epics test' do
|
892
|
+
it 'should work' do
|
893
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
894
|
+
end
|
895
|
+
end
|
896
|
+
|
897
|
+
# unit tests for list_label_stories
|
898
|
+
# List Label Stories
|
899
|
+
# List all of the Stories with the Label.
|
900
|
+
# @param body
|
901
|
+
# @param label_public_id The unique ID of the Label.
|
902
|
+
# @param [Hash] opts the optional parameters
|
903
|
+
# @return [Array<StorySlim>]
|
904
|
+
describe 'list_label_stories test' do
|
905
|
+
it 'should work' do
|
906
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
907
|
+
end
|
908
|
+
end
|
909
|
+
|
910
|
+
# unit tests for list_labels
|
911
|
+
# List Labels
|
912
|
+
# List Labels returns a list of all Labels and their attributes.
|
913
|
+
# @param body
|
914
|
+
# @param [Hash] opts the optional parameters
|
915
|
+
# @return [Array<Label>]
|
916
|
+
describe 'list_labels test' do
|
917
|
+
it 'should work' do
|
918
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
919
|
+
end
|
920
|
+
end
|
921
|
+
|
922
|
+
# unit tests for list_linked_files
|
923
|
+
# List Linked Files
|
924
|
+
# List Linked Files returns a list of all Linked-Files and their attributes.
|
925
|
+
# @param [Hash] opts the optional parameters
|
926
|
+
# @return [Array<LinkedFile>]
|
927
|
+
describe 'list_linked_files test' do
|
928
|
+
it 'should work' do
|
929
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
930
|
+
end
|
931
|
+
end
|
932
|
+
|
933
|
+
# unit tests for list_members
|
934
|
+
# List Members
|
935
|
+
# List Members returns information about members of the organization.
|
936
|
+
# @param body
|
937
|
+
# @param [Hash] opts the optional parameters
|
938
|
+
# @return [Array<Member>]
|
939
|
+
describe 'list_members test' do
|
940
|
+
it 'should work' do
|
941
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
942
|
+
end
|
943
|
+
end
|
944
|
+
|
945
|
+
# unit tests for list_milestone_epics
|
946
|
+
# List Milestone Epics
|
947
|
+
# List all of the Epics within the Milestone.
|
948
|
+
# @param milestone_public_id The ID of the Milestone.
|
949
|
+
# @param [Hash] opts the optional parameters
|
950
|
+
# @return [Array<EpicSlim>]
|
951
|
+
describe 'list_milestone_epics test' do
|
952
|
+
it 'should work' do
|
953
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
954
|
+
end
|
955
|
+
end
|
956
|
+
|
957
|
+
# unit tests for list_milestones
|
958
|
+
# List Milestones
|
959
|
+
# List Milestones returns a list of all Milestones and their attributes.
|
960
|
+
# @param [Hash] opts the optional parameters
|
961
|
+
# @return [Array<Milestone>]
|
962
|
+
describe 'list_milestones test' do
|
963
|
+
it 'should work' do
|
964
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
965
|
+
end
|
966
|
+
end
|
967
|
+
|
968
|
+
# unit tests for list_projects
|
969
|
+
# List Projects
|
970
|
+
# List Projects returns a list of all Projects and their attributes.
|
971
|
+
# @param [Hash] opts the optional parameters
|
972
|
+
# @return [Array<Project>]
|
973
|
+
describe 'list_projects test' do
|
974
|
+
it 'should work' do
|
975
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
976
|
+
end
|
977
|
+
end
|
978
|
+
|
979
|
+
# unit tests for list_repositories
|
980
|
+
# List Repositories
|
981
|
+
# List Repositories returns a list of all Repositories and their attributes.
|
982
|
+
# @param [Hash] opts the optional parameters
|
983
|
+
# @return [Array<Repository>]
|
984
|
+
describe 'list_repositories test' do
|
985
|
+
it 'should work' do
|
986
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
990
|
+
# unit tests for list_stories
|
991
|
+
# List Stories
|
992
|
+
# List Stories returns a list of all Stories in a selected Project and their attributes.
|
993
|
+
# @param body
|
994
|
+
# @param project_public_id The unique ID of the Project.
|
995
|
+
# @param [Hash] opts the optional parameters
|
996
|
+
# @return [Array<StorySlim>]
|
997
|
+
describe 'list_stories test' do
|
998
|
+
it 'should work' do
|
999
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1000
|
+
end
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
# unit tests for list_workflows
|
1004
|
+
# List Workflows
|
1005
|
+
# List Workflows returns a list of all Workflows in the organization.
|
1006
|
+
# @param [Hash] opts the optional parameters
|
1007
|
+
# @return [Array<Workflow>]
|
1008
|
+
describe 'list_workflows test' do
|
1009
|
+
it 'should work' do
|
1010
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1011
|
+
end
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
# unit tests for search
|
1015
|
+
# Search
|
1016
|
+
# Search lets you search Epics and Stories based on desired parameters. Since ordering of the results can change over time (due to search ranking decay, new Epics and Stories being created), the `next` value from the previous response can be used as the path and query string for the next page to ensure stable ordering.
|
1017
|
+
# @param body
|
1018
|
+
# @param [Hash] opts the optional parameters
|
1019
|
+
# @return [SearchResults]
|
1020
|
+
describe 'search test' do
|
1021
|
+
it 'should work' do
|
1022
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1023
|
+
end
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
# unit tests for search_epics
|
1027
|
+
# Search Epics
|
1028
|
+
# Search Epics lets you search Epics based on desired parameters. Since ordering of stories can change over time (due to search ranking decay, new Epics being created), the `next` value from the previous response can be used as the path and query string for the next page to ensure stable ordering.
|
1029
|
+
# @param body
|
1030
|
+
# @param [Hash] opts the optional parameters
|
1031
|
+
# @return [EpicSearchResults]
|
1032
|
+
describe 'search_epics test' do
|
1033
|
+
it 'should work' do
|
1034
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1035
|
+
end
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
# unit tests for search_stories
|
1039
|
+
# Search Stories
|
1040
|
+
# Search Stories lets you search Stories based on desired parameters. Since ordering of stories can change over time (due to search ranking decay, new stories being created), the `next` value from the previous response can be used as the path and query string for the next page to ensure stable ordering.
|
1041
|
+
# @param body
|
1042
|
+
# @param [Hash] opts the optional parameters
|
1043
|
+
# @return [StorySearchResults]
|
1044
|
+
describe 'search_stories test' do
|
1045
|
+
it 'should work' do
|
1046
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1047
|
+
end
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
# unit tests for search_stories_old
|
1051
|
+
# Search Stories (Old)
|
1052
|
+
# Search Stories lets you search Stories based on desired parameters.
|
1053
|
+
# @param body
|
1054
|
+
# @param [Hash] opts the optional parameters
|
1055
|
+
# @return [Array<StorySlim>]
|
1056
|
+
describe 'search_stories_old test' do
|
1057
|
+
it 'should work' do
|
1058
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1059
|
+
end
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
# unit tests for story_history
|
1063
|
+
# Story History
|
1064
|
+
# @param story_public_id The ID of the Story.
|
1065
|
+
# @param [Hash] opts the optional parameters
|
1066
|
+
# @return [Array<History>]
|
1067
|
+
describe 'story_history test' do
|
1068
|
+
it 'should work' do
|
1069
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# unit tests for unlink_productboard_from_epic
|
1074
|
+
# Unlink Productboard from Epic
|
1075
|
+
# This endpoint allows you to unlink a productboard epic.
|
1076
|
+
# @param epic_public_id The unique ID of the Epic.
|
1077
|
+
# @param [Hash] opts the optional parameters
|
1078
|
+
# @return [nil]
|
1079
|
+
describe 'unlink_productboard_from_epic test' do
|
1080
|
+
it 'should work' do
|
1081
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1082
|
+
end
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
# unit tests for update_category
|
1086
|
+
# Update Category
|
1087
|
+
# Update Category allows you to replace a Category name with another name. If you try to name a Category something that already exists, you will receive a 422 response.
|
1088
|
+
# @param body
|
1089
|
+
# @param category_public_id The unique ID of the Category you wish to update.
|
1090
|
+
# @param [Hash] opts the optional parameters
|
1091
|
+
# @return [Category]
|
1092
|
+
describe 'update_category test' do
|
1093
|
+
it 'should work' do
|
1094
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# unit tests for update_entity_template
|
1099
|
+
# Update Entity Template
|
1100
|
+
# Update an entity template's name or its contents.
|
1101
|
+
# @param body Request parameters for changing either a template's name or any of
|
1102
|
+
the attributes it is designed to pre-populate.
|
1103
|
+
# @param entity_template_public_id The unique ID of the template to be updated.
|
1104
|
+
# @param [Hash] opts the optional parameters
|
1105
|
+
# @return [EntityTemplate]
|
1106
|
+
describe 'update_entity_template test' do
|
1107
|
+
it 'should work' do
|
1108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1109
|
+
end
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
# unit tests for update_epic
|
1113
|
+
# Update Epic
|
1114
|
+
# Update Epic can be used to update numerous fields in the Epic. The only required parameter is Epic ID, which can be found in the Shortcut UI.
|
1115
|
+
# @param body
|
1116
|
+
# @param epic_public_id The unique ID of the Epic.
|
1117
|
+
# @param [Hash] opts the optional parameters
|
1118
|
+
# @return [Epic]
|
1119
|
+
describe 'update_epic test' do
|
1120
|
+
it 'should work' do
|
1121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
# unit tests for update_epic_comment
|
1126
|
+
# Update Epic Comment
|
1127
|
+
# This endpoint allows you to update a threaded Comment on an Epic.
|
1128
|
+
# @param body
|
1129
|
+
# @param epic_public_id The ID of the associated Epic.
|
1130
|
+
# @param comment_public_id The ID of the Comment.
|
1131
|
+
# @param [Hash] opts the optional parameters
|
1132
|
+
# @return [ThreadedComment]
|
1133
|
+
describe 'update_epic_comment test' do
|
1134
|
+
it 'should work' do
|
1135
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1136
|
+
end
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
# unit tests for update_file
|
1140
|
+
# Update File
|
1141
|
+
# Update File updates the properties of an UploadedFile (but not its content).
|
1142
|
+
# @param body
|
1143
|
+
# @param file_public_id The unique ID assigned to the file in Shortcut.
|
1144
|
+
# @param [Hash] opts the optional parameters
|
1145
|
+
# @return [UploadedFile]
|
1146
|
+
describe 'update_file test' do
|
1147
|
+
it 'should work' do
|
1148
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1149
|
+
end
|
1150
|
+
end
|
1151
|
+
|
1152
|
+
# unit tests for update_group
|
1153
|
+
# Update Group
|
1154
|
+
# @param body
|
1155
|
+
# @param group_public_id The unique ID of the Group.
|
1156
|
+
# @param [Hash] opts the optional parameters
|
1157
|
+
# @return [Group]
|
1158
|
+
describe 'update_group test' do
|
1159
|
+
it 'should work' do
|
1160
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1161
|
+
end
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
# unit tests for update_iteration
|
1165
|
+
# Update Iteration
|
1166
|
+
# @param body
|
1167
|
+
# @param iteration_public_id The unique ID of the Iteration.
|
1168
|
+
# @param [Hash] opts the optional parameters
|
1169
|
+
# @return [Iteration]
|
1170
|
+
describe 'update_iteration test' do
|
1171
|
+
it 'should work' do
|
1172
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1173
|
+
end
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
# unit tests for update_label
|
1177
|
+
# Update Label
|
1178
|
+
# Update Label allows you to replace a Label name with another name. If you try to name a Label something that already exists, you will receive a 422 response.
|
1179
|
+
# @param body
|
1180
|
+
# @param label_public_id The unique ID of the Label you wish to update.
|
1181
|
+
# @param [Hash] opts the optional parameters
|
1182
|
+
# @return [Label]
|
1183
|
+
describe 'update_label test' do
|
1184
|
+
it 'should work' do
|
1185
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1186
|
+
end
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
# unit tests for update_linked_file
|
1190
|
+
# Update Linked File
|
1191
|
+
# Updated Linked File allows you to update properties of a previously attached Linked-File.
|
1192
|
+
# @param body
|
1193
|
+
# @param linked_file_public_id The unique identifier of the linked file.
|
1194
|
+
# @param [Hash] opts the optional parameters
|
1195
|
+
# @return [LinkedFile]
|
1196
|
+
describe 'update_linked_file test' do
|
1197
|
+
it 'should work' do
|
1198
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1199
|
+
end
|
1200
|
+
end
|
1201
|
+
|
1202
|
+
# unit tests for update_milestone
|
1203
|
+
# Update Milestone
|
1204
|
+
# Update Milestone can be used to update Milestone properties.
|
1205
|
+
# @param body
|
1206
|
+
# @param milestone_public_id The ID of the Milestone.
|
1207
|
+
# @param [Hash] opts the optional parameters
|
1208
|
+
# @return [Milestone]
|
1209
|
+
describe 'update_milestone test' do
|
1210
|
+
it 'should work' do
|
1211
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1212
|
+
end
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
# unit tests for update_multiple_stories
|
1216
|
+
# Update Multiple Stories
|
1217
|
+
# Update Multiple Stories allows you to make changes to numerous stories at once.
|
1218
|
+
# @param body
|
1219
|
+
# @param [Hash] opts the optional parameters
|
1220
|
+
# @return [Array<StorySlim>]
|
1221
|
+
describe 'update_multiple_stories test' do
|
1222
|
+
it 'should work' do
|
1223
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1224
|
+
end
|
1225
|
+
end
|
1226
|
+
|
1227
|
+
# unit tests for update_project
|
1228
|
+
# Update Project
|
1229
|
+
# Update Project can be used to change properties of a Project.
|
1230
|
+
# @param body
|
1231
|
+
# @param project_public_id The unique ID of the Project.
|
1232
|
+
# @param [Hash] opts the optional parameters
|
1233
|
+
# @return [Project]
|
1234
|
+
describe 'update_project test' do
|
1235
|
+
it 'should work' do
|
1236
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1237
|
+
end
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
# unit tests for update_story
|
1241
|
+
# Update Story
|
1242
|
+
# Update Story can be used to update Story properties.
|
1243
|
+
# @param body
|
1244
|
+
# @param story_public_id The unique identifier of this story.
|
1245
|
+
# @param [Hash] opts the optional parameters
|
1246
|
+
# @return [Story]
|
1247
|
+
describe 'update_story test' do
|
1248
|
+
it 'should work' do
|
1249
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1250
|
+
end
|
1251
|
+
end
|
1252
|
+
|
1253
|
+
# unit tests for update_story_comment
|
1254
|
+
# Update Story Comment
|
1255
|
+
# Update Comment replaces the text of the existing Comment.
|
1256
|
+
# @param body
|
1257
|
+
# @param story_public_id The ID of the Story that the Comment is in.
|
1258
|
+
# @param comment_public_id The ID of the Comment
|
1259
|
+
# @param [Hash] opts the optional parameters
|
1260
|
+
# @return [StoryComment]
|
1261
|
+
describe 'update_story_comment test' do
|
1262
|
+
it 'should work' do
|
1263
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1264
|
+
end
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
# unit tests for update_story_link
|
1268
|
+
# Update Story Link
|
1269
|
+
# Updates the stories and/or the relationship for the given Story Link.
|
1270
|
+
# @param body
|
1271
|
+
# @param story_link_public_id The unique ID of the Story Link.
|
1272
|
+
# @param [Hash] opts the optional parameters
|
1273
|
+
# @return [StoryLink]
|
1274
|
+
describe 'update_story_link test' do
|
1275
|
+
it 'should work' do
|
1276
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1277
|
+
end
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
# unit tests for update_task
|
1281
|
+
# Update Task
|
1282
|
+
# Update Task can be used to update Task properties.
|
1283
|
+
# @param body
|
1284
|
+
# @param story_public_id The unique identifier of the parent Story.
|
1285
|
+
# @param task_public_id The unique identifier of the Task you wish to update.
|
1286
|
+
# @param [Hash] opts the optional parameters
|
1287
|
+
# @return [Task]
|
1288
|
+
describe 'update_task test' do
|
1289
|
+
it 'should work' do
|
1290
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1291
|
+
end
|
1292
|
+
end
|
1293
|
+
|
1294
|
+
# unit tests for upload_files
|
1295
|
+
# Upload Files
|
1296
|
+
# Upload Files uploads one or many files and optionally associates them with a story. Use the multipart/form-data content-type to upload. Each `file` key should contain a separate file. Each UploadedFile's name comes from the Content-Disposition header \"filename\" directive for that field.
|
1297
|
+
# @param story_id
|
1298
|
+
# @param file0
|
1299
|
+
# @param file1
|
1300
|
+
# @param file2
|
1301
|
+
# @param file3
|
1302
|
+
# @param [Hash] opts the optional parameters
|
1303
|
+
# @return [Array<UploadedFile>]
|
1304
|
+
describe 'upload_files test' do
|
1305
|
+
it 'should work' do
|
1306
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1307
|
+
end
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
end
|