Code
stringlengths 103
85.9k
| Summary
listlengths 0
94
|
---|---|
Please provide a description of the function:def dynamic_content_item_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/dynamic_content#create-item"
api_path = "/api/v2/dynamic_content/items.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def dynamic_content_item_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/dynamic_content#delete-item"
api_path = "/api/v2/dynamic_content/items/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def dynamic_content_item_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-item"
api_path = "/api/v2/dynamic_content/items/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def dynamic_content_item_variant_delete(self, item_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/dynamic_content#delete-variant"
api_path = "/api/v2/dynamic_content/items/{item_id}/variants/{id}.json"
api_path = api_path.format(item_id=item_id, id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def dynamic_content_item_variant_show(self, item_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-variant"
api_path = "/api/v2/dynamic_content/items/{item_id}/variants/{id}.json"
api_path = api_path.format(item_id=item_id, id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def dynamic_content_item_variant_update(self, item_id, id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/dynamic_content#update-variant"
api_path = "/api/v2/dynamic_content/items/{item_id}/variants/{id}.json"
api_path = api_path.format(item_id=item_id, id=id)
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def dynamic_content_item_variants(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/dynamic_content#list-variants"
api_path = "/api/v2/dynamic_content/items/{id}/variants.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def dynamic_content_items_show_many(self, identifiers=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-many-items"
api_path = "/api/v2/dynamic_content/items/show_many.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if identifiers:
api_query.update({
"identifiers": identifiers,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function:def end_user_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/end_user#show-user"
api_path = "/api/v2/end_users/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def goal_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/goals#create-goal"
api_path = "/api/v2/goals"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def goal_delete(self, goal_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/goals#delete-goal"
api_path = "/api/v2/goals/{goal_id}"
api_path = api_path.format(goal_id=goal_id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def goal_show(self, goal_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/goals#get-goal"
api_path = "/api/v2/goals/{goal_id}"
api_path = api_path.format(goal_id=goal_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def goal_update(self, goal_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/goals#update-goal"
api_path = "/api/v2/goals/{goal_id}"
api_path = api_path.format(goal_id=goal_id)
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def graphql_request_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/conversations-api#api-path"
api_path = "/graphql/request"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def group_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/groups#create-group"
api_path = "/api/v2/groups.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def group_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/groups#delete-group"
api_path = "/api/v2/groups/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def group_membership_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#create-membership"
api_path = "/api/v2/group_memberships.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def group_membership_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#delete-membership"
api_path = "/api/v2/group_memberships/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def group_membership_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#show-membership"
api_path = "/api/v2/group_memberships/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def group_memberships(self, group_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#list-memberships"
api_path = "/api/v2/groups/{group_id}/memberships.json"
api_path = api_path.format(group_id=group_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def group_memberships_assignable(self, group_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#list-assignable-memberships"
api_path = "/api/v2/groups/{group_id}/memberships/assignable.json"
api_path = api_path.format(group_id=group_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def group_memberships_create_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#bulk-create-memberships"
api_path = "/api/v2/group_memberships/create_many.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def group_memberships_destroy_many(self, ids=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#bulk-delete-memberships"
api_path = "/api/v2/group_memberships/destroy_many.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if ids:
api_query.update({
"ids": ids,
})
return self.call(api_path, query=api_query, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def group_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/groups#show-group"
api_path = "/api/v2/groups/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_article_comment_delete(self, article_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/comments#delete-comment"
api_path = "/api/v2/help_center/articles/{article_id}/comments/{id}.json"
api_path = api_path.format(article_id=article_id, id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def help_center_article_comment_down_create(self, article_id, id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/votes#create-vote"
api_path = "/api/v2/help_center/articles/{article_id}/comments/{id}/down.json"
api_path = api_path.format(article_id=article_id, id=id)
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def help_center_article_comment_votes(self, article_id, comment_id, locale=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes"
api_path = "/api/v2/help_center/articles/{article_id}/comments/{comment_id}/votes.json"
api_path = api_path.format(article_id=article_id, comment_id=comment_id)
if locale:
api_opt_path = "/api/v2/help_center/{locale}/articles/{article_id}/comments/{comment_id}/votes.json"
api_path = api_opt_path.format(article_id=article_id, comment_id=comment_id, locale=locale)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_article_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/articles#archive-article"
api_path = "/api/v2/help_center/articles/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def help_center_article_labels(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/labels#list-article-labels"
api_path = "/api/v2/help_center/articles/{id}/labels.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_article_show(self, locale, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/articles#show-article"
api_path = "/api/v2/help_center/{locale}/articles/{id}.json"
api_path = api_path.format(locale=locale, id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_article_subscription_show(self, article_id, id, locale=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-article-subscription"
api_path = "/api/v2/help_center/articles/{article_id}/subscriptions/{id}.json"
api_path = api_path.format(article_id=article_id, id=id)
if locale:
api_opt_path = "/api/v2/help_center/{locale}/articles/{article_id}/subscriptions/{id}.json"
api_path = api_opt_path.format(article_id=article_id, id=id, locale=locale)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_article_subscriptions(self, article_id, locale=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-article-subscriptions"
api_path = "/api/v2/help_center/articles/{article_id}/subscriptions.json"
api_path = api_path.format(article_id=article_id)
if locale:
api_opt_path = "/api/v2/help_center/{locale}/articles/{article_id}/subscriptions.json"
api_path = api_opt_path.format(article_id=article_id, locale=locale)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_article_translation_create(self, article_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#create-translation"
api_path = "/api/v2/help_center/articles/{article_id}/translations.json"
api_path = api_path.format(article_id=article_id)
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def help_center_article_translation_show(self, article_id, locale, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#show-translation"
api_path = "/api/v2/help_center/articles/{article_id}/translations/{locale}.json"
api_path = api_path.format(article_id=article_id, locale=locale)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_article_translation_update(self, article_id, locale, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#update-translation"
api_path = "/api/v2/help_center/articles/{article_id}/translations/{locale}.json"
api_path = api_path.format(article_id=article_id, locale=locale)
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def help_center_article_translations(self, article_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#list-translations"
api_path = "/api/v2/help_center/articles/{article_id}/translations.json"
api_path = api_path.format(article_id=article_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_article_translations_missing(self, article_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#list-missing-translations"
api_path = "/api/v2/help_center/articles/{article_id}/translations/missing.json"
api_path = api_path.format(article_id=article_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_articles_attachment_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/article_attachments#create-unassociated-attachment"
api_path = "/api/v2/help_center/articles/attachments.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def help_center_articles_attachment_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/article_attachments#delete-article-attachment"
api_path = "/api/v2/help_center/articles/attachments/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def help_center_articles_label_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/labels#show-label"
api_path = "/api/v2/help_center/articles/labels/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_articles_labels_list(self, locale=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/labels#list-all-labels"
api_path = "/api/v2/help_center/articles/labels.json"
if locale:
api_opt_path = "/api/v2/help_center/{locale}/articles/labels.json"
api_path = api_opt_path.format(locale=locale)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_articles_search(self, category=None, label_names=None, locale=None, query=None, section=None, updated_after=None, updated_before=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/search#search-articles"
api_path = "/api/v2/help_center/articles/search.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if category:
api_query.update({
"category": category,
})
if label_names:
api_query.update({
"label_names": label_names,
})
if locale:
api_query.update({
"locale": locale,
})
if query:
api_query.update({
"query": query,
})
if section:
api_query.update({
"section": section,
})
if updated_after:
api_query.update({
"updated_after": updated_after,
})
if updated_before:
api_query.update({
"updated_before": updated_before,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function:def help_center_categories_list(self, locale=None, sort_by=None, sort_order=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/categories#list-categories"
api_path = "/api/v2/help_center/categories.json"
if locale:
api_opt_path = "/api/v2/help_center/{locale}/categories.json"
api_path = api_opt_path.format(locale=locale)
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if sort_by:
api_query.update({
"sort_by": sort_by,
})
if sort_order:
api_query.update({
"sort_order": sort_order,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function:def help_center_category_create(self, data, locale=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/categories#create-category"
api_path = "/api/v2/help_center/categories.json"
if locale:
api_opt_path = "/api/v2/help_center/{locale}/categories.json"
api_path = api_opt_path.format(locale=locale)
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def help_center_category_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/categories#delete-category"
api_path = "/api/v2/help_center/categories/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def help_center_category_translation_create(self, category_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#create-translation"
api_path = "/api/v2/help_center/categories/{category_id}/translations.json"
api_path = api_path.format(category_id=category_id)
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def help_center_category_translation_update(self, category_id, locale, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#update-translation"
api_path = "/api/v2/help_center/categories/{category_id}/translations/{locale}.json"
api_path = api_path.format(category_id=category_id, locale=locale)
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def help_center_category_translations(self, category_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#list-translations"
api_path = "/api/v2/help_center/categories/{category_id}/translations.json"
api_path = api_path.format(category_id=category_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_category_translations_missing(self, category_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#list-missing-translations"
api_path = "/api/v2/help_center/categories/{category_id}/translations/missing.json"
api_path = api_path.format(category_id=category_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_category_update(self, id, data, locale=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/categories#update-category"
api_path = "/api/v2/help_center/categories/{id}.json"
api_path = api_path.format(id=id)
if locale:
api_opt_path = "/api/v2/help_center/{locale}/categories/{id}.json"
api_path = api_opt_path.format(id=id, locale=locale)
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def help_center_incremental_articles_list(self, start_time=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/articles#list-articles"
api_path = "/api/v2/help_center/incremental/articles.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if start_time:
api_query.update({
"start_time": start_time,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function:def help_center_section_articles(self, id, locale=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/articles#list-articles"
api_path = "/api/v2/help_center/sections/{id}/articles.json"
api_path = api_path.format(id=id)
if locale:
api_opt_path = "/api/v2/help_center/{locale}/sections/{id}/articles.json"
api_path = api_opt_path.format(id=id, locale=locale)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_section_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/sections#delete-section"
api_path = "/api/v2/help_center/sections/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def help_center_section_subscription_delete(self, section_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#delete-section-subscription"
api_path = "/api/v2/help_center/sections/{section_id}/subscriptions/{id}.json"
api_path = api_path.format(section_id=section_id, id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def help_center_section_subscription_show(self, section_id, id, locale=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-section-subscription"
api_path = "/api/v2/help_center/sections/{section_id}/subscriptions/{id}.json"
api_path = api_path.format(section_id=section_id, id=id)
if locale:
api_opt_path = "/api/v2/help_center/{locale}/sections/{section_id}/subscriptions/{id}.json"
api_path = api_opt_path.format(section_id=section_id, id=id, locale=locale)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_section_subscriptions(self, section_id, locale=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-section-subscriptions"
api_path = "/api/v2/help_center/sections/{section_id}/subscriptions.json"
api_path = api_path.format(section_id=section_id)
if locale:
api_opt_path = "/api/v2/help_center/{locale}/sections/{section_id}/subscriptions.json"
api_path = api_opt_path.format(section_id=section_id, locale=locale)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_section_translation_create(self, section_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#create-translation"
api_path = "/api/v2/help_center/sections/{section_id}/translations.json"
api_path = api_path.format(section_id=section_id)
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def help_center_section_translation_update(self, section_id, locale, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#update-translation"
api_path = "/api/v2/help_center/sections/{section_id}/translations/{locale}.json"
api_path = api_path.format(section_id=section_id, locale=locale)
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def help_center_section_translations(self, section_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#list-translations"
api_path = "/api/v2/help_center/sections/{section_id}/translations.json"
api_path = api_path.format(section_id=section_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_section_translations_missing(self, section_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#list-missing-translations"
api_path = "/api/v2/help_center/sections/{section_id}/translations/missing.json"
api_path = api_path.format(section_id=section_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_translation_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/translations#delete-translation"
api_path = "/api/v2/help_center/translations/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def help_center_user_articles(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/articles#list-articles"
api_path = "/api/v2/help_center/users/{id}/articles.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_user_comments(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/comments#list-comments"
api_path = "/api/v2/help_center/users/{id}/comments.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_user_segment_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/user_segments#create-user-segment"
api_path = "/api/v2/help_center/user_segments.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def help_center_user_segment_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/user_segments#delete-user-segment"
api_path = "/api/v2/help_center/user_segments/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def help_center_user_segment_sections(self, user_segment_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/user_segments#list-sections-using-a-user-segment"
api_path = "/api/v2/help_center/user_segments/{user_segment_id}/sections.json"
api_path = api_path.format(user_segment_id=user_segment_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_user_segment_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/user_segments#show-user-segment"
api_path = "/api/v2/help_center/user_segments/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_user_segment_topics(self, user_segment_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/user_segments#list-topics-using-a-user-segment"
api_path = "/api/v2/help_center/user_segments/{user_segment_id}/topics.json"
api_path = api_path.format(user_segment_id=user_segment_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_user_subscriptions(self, user_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-subscriptions-by-user"
api_path = "/api/v2/help_center/users/{user_id}/subscriptions.json"
api_path = api_path.format(user_id=user_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_user_user_segments(self, user_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/user_segments#list-user-segments"
api_path = "/api/v2/help_center/users/{user_id}/user_segments.json"
api_path = api_path.format(user_id=user_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_user_votes(self, user_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes"
api_path = "/api/v2/help_center/users/{user_id}/votes.json"
api_path = api_path.format(user_id=user_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def help_center_vote_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/votes#delete-vote"
api_path = "/api/v2/help_center/votes/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def help_center_vote_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/help_center/votes#show-vote"
api_path = "/api/v2/help_center/votes/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def imports_ticket(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_import#ticket-import"
api_path = "/api/v2/imports/tickets.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def imports_tickets_create_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_import#ticket-bulk-import"
api_path = "/api/v2/imports/tickets/create_many.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def incremental_sample(self, item, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/incremental_export#incremental-sample-export"
api_path = "/api/v2/incremental/{item}/sample.json"
api_path = api_path.format(item=item)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def incremental_tickets_list(self, include=None, start_time=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/incremental_export#start-time"
api_path = "/api/v2/incremental/tickets.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if include:
api_query.update({
"include": include,
})
if start_time:
api_query.update({
"start_time": start_time,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function:def job_status_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/job_statuses#show-job-status"
api_path = "/api/v2/job_statuses/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def locale_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/locales#show-locale"
api_path = "/api/v2/locales/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def macro_apply(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/macros#show-changes-to-ticket"
api_path = "/api/v2/macros/{id}/apply.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def macro_attachment_create(self, macro_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/macros#create-macro-attachment"
api_path = "/api/v2/macros/{macro_id}/attachments.json"
api_path = api_path.format(macro_id=macro_id)
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def macro_attachments(self, macro_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/macros#list-macro-attachments"
api_path = "/api/v2/macros/{macro_id}/attachments.json"
api_path = api_path.format(macro_id=macro_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def macro_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/macros#create-macro"
api_path = "/api/v2/macros.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def macro_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/macros#delete-macro"
api_path = "/api/v2/macros/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def macro_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/macros#show-macro"
api_path = "/api/v2/macros/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def macros_attachment_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/macros#create-unassociated-macro-attachment"
api_path = "/api/v2/macros/attachments.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def macros_attachment_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/macros#show-macro-attachment"
api_path = "/api/v2/macros/attachments/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def macros_update_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/macros#update-many-macros"
api_path = "/api/v2/macros/update_many.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def nps_survey_invitation_show(self, survey_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/invitations#show-invitation"
api_path = "/api/v2/nps/surveys/{survey_id}/invitations/{id}.json"
api_path = api_path.format(survey_id=survey_id, id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def nps_survey_invitations(self, survey_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/invitations#list-invitations"
api_path = "/api/v2/nps/surveys/{survey_id}/invitations.json"
api_path = api_path.format(survey_id=survey_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def nps_survey_preview(self, id, locale=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/surveys#preview-survey"
api_path = "/api/v2/nps/surveys/{id}/preview"
api_path = api_path.format(id=id)
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if locale:
api_query.update({
"locale": locale,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function:def nps_survey_recipient_show(self, survey_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/recipients#show-recipient"
api_path = "/api/v2/nps/surveys/{survey_id}/recipients/{id}.json"
api_path = api_path.format(survey_id=survey_id, id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def nps_survey_recipients(self, survey_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/recipients#list-recipients"
api_path = "/api/v2/nps/surveys/{survey_id}/recipients.json"
api_path = api_path.format(survey_id=survey_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def nps_survey_recipients_search(self, survey_id, email=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/recipients#search-recipients"
api_path = "/api/v2/nps/surveys/{survey_id}/recipients/search.json"
api_path = api_path.format(survey_id=survey_id)
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if email:
api_query.update({
"email": email,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function:def nps_survey_response_create(self, survey_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/responses#create-response"
api_path = "/api/v2/nps/surveys/{survey_id}/responses.json"
api_path = api_path.format(survey_id=survey_id)
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def nps_survey_response_show(self, survey_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/responses#show-response"
api_path = "/api/v2/nps/surveys/{survey_id}/responses/{id}.json"
api_path = api_path.format(survey_id=survey_id, id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def nps_survey_response_update(self, survey_id, id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/responses#update-response"
api_path = "/api/v2/nps/surveys/{survey_id}/responses/{id}.json"
api_path = api_path.format(survey_id=survey_id, id=id)
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def nps_survey_responses(self, survey_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/responses#list-responses"
api_path = "/api/v2/nps/surveys/{survey_id}/responses.json"
api_path = api_path.format(survey_id=survey_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def nps_survey_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/surveys#show-survey"
api_path = "/api/v2/nps/surveys/{id}"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def nps_surveys_1_update(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/nps-api/surveys#update-survey"
api_path = "/api/v2/nps/surveys/1"
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.