Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shortcut_client_ruby

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shortcut_client_ruby

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

shortcut_client_ruby

Shortcut - the Ruby gem for the Shortcut API

Shortcut API

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 3.0
  • Package version: 0.1.2
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build shortcut_client_ruby.gemspec

Then either install the gem locally:

gem install ./shortcut_client_ruby-0.1.2.gem

(for development, run gem install --dev ./shortcut_client_ruby-0.1.2.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'shortcut_client_ruby', '~> 0.1.2'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/ngouy/shortcut_client_ruby, then add the following in the Gemfile:

gem 'shortcut_client_ruby', :git => 'https://github.com/ngouy/shortcut_client_ruby.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'shortcut_client_ruby'

# Setup authorization
Shortcut.configure do |config|
  # Configure API key authorization: api_token
  config.api_key['api_token'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  # config.api_key_prefix['api_token'] = 'Bearer'
end

api_instance = Shortcut::DefaultApi.new
create_category = Shortcut::CreateCategory.new({name: 'name_example', type: 'milestone'}) # CreateCategory | 

begin
  #Create Category
  result = api_instance.create_category(create_category)
  p result
rescue Shortcut::ApiError => e
  puts "Exception when calling DefaultApi->create_category: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.app.shortcut.com

ClassMethodHTTP requestDescription
Shortcut::DefaultApicreate_categoryPOST /api/v3/categoriesCreate Category
Shortcut::DefaultApicreate_entity_templatePOST /api/v3/entity-templatesCreate Entity Template
Shortcut::DefaultApicreate_epicPOST /api/v3/epicsCreate Epic
Shortcut::DefaultApicreate_epic_commentPOST /api/v3/epics/{epic-public-id}/commentsCreate Epic Comment
Shortcut::DefaultApicreate_epic_comment_commentPOST /api/v3/epics/{epic-public-id}/comments/{comment-public-id}Create Epic Comment Comment
Shortcut::DefaultApicreate_groupPOST /api/v3/groupsCreate Group
Shortcut::DefaultApicreate_iterationPOST /api/v3/iterationsCreate Iteration
Shortcut::DefaultApicreate_labelPOST /api/v3/labelsCreate Label
Shortcut::DefaultApicreate_linked_filePOST /api/v3/linked-filesCreate Linked File
Shortcut::DefaultApicreate_milestonePOST /api/v3/milestonesCreate Milestone
Shortcut::DefaultApicreate_multiple_storiesPOST /api/v3/stories/bulkCreate Multiple Stories
Shortcut::DefaultApicreate_projectPOST /api/v3/projectsCreate Project
Shortcut::DefaultApicreate_storyPOST /api/v3/storiesCreate Story
Shortcut::DefaultApicreate_story_commentPOST /api/v3/stories/{story-public-id}/commentsCreate Story Comment
Shortcut::DefaultApicreate_story_linkPOST /api/v3/story-linksCreate Story Link
Shortcut::DefaultApicreate_story_reactionPOST /api/v3/stories/{story-public-id}/comments/{comment-public-id}/reactionsCreate Story Reaction
Shortcut::DefaultApicreate_taskPOST /api/v3/stories/{story-public-id}/tasksCreate Task
Shortcut::DefaultApidelete_categoryDELETE /api/v3/categories/{category-public-id}Delete Category
Shortcut::DefaultApidelete_entity_templateDELETE /api/v3/entity-templates/{entity-template-public-id}Delete Entity Template
Shortcut::DefaultApidelete_epicDELETE /api/v3/epics/{epic-public-id}Delete Epic
Shortcut::DefaultApidelete_epic_commentDELETE /api/v3/epics/{epic-public-id}/comments/{comment-public-id}Delete Epic Comment
Shortcut::DefaultApidelete_fileDELETE /api/v3/files/{file-public-id}Delete File
Shortcut::DefaultApidelete_iterationDELETE /api/v3/iterations/{iteration-public-id}Delete Iteration
Shortcut::DefaultApidelete_labelDELETE /api/v3/labels/{label-public-id}Delete Label
Shortcut::DefaultApidelete_linked_fileDELETE /api/v3/linked-files/{linked-file-public-id}Delete Linked File
Shortcut::DefaultApidelete_milestoneDELETE /api/v3/milestones/{milestone-public-id}Delete Milestone
Shortcut::DefaultApidelete_multiple_storiesDELETE /api/v3/stories/bulkDelete Multiple Stories
Shortcut::DefaultApidelete_projectDELETE /api/v3/projects/{project-public-id}Delete Project
Shortcut::DefaultApidelete_storyDELETE /api/v3/stories/{story-public-id}Delete Story
Shortcut::DefaultApidelete_story_commentDELETE /api/v3/stories/{story-public-id}/comments/{comment-public-id}Delete Story Comment
Shortcut::DefaultApidelete_story_linkDELETE /api/v3/story-links/{story-link-public-id}Delete Story Link
Shortcut::DefaultApidelete_story_reactionDELETE /api/v3/stories/{story-public-id}/comments/{comment-public-id}/reactionsDelete Story Reaction
Shortcut::DefaultApidelete_taskDELETE /api/v3/stories/{story-public-id}/tasks/{task-public-id}Delete Task
Shortcut::DefaultApidisable_groupsPUT /api/v3/groups/disableDisable Groups
Shortcut::DefaultApidisable_iterationsPUT /api/v3/iterations/disableDisable Iterations
Shortcut::DefaultApidisable_story_templatesPUT /api/v3/entity-templates/disableDisable Story Templates
Shortcut::DefaultApienable_groupsPUT /api/v3/groups/enableEnable Groups
Shortcut::DefaultApienable_iterationsPUT /api/v3/iterations/enableEnable Iterations
Shortcut::DefaultApienable_story_templatesPUT /api/v3/entity-templates/enableEnable Story Templates
Shortcut::DefaultApiget_categoryGET /api/v3/categories/{category-public-id}Get Category
Shortcut::DefaultApiget_current_member_infoGET /api/v3/memberGet Current Member Info
Shortcut::DefaultApiget_entity_templateGET /api/v3/entity-templates/{entity-template-public-id}Get Entity Template
Shortcut::DefaultApiget_epicGET /api/v3/epics/{epic-public-id}Get Epic
Shortcut::DefaultApiget_epic_commentGET /api/v3/epics/{epic-public-id}/comments/{comment-public-id}Get Epic Comment
Shortcut::DefaultApiget_epic_workflowGET /api/v3/epic-workflowGet Epic Workflow
Shortcut::DefaultApiget_external_link_storiesGET /api/v3/external-link/storiesGet External Link Stories
Shortcut::DefaultApiget_fileGET /api/v3/files/{file-public-id}Get File
Shortcut::DefaultApiget_groupGET /api/v3/groups/{group-public-id}Get Group
Shortcut::DefaultApiget_iterationGET /api/v3/iterations/{iteration-public-id}Get Iteration
Shortcut::DefaultApiget_labelGET /api/v3/labels/{label-public-id}Get Label
Shortcut::DefaultApiget_linked_fileGET /api/v3/linked-files/{linked-file-public-id}Get Linked File
Shortcut::DefaultApiget_memberGET /api/v3/members/{member-public-id}Get Member
Shortcut::DefaultApiget_milestoneGET /api/v3/milestones/{milestone-public-id}Get Milestone
Shortcut::DefaultApiget_projectGET /api/v3/projects/{project-public-id}Get Project
Shortcut::DefaultApiget_repositoryGET /api/v3/repositories/{repo-public-id}Get Repository
Shortcut::DefaultApiget_storyGET /api/v3/stories/{story-public-id}Get Story
Shortcut::DefaultApiget_story_commentGET /api/v3/stories/{story-public-id}/comments/{comment-public-id}Get Story Comment
Shortcut::DefaultApiget_story_linkGET /api/v3/story-links/{story-link-public-id}Get Story Link
Shortcut::DefaultApiget_taskGET /api/v3/stories/{story-public-id}/tasks/{task-public-id}Get Task
Shortcut::DefaultApiget_workflowGET /api/v3/workflows/{workflow-public-id}Get Workflow
Shortcut::DefaultApilist_categoriesGET /api/v3/categoriesList Categories
Shortcut::DefaultApilist_category_milestonesGET /api/v3/categories/{category-public-id}/milestonesList Category Milestones
Shortcut::DefaultApilist_entity_templatesGET /api/v3/entity-templatesList Entity Templates
Shortcut::DefaultApilist_epic_commentsGET /api/v3/epics/{epic-public-id}/commentsList Epic Comments
Shortcut::DefaultApilist_epic_storiesGET /api/v3/epics/{epic-public-id}/storiesList Epic Stories
Shortcut::DefaultApilist_epicsGET /api/v3/epicsList Epics
Shortcut::DefaultApilist_filesGET /api/v3/filesList Files
Shortcut::DefaultApilist_group_storiesGET /api/v3/groups/{group-public-id}/storiesList Group Stories
Shortcut::DefaultApilist_groupsGET /api/v3/groupsList Groups
Shortcut::DefaultApilist_iteration_storiesGET /api/v3/iterations/{iteration-public-id}/storiesList Iteration Stories
Shortcut::DefaultApilist_iterationsGET /api/v3/iterationsList Iterations
Shortcut::DefaultApilist_label_epicsGET /api/v3/labels/{label-public-id}/epicsList Label Epics
Shortcut::DefaultApilist_label_storiesGET /api/v3/labels/{label-public-id}/storiesList Label Stories
Shortcut::DefaultApilist_labelsGET /api/v3/labelsList Labels
Shortcut::DefaultApilist_linked_filesGET /api/v3/linked-filesList Linked Files
Shortcut::DefaultApilist_membersGET /api/v3/membersList Members
Shortcut::DefaultApilist_milestone_epicsGET /api/v3/milestones/{milestone-public-id}/epicsList Milestone Epics
Shortcut::DefaultApilist_milestonesGET /api/v3/milestonesList Milestones
Shortcut::DefaultApilist_projectsGET /api/v3/projectsList Projects
Shortcut::DefaultApilist_repositoriesGET /api/v3/repositoriesList Repositories
Shortcut::DefaultApilist_storiesGET /api/v3/projects/{project-public-id}/storiesList Stories
Shortcut::DefaultApilist_workflowsGET /api/v3/workflowsList Workflows
Shortcut::DefaultApisearchGET /api/v3/searchSearch
Shortcut::DefaultApisearch_epicsGET /api/v3/search/epicsSearch Epics
Shortcut::DefaultApisearch_storiesGET /api/v3/search/storiesSearch Stories
Shortcut::DefaultApisearch_stories_oldPOST /api/v3/stories/searchSearch Stories (Old)
Shortcut::DefaultApistory_historyGET /api/v3/stories/{story-public-id}/historyStory History
Shortcut::DefaultApiunlink_productboard_from_epicPOST /api/v3/epics/{epic-public-id}/unlink-productboardUnlink Productboard from Epic
Shortcut::DefaultApiupdate_categoryPUT /api/v3/categories/{category-public-id}Update Category
Shortcut::DefaultApiupdate_entity_templatePUT /api/v3/entity-templates/{entity-template-public-id}Update Entity Template
Shortcut::DefaultApiupdate_epicPUT /api/v3/epics/{epic-public-id}Update Epic
Shortcut::DefaultApiupdate_epic_commentPUT /api/v3/epics/{epic-public-id}/comments/{comment-public-id}Update Epic Comment
Shortcut::DefaultApiupdate_filePUT /api/v3/files/{file-public-id}Update File
Shortcut::DefaultApiupdate_groupPUT /api/v3/groups/{group-public-id}Update Group
Shortcut::DefaultApiupdate_iterationPUT /api/v3/iterations/{iteration-public-id}Update Iteration
Shortcut::DefaultApiupdate_labelPUT /api/v3/labels/{label-public-id}Update Label
Shortcut::DefaultApiupdate_linked_filePUT /api/v3/linked-files/{linked-file-public-id}Update Linked File
Shortcut::DefaultApiupdate_milestonePUT /api/v3/milestones/{milestone-public-id}Update Milestone
Shortcut::DefaultApiupdate_multiple_storiesPUT /api/v3/stories/bulkUpdate Multiple Stories
Shortcut::DefaultApiupdate_projectPUT /api/v3/projects/{project-public-id}Update Project
Shortcut::DefaultApiupdate_storyPUT /api/v3/stories/{story-public-id}Update Story
Shortcut::DefaultApiupdate_story_commentPUT /api/v3/stories/{story-public-id}/comments/{comment-public-id}Update Story Comment
Shortcut::DefaultApiupdate_story_linkPUT /api/v3/story-links/{story-link-public-id}Update Story Link
Shortcut::DefaultApiupdate_taskPUT /api/v3/stories/{story-public-id}/tasks/{task-public-id}Update Task
Shortcut::DefaultApiupload_filesPOST /api/v3/filesUpload Files

Documentation for Models

Documentation for Authorization

api_token

  • Type: API key
  • API key parameter name: Shortcut-Token
  • Location: HTTP header

FAQs

Package last updated on 04 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc