Shortcut API
This Python package is automatically generated by the Swagger Codegen project:
- API version: 3.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/Greenroom-Robotics/shortcut-client-py
(you may need to run pip
with root permission: sudo pip install git+https://github.com/Greenroom-Robotics/shortcut-client-py
)
Then import the package:
import shortcut_client_py
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import shortcut_client_py
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import shortcut_client_py
from shortcut_client_py.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateCategory() # CreateCategory |
try:
# Create Category
api_response = api_instance.create_category(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_category: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateEntityTemplate() # CreateEntityTemplate | Request paramaters for creating an entirely new entity template.
try:
# Create Entity Template
api_response = api_instance.create_entity_template(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_entity_template: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateEpic() # CreateEpic |
try:
# Create Epic
api_response = api_instance.create_epic(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_epic: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateEpicComment() # CreateEpicComment |
epic_public_id = 789 # int | The ID of the associated Epic.
try:
# Create Epic Comment
api_response = api_instance.create_epic_comment(body, epic_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_epic_comment: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateCommentComment() # CreateCommentComment |
epic_public_id = 789 # int | The ID of the associated Epic.
comment_public_id = 789 # int | The ID of the parent Epic Comment.
try:
# Create Epic Comment Comment
api_response = api_instance.create_epic_comment_comment(body, epic_public_id, comment_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_epic_comment_comment: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateGroup() # CreateGroup |
try:
# Create Group
api_response = api_instance.create_group(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_group: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateIteration() # CreateIteration |
try:
# Create Iteration
api_response = api_instance.create_iteration(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_iteration: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateLabelParams() # CreateLabelParams | Request parameters for creating a Label on a Shortcut Story.
try:
# Create Label
api_response = api_instance.create_label(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_label: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateLinkedFile() # CreateLinkedFile |
try:
# Create Linked File
api_response = api_instance.create_linked_file(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_linked_file: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateMilestone() # CreateMilestone |
try:
# Create Milestone
api_response = api_instance.create_milestone(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_milestone: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateStories() # CreateStories |
try:
# Create Multiple Stories
api_response = api_instance.create_multiple_stories(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_multiple_stories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateProject() # CreateProject |
try:
# Create Project
api_response = api_instance.create_project(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_project: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateStoryParams() # CreateStoryParams | Request parameters for creating a story.
try:
# Create Story
api_response = api_instance.create_story(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_story: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateStoryComment() # CreateStoryComment |
story_public_id = 789 # int | The ID of the Story that the Comment is in.
try:
# Create Story Comment
api_response = api_instance.create_story_comment(body, story_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_story_comment: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateStoryLink() # CreateStoryLink |
try:
# Create Story Link
api_response = api_instance.create_story_link(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_story_link: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateOrDeleteStoryReaction() # CreateOrDeleteStoryReaction |
story_public_id = 789 # int | The ID of the Story that the Comment is in.
comment_public_id = 789 # int | The ID of the Comment.
try:
# Create Story Reaction
api_response = api_instance.create_story_reaction(body, story_public_id, comment_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_story_reaction: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateTask() # CreateTask |
story_public_id = 789 # int | The ID of the Story that the Task will be in.
try:
# Create Task
api_response = api_instance.create_task(body, story_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->create_task: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
category_public_id = 789 # int | The unique ID of the Category.
try:
# Delete Category
api_instance.delete_category(category_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_category: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
entity_template_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | The unique ID of the entity template.
try:
# Delete Entity Template
api_instance.delete_entity_template(entity_template_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_entity_template: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
epic_public_id = 789 # int | The unique ID of the Epic.
try:
# Delete Epic
api_instance.delete_epic(epic_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_epic: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
epic_public_id = 789 # int | The ID of the associated Epic.
comment_public_id = 789 # int | The ID of the Comment.
try:
# Delete Epic Comment
api_instance.delete_epic_comment(epic_public_id, comment_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_epic_comment: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
file_public_id = 789 # int | The File’s unique ID.
try:
# Delete File
api_instance.delete_file(file_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_file: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
iteration_public_id = 789 # int | The unique ID of the Iteration.
try:
# Delete Iteration
api_instance.delete_iteration(iteration_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_iteration: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
label_public_id = 789 # int | The unique ID of the Label.
try:
# Delete Label
api_instance.delete_label(label_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_label: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
linked_file_public_id = 789 # int | The unique identifier of the linked file.
try:
# Delete Linked File
api_instance.delete_linked_file(linked_file_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_linked_file: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
milestone_public_id = 789 # int | The ID of the Milestone.
try:
# Delete Milestone
api_instance.delete_milestone(milestone_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_milestone: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.DeleteStories() # DeleteStories |
try:
# Delete Multiple Stories
api_instance.delete_multiple_stories(body)
except ApiException as e:
print("Exception when calling DefaultApi->delete_multiple_stories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
project_public_id = 789 # int | The unique ID of the Project.
try:
# Delete Project
api_instance.delete_project(project_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_project: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
story_public_id = 789 # int | The ID of the Story.
try:
# Delete Story
api_instance.delete_story(story_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_story: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
story_public_id = 789 # int | The ID of the Story that the Comment is in.
comment_public_id = 789 # int | The ID of the Comment.
try:
# Delete Story Comment
api_instance.delete_story_comment(story_public_id, comment_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_story_comment: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
story_link_public_id = 789 # int | The unique ID of the Story Link.
try:
# Delete Story Link
api_instance.delete_story_link(story_link_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_story_link: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.CreateOrDeleteStoryReaction() # CreateOrDeleteStoryReaction |
story_public_id = 789 # int | The ID of the Story that the Comment is in.
comment_public_id = 789 # int | The ID of the Comment.
try:
# Delete Story Reaction
api_instance.delete_story_reaction(body, story_public_id, comment_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_story_reaction: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
story_public_id = 789 # int | The unique ID of the Story this Task is associated with.
task_public_id = 789 # int | The unique ID of the Task.
try:
# Delete Task
api_instance.delete_task(story_public_id, task_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->delete_task: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# Disable Groups
api_instance.disable_groups()
except ApiException as e:
print("Exception when calling DefaultApi->disable_groups: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# Disable Iterations
api_instance.disable_iterations()
except ApiException as e:
print("Exception when calling DefaultApi->disable_iterations: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# Disable Story Templates
api_instance.disable_story_templates()
except ApiException as e:
print("Exception when calling DefaultApi->disable_story_templates: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# Enable Groups
api_instance.enable_groups()
except ApiException as e:
print("Exception when calling DefaultApi->enable_groups: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# Enable Iterations
api_instance.enable_iterations()
except ApiException as e:
print("Exception when calling DefaultApi->enable_iterations: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# Enable Story Templates
api_instance.enable_story_templates()
except ApiException as e:
print("Exception when calling DefaultApi->enable_story_templates: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
category_public_id = 789 # int | The unique ID of the Category.
try:
# Get Category
api_response = api_instance.get_category(category_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_category: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# Get Current Member Info
api_response = api_instance.get_current_member_info()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_current_member_info: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
entity_template_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | The unique ID of the entity template.
try:
# Get Entity Template
api_response = api_instance.get_entity_template(entity_template_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_entity_template: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
epic_public_id = 789 # int | The unique ID of the Epic.
try:
# Get Epic
api_response = api_instance.get_epic(epic_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_epic: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
epic_public_id = 789 # int | The ID of the associated Epic.
comment_public_id = 789 # int | The ID of the Comment.
try:
# Get Epic Comment
api_response = api_instance.get_epic_comment(epic_public_id, comment_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_epic_comment: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# Get Epic Workflow
api_response = api_instance.get_epic_workflow()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_epic_workflow: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.GetExternalLinkStoriesParams() # GetExternalLinkStoriesParams |
try:
# Get External Link Stories
api_response = api_instance.get_external_link_stories(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_external_link_stories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
file_public_id = 789 # int | The File’s unique ID.
try:
# Get File
api_response = api_instance.get_file(file_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_file: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
group_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | The unique ID of the Group.
try:
# Get Group
api_response = api_instance.get_group(group_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_group: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
iteration_public_id = 789 # int | The unique ID of the Iteration.
try:
# Get Iteration
api_response = api_instance.get_iteration(iteration_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_iteration: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
label_public_id = 789 # int | The unique ID of the Label.
try:
# Get Label
api_response = api_instance.get_label(label_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_label: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
linked_file_public_id = 789 # int | The unique identifier of the linked file.
try:
# Get Linked File
api_response = api_instance.get_linked_file(linked_file_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_linked_file: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.GetMember() # GetMember |
member_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | The Member's unique ID.
try:
# Get Member
api_response = api_instance.get_member(body, member_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_member: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
milestone_public_id = 789 # int | The ID of the Milestone.
try:
# Get Milestone
api_response = api_instance.get_milestone(milestone_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_milestone: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
project_public_id = 789 # int | The unique ID of the Project.
try:
# Get Project
api_response = api_instance.get_project(project_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_project: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
repo_public_id = 789 # int | The unique ID of the Repository.
try:
# Get Repository
api_response = api_instance.get_repository(repo_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_repository: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
story_public_id = 789 # int | The ID of the Story.
try:
# Get Story
api_response = api_instance.get_story(story_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_story: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
story_public_id = 789 # int | The ID of the Story that the Comment is in.
comment_public_id = 789 # int | The ID of the Comment.
try:
# Get Story Comment
api_response = api_instance.get_story_comment(story_public_id, comment_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_story_comment: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
story_link_public_id = 789 # int | The unique ID of the Story Link.
try:
# Get Story Link
api_response = api_instance.get_story_link(story_link_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_story_link: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
story_public_id = 789 # int | The unique ID of the Story this Task is associated with.
task_public_id = 789 # int | The unique ID of the Task.
try:
# Get Task
api_response = api_instance.get_task(story_public_id, task_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_task: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
workflow_public_id = 789 # int | The ID of the Workflow.
try:
# Get Workflow
api_response = api_instance.get_workflow(workflow_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->get_workflow: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# List Categories
api_response = api_instance.list_categories()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_categories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
category_public_id = 789 # int | The unique ID of the Category.
try:
# List Category Milestones
api_response = api_instance.list_category_milestones(category_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_category_milestones: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# List Entity Templates
api_response = api_instance.list_entity_templates()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_entity_templates: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
epic_public_id = 789 # int | The unique ID of the Epic.
try:
# List Epic Comments
api_response = api_instance.list_epic_comments(epic_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_epic_comments: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.GetEpicStories() # GetEpicStories |
epic_public_id = 789 # int | The unique ID of the Epic.
try:
# List Epic Stories
api_response = api_instance.list_epic_stories(body, epic_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_epic_stories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.ListEpics() # ListEpics |
try:
# List Epics
api_response = api_instance.list_epics(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_epics: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# List Files
api_response = api_instance.list_files()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_files: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.ListGroupStories() # ListGroupStories |
group_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | The unique ID of the Group.
try:
# List Group Stories
api_response = api_instance.list_group_stories(body, group_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_group_stories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# List Groups
api_response = api_instance.list_groups()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_groups: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.GetIterationStories() # GetIterationStories |
iteration_public_id = 789 # int | The unique ID of the Iteration.
try:
# List Iteration Stories
api_response = api_instance.list_iteration_stories(body, iteration_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_iteration_stories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# List Iterations
api_response = api_instance.list_iterations()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_iterations: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
label_public_id = 789 # int | The unique ID of the Label.
try:
# List Label Epics
api_response = api_instance.list_label_epics(label_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_label_epics: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.GetLabelStories() # GetLabelStories |
label_public_id = 789 # int | The unique ID of the Label.
try:
# List Label Stories
api_response = api_instance.list_label_stories(body, label_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_label_stories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.ListLabels() # ListLabels |
try:
# List Labels
api_response = api_instance.list_labels(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_labels: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# List Linked Files
api_response = api_instance.list_linked_files()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_linked_files: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.ListMembers() # ListMembers |
try:
# List Members
api_response = api_instance.list_members(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_members: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
milestone_public_id = 789 # int | The ID of the Milestone.
try:
# List Milestone Epics
api_response = api_instance.list_milestone_epics(milestone_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_milestone_epics: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# List Milestones
api_response = api_instance.list_milestones()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_milestones: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# List Projects
api_response = api_instance.list_projects()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_projects: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# List Repositories
api_response = api_instance.list_repositories()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_repositories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.GetProjectStories() # GetProjectStories |
project_public_id = 789 # int | The unique ID of the Project.
try:
# List Stories
api_response = api_instance.list_stories(body, project_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_stories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
try:
# List Workflows
api_response = api_instance.list_workflows()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->list_workflows: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.Search() # Search |
try:
# Search
api_response = api_instance.search(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->search: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.Search() # Search |
try:
# Search Epics
api_response = api_instance.search_epics(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->search_epics: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.Search() # Search |
try:
# Search Stories
api_response = api_instance.search_stories(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->search_stories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.SearchStories() # SearchStories |
try:
# Search Stories (Old)
api_response = api_instance.search_stories_old(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->search_stories_old: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
story_public_id = 789 # int | The ID of the Story.
try:
# Story History
api_response = api_instance.story_history(story_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->story_history: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
epic_public_id = 789 # int | The unique ID of the Epic.
try:
# Unlink Productboard from Epic
api_instance.unlink_productboard_from_epic(epic_public_id)
except ApiException as e:
print("Exception when calling DefaultApi->unlink_productboard_from_epic: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateCategory() # UpdateCategory |
category_public_id = 789 # int | The unique ID of the Category you wish to update.
try:
# Update Category
api_response = api_instance.update_category(body, category_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_category: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateEntityTemplate() # UpdateEntityTemplate | Request parameters for changing either a template's name or any of
the attributes it is designed to pre-populate.
entity_template_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | The unique ID of the template to be updated.
try:
# Update Entity Template
api_response = api_instance.update_entity_template(body, entity_template_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_entity_template: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateEpic() # UpdateEpic |
epic_public_id = 789 # int | The unique ID of the Epic.
try:
# Update Epic
api_response = api_instance.update_epic(body, epic_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_epic: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateComment() # UpdateComment |
epic_public_id = 789 # int | The ID of the associated Epic.
comment_public_id = 789 # int | The ID of the Comment.
try:
# Update Epic Comment
api_response = api_instance.update_epic_comment(body, epic_public_id, comment_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_epic_comment: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateFile() # UpdateFile |
file_public_id = 789 # int | The unique ID assigned to the file in Shortcut.
try:
# Update File
api_response = api_instance.update_file(body, file_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_file: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateGroup() # UpdateGroup |
group_public_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | The unique ID of the Group.
try:
# Update Group
api_response = api_instance.update_group(body, group_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_group: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateIteration() # UpdateIteration |
iteration_public_id = 789 # int | The unique ID of the Iteration.
try:
# Update Iteration
api_response = api_instance.update_iteration(body, iteration_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_iteration: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateLabel() # UpdateLabel |
label_public_id = 789 # int | The unique ID of the Label you wish to update.
try:
# Update Label
api_response = api_instance.update_label(body, label_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_label: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateLinkedFile() # UpdateLinkedFile |
linked_file_public_id = 789 # int | The unique identifier of the linked file.
try:
# Update Linked File
api_response = api_instance.update_linked_file(body, linked_file_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_linked_file: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateMilestone() # UpdateMilestone |
milestone_public_id = 789 # int | The ID of the Milestone.
try:
# Update Milestone
api_response = api_instance.update_milestone(body, milestone_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_milestone: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateStories() # UpdateStories |
try:
# Update Multiple Stories
api_response = api_instance.update_multiple_stories(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_multiple_stories: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateProject() # UpdateProject |
project_public_id = 789 # int | The unique ID of the Project.
try:
# Update Project
api_response = api_instance.update_project(body, project_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_project: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateStory() # UpdateStory |
story_public_id = 789 # int | The unique identifier of this story.
try:
# Update Story
api_response = api_instance.update_story(body, story_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_story: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateStoryComment() # UpdateStoryComment |
story_public_id = 789 # int | The ID of the Story that the Comment is in.
comment_public_id = 789 # int | The ID of the Comment
try:
# Update Story Comment
api_response = api_instance.update_story_comment(body, story_public_id, comment_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_story_comment: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateStoryLink() # UpdateStoryLink |
story_link_public_id = 789 # int | The unique ID of the Story Link.
try:
# Update Story Link
api_response = api_instance.update_story_link(body, story_link_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_story_link: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
body = shortcut_client_py.UpdateTask() # UpdateTask |
story_public_id = 789 # int | The unique identifier of the parent Story.
task_public_id = 789 # int | The unique identifier of the Task you wish to update.
try:
# Update Task
api_response = api_instance.update_task(body, story_public_id, task_public_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->update_task: %s\n" % e)
# Configure API key authorization: api_token
configuration = shortcut_client_py.Configuration()
configuration.api_key['Shortcut-Token'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Shortcut-Token'] = 'Bearer'
# create an instance of the API class
api_instance = shortcut_client_py.DefaultApi(shortcut_client_py.ApiClient(configuration))
story_id = 789 # int |
file0 = 'file0_example' # str |
file1 = 'file1_example' # str |
file2 = 'file2_example' # str |
file3 = 'file3_example' # str |
try:
# Upload Files
api_response = api_instance.upload_files(story_id, file0, file1, file2, file3)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->upload_files: %s\n" % e)
All URIs are relative to https://api.app.shortcut.com/
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | create_category | POST /api/v3/categories | Create Category |
DefaultApi | create_entity_template | POST /api/v3/entity-templates | Create Entity Template |
DefaultApi | create_epic | POST /api/v3/epics | Create Epic |
DefaultApi | create_epic_comment | POST /api/v3/epics/{epic-public-id}/comments | Create Epic Comment |
DefaultApi | create_epic_comment_comment | POST /api/v3/epics/{epic-public-id}/comments/{comment-public-id} | Create Epic Comment Comment |
DefaultApi | create_group | POST /api/v3/groups | Create Group |
DefaultApi | create_iteration | POST /api/v3/iterations | Create Iteration |
DefaultApi | create_label | POST /api/v3/labels | Create Label |
DefaultApi | create_linked_file | POST /api/v3/linked-files | Create Linked File |
DefaultApi | create_milestone | POST /api/v3/milestones | Create Milestone |
DefaultApi | create_multiple_stories | POST /api/v3/stories/bulk | Create Multiple Stories |
DefaultApi | create_project | POST /api/v3/projects | Create Project |
DefaultApi | create_story | POST /api/v3/stories | Create Story |
DefaultApi | create_story_comment | POST /api/v3/stories/{story-public-id}/comments | Create Story Comment |
DefaultApi | create_story_link | POST /api/v3/story-links | Create Story Link |
DefaultApi | create_story_reaction | POST /api/v3/stories/{story-public-id}/comments/{comment-public-id}/reactions | Create Story Reaction |
DefaultApi | create_task | POST /api/v3/stories/{story-public-id}/tasks | Create Task |
DefaultApi | delete_category | DELETE /api/v3/categories/{category-public-id} | Delete Category |
DefaultApi | delete_entity_template | DELETE /api/v3/entity-templates/{entity-template-public-id} | Delete Entity Template |
DefaultApi | delete_epic | DELETE /api/v3/epics/{epic-public-id} | Delete Epic |
DefaultApi | delete_epic_comment | DELETE /api/v3/epics/{epic-public-id}/comments/{comment-public-id} | Delete Epic Comment |
DefaultApi | delete_file | DELETE /api/v3/files/{file-public-id} | Delete File |
DefaultApi | delete_iteration | DELETE /api/v3/iterations/{iteration-public-id} | Delete Iteration |
DefaultApi | delete_label | DELETE /api/v3/labels/{label-public-id} | Delete Label |
DefaultApi | delete_linked_file | DELETE /api/v3/linked-files/{linked-file-public-id} | Delete Linked File |
DefaultApi | delete_milestone | DELETE /api/v3/milestones/{milestone-public-id} | Delete Milestone |
DefaultApi | delete_multiple_stories | DELETE /api/v3/stories/bulk | Delete Multiple Stories |
DefaultApi | delete_project | DELETE /api/v3/projects/{project-public-id} | Delete Project |
DefaultApi | delete_story | DELETE /api/v3/stories/{story-public-id} | Delete Story |
DefaultApi | delete_story_comment | DELETE /api/v3/stories/{story-public-id}/comments/{comment-public-id} | Delete Story Comment |
DefaultApi | delete_story_link | DELETE /api/v3/story-links/{story-link-public-id} | Delete Story Link |
DefaultApi | delete_story_reaction | DELETE /api/v3/stories/{story-public-id}/comments/{comment-public-id}/reactions | Delete Story Reaction |
DefaultApi | delete_task | DELETE /api/v3/stories/{story-public-id}/tasks/{task-public-id} | Delete Task |
DefaultApi | disable_groups | PUT /api/v3/groups/disable | Disable Groups |
DefaultApi | disable_iterations | PUT /api/v3/iterations/disable | Disable Iterations |
DefaultApi | disable_story_templates | PUT /api/v3/entity-templates/disable | Disable Story Templates |
DefaultApi | enable_groups | PUT /api/v3/groups/enable | Enable Groups |
DefaultApi | enable_iterations | PUT /api/v3/iterations/enable | Enable Iterations |
DefaultApi | enable_story_templates | PUT /api/v3/entity-templates/enable | Enable Story Templates |
DefaultApi | get_category | GET /api/v3/categories/{category-public-id} | Get Category |
DefaultApi | get_current_member_info | GET /api/v3/member | Get Current Member Info |
DefaultApi | get_entity_template | GET /api/v3/entity-templates/{entity-template-public-id} | Get Entity Template |
DefaultApi | get_epic | GET /api/v3/epics/{epic-public-id} | Get Epic |
DefaultApi | get_epic_comment | GET /api/v3/epics/{epic-public-id}/comments/{comment-public-id} | Get Epic Comment |
DefaultApi | get_epic_workflow | GET /api/v3/epic-workflow | Get Epic Workflow |
DefaultApi | get_external_link_stories | GET /api/v3/external-link/stories | Get External Link Stories |
DefaultApi | get_file | GET /api/v3/files/{file-public-id} | Get File |
DefaultApi | get_group | GET /api/v3/groups/{group-public-id} | Get Group |
DefaultApi | get_iteration | GET /api/v3/iterations/{iteration-public-id} | Get Iteration |
DefaultApi | get_label | GET /api/v3/labels/{label-public-id} | Get Label |
DefaultApi | get_linked_file | GET /api/v3/linked-files/{linked-file-public-id} | Get Linked File |
DefaultApi | get_member | GET /api/v3/members/{member-public-id} | Get Member |
DefaultApi | get_milestone | GET /api/v3/milestones/{milestone-public-id} | Get Milestone |
DefaultApi | get_project | GET /api/v3/projects/{project-public-id} | Get Project |
DefaultApi | get_repository | GET /api/v3/repositories/{repo-public-id} | Get Repository |
DefaultApi | get_story | GET /api/v3/stories/{story-public-id} | Get Story |
DefaultApi | get_story_comment | GET /api/v3/stories/{story-public-id}/comments/{comment-public-id} | Get Story Comment |
DefaultApi | get_story_link | GET /api/v3/story-links/{story-link-public-id} | Get Story Link |
DefaultApi | get_task | GET /api/v3/stories/{story-public-id}/tasks/{task-public-id} | Get Task |
DefaultApi | get_workflow | GET /api/v3/workflows/{workflow-public-id} | Get Workflow |
DefaultApi | list_categories | GET /api/v3/categories | List Categories |
DefaultApi | list_category_milestones | GET /api/v3/categories/{category-public-id}/milestones | List Category Milestones |
DefaultApi | list_entity_templates | GET /api/v3/entity-templates | List Entity Templates |
DefaultApi | list_epic_comments | GET /api/v3/epics/{epic-public-id}/comments | List Epic Comments |
DefaultApi | list_epic_stories | GET /api/v3/epics/{epic-public-id}/stories | List Epic Stories |
DefaultApi | list_epics | GET /api/v3/epics | List Epics |
DefaultApi | list_files | GET /api/v3/files | List Files |
DefaultApi | list_group_stories | GET /api/v3/groups/{group-public-id}/stories | List Group Stories |
DefaultApi | list_groups | GET /api/v3/groups | List Groups |
DefaultApi | list_iteration_stories | GET /api/v3/iterations/{iteration-public-id}/stories | List Iteration Stories |
DefaultApi | list_iterations | GET /api/v3/iterations | List Iterations |
DefaultApi | list_label_epics | GET /api/v3/labels/{label-public-id}/epics | List Label Epics |
DefaultApi | list_label_stories | GET /api/v3/labels/{label-public-id}/stories | List Label Stories |
DefaultApi | list_labels | GET /api/v3/labels | List Labels |
DefaultApi | list_linked_files | GET /api/v3/linked-files | List Linked Files |
DefaultApi | list_members | GET /api/v3/members | List Members |
DefaultApi | list_milestone_epics | GET /api/v3/milestones/{milestone-public-id}/epics | List Milestone Epics |
DefaultApi | list_milestones | GET /api/v3/milestones | List Milestones |
DefaultApi | list_projects | GET /api/v3/projects | List Projects |
DefaultApi | list_repositories | GET /api/v3/repositories | List Repositories |
DefaultApi | list_stories | GET /api/v3/projects/{project-public-id}/stories | List Stories |
DefaultApi | list_workflows | GET /api/v3/workflows | List Workflows |
DefaultApi | search | GET /api/v3/search | Search |
DefaultApi | search_epics | GET /api/v3/search/epics | Search Epics |
DefaultApi | search_stories | GET /api/v3/search/stories | Search Stories |
DefaultApi | search_stories_old | POST /api/v3/stories/search | Search Stories (Old) |
DefaultApi | story_history | GET /api/v3/stories/{story-public-id}/history | Story History |
DefaultApi | unlink_productboard_from_epic | POST /api/v3/epics/{epic-public-id}/unlink-productboard | Unlink Productboard from Epic |
DefaultApi | update_category | PUT /api/v3/categories/{category-public-id} | Update Category |
DefaultApi | update_entity_template | PUT /api/v3/entity-templates/{entity-template-public-id} | Update Entity Template |
DefaultApi | update_epic | PUT /api/v3/epics/{epic-public-id} | Update Epic |
DefaultApi | update_epic_comment | PUT /api/v3/epics/{epic-public-id}/comments/{comment-public-id} | Update Epic Comment |
DefaultApi | update_file | PUT /api/v3/files/{file-public-id} | Update File |
DefaultApi | update_group | PUT /api/v3/groups/{group-public-id} | Update Group |
DefaultApi | update_iteration | PUT /api/v3/iterations/{iteration-public-id} | Update Iteration |
DefaultApi | update_label | PUT /api/v3/labels/{label-public-id} | Update Label |
DefaultApi | update_linked_file | PUT /api/v3/linked-files/{linked-file-public-id} | Update Linked File |
DefaultApi | update_milestone | PUT /api/v3/milestones/{milestone-public-id} | Update Milestone |
DefaultApi | update_multiple_stories | PUT /api/v3/stories/bulk | Update Multiple Stories |
DefaultApi | update_project | PUT /api/v3/projects/{project-public-id} | Update Project |
DefaultApi | update_story | PUT /api/v3/stories/{story-public-id} | Update Story |
DefaultApi | update_story_comment | PUT /api/v3/stories/{story-public-id}/comments/{comment-public-id} | Update Story Comment |
DefaultApi | update_story_link | PUT /api/v3/story-links/{story-link-public-id} | Update Story Link |
DefaultApi | update_task | PUT /api/v3/stories/{story-public-id}/tasks/{task-public-id} | Update Task |
DefaultApi | upload_files | POST /api/v3/files | Upload Files |
- BasicWorkspaceInfo
- Branch
- Category
- Commit
- CreateCategory
- CreateCategoryParams
- CreateCommentComment
- CreateEntityTemplate
- CreateEpic
- CreateEpicComment
- CreateGroup
- CreateIteration
- CreateLabelParams
- CreateLinkedFile
- CreateMilestone
- CreateOrDeleteStoryReaction
- CreateProject
- CreateStories
- CreateStoryComment
- CreateStoryCommentParams
- CreateStoryContents
- CreateStoryLink
- CreateStoryLinkParams
- CreateStoryParams
- CreateTask
- CreateTaskParams
- CustomFieldValueParams
- DeleteStories
- EntityTemplate
- EntityTemplateTask
- Epic
- EpicSearchResults
- EpicSlim
- EpicState
- EpicStats
- EpicWorkflow
- GetEpicStories
- GetExternalLinkStoriesParams
- GetIterationStories
- GetLabelStories
- GetMember
- GetProjectStories
- Group
- History
- HistoryActionBranchCreate
- HistoryActionBranchMerge
- HistoryActionBranchPush
- HistoryActionLabelCreate
- HistoryActionLabelDelete
- HistoryActionLabelUpdate
- HistoryActionProjectUpdate
- HistoryActionPullRequest
- HistoryActionStoryCommentCreate
- HistoryActionStoryCreate
- HistoryActionStoryDelete
- HistoryActionStoryLinkCreate
- HistoryActionStoryLinkDelete
- HistoryActionStoryLinkUpdate
- HistoryActionStoryUpdate
- HistoryActionTaskCreate
- HistoryActionTaskDelete
- HistoryActionTaskUpdate
- HistoryChangesStory
- HistoryChangesStoryLink
- HistoryChangesTask
- HistoryReferenceBranch
- HistoryReferenceCommit
- HistoryReferenceEpic
- HistoryReferenceGeneral
- HistoryReferenceGroup
- HistoryReferenceIteration
- HistoryReferenceLabel
- HistoryReferenceProject
- HistoryReferenceStory
- HistoryReferenceStoryTask
- HistoryReferenceWorkflowState
- Icon
- Identity
- Iteration
- IterationSlim
- IterationStats
- Label
- LabelSlim
- LabelStats
- LinkedFile
- ListEpics
- ListGroupStories
- ListLabels
- ListMembers
- MaxSearchResultsExceededError
- Member
- MemberInfo
- Milestone
- MilestoneStats
- Profile
- Project
- ProjectStats
- PullRequest
- PullRequestLabel
- Repository
- Search
- SearchResults
- SearchStories
- Story
- StoryComment
- StoryContents
- StoryContentsTask
- StoryCustomField
- StoryHistoryChangeAddsRemovesInt
- StoryHistoryChangeAddsRemovesUuid
- StoryHistoryChangeOldNewBool
- StoryHistoryChangeOldNewInt
- StoryHistoryChangeOldNewStr
- StoryHistoryChangeOldNewUuid
- StoryLink
- StoryReaction
- StorySearchResults
- StorySlim
- StoryStats
- Task
- ThreadedComment
- TypedStoryLink
- UnusableEntitlementError
- UpdateCategory
- UpdateComment
- UpdateEntityTemplate
- UpdateEpic
- UpdateFile
- UpdateGroup
- UpdateIteration
- UpdateLabel
- UpdateLinkedFile
- UpdateMilestone
- UpdateProject
- UpdateStories
- UpdateStory
- UpdateStoryComment
- UpdateStoryContents
- UpdateStoryLink
- UpdateTask
- UploadedFile
- V3FilesBody
- Workflow
- WorkflowState
- Type: API key
- API key parameter name: Shortcut-Token
- Location: HTTP header