repository_name stringlengths 5 67 | func_path_in_repository stringlengths 4 234 | func_name stringlengths 0 314 | whole_func_string stringlengths 52 3.87M | language stringclasses 6
values | func_code_string stringlengths 52 3.87M | func_code_tokens listlengths 15 672k | func_documentation_string stringlengths 1 47.2k | func_documentation_tokens listlengths 1 3.92k | split_name stringclasses 1
value | func_code_url stringlengths 85 339 |
|---|---|---|---|---|---|---|---|---|---|---|
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_category_translations | 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)
ret... | python | 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)
ret... | [
"def",
"help_center_category_translations",
"(",
"self",
",",
"category_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/categories/{category_id}/translations.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"category_id",
"=",
"c... | https://developer.zendesk.com/rest_api/docs/help_center/translations#list-translations | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"translations#list",
"-",
"translations"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1774-L1778 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_category_translations_missing | 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=... | python | 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=... | [
"def",
"help_center_category_translations_missing",
"(",
"self",
",",
"category_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/categories/{category_id}/translations/missing.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"category_... | https://developer.zendesk.com/rest_api/docs/help_center/translations#list-missing-translations | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"translations#list",
"-",
"missing",
"-",
"translations"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1780-L1784 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_category_update | 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... | python | 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... | [
"def",
"help_center_category_update",
"(",
"self",
",",
"id",
",",
"data",
",",
"locale",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/categories/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=... | https://developer.zendesk.com/rest_api/docs/help_center/categories#update-category | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"categories#update",
"-",
"category"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1786-L1793 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_incremental_articles_list | 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... | python | 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... | [
"def",
"help_center_incremental_articles_list",
"(",
"self",
",",
"start_time",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/incremental/articles.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
... | https://developer.zendesk.com/rest_api/docs/help_center/articles#list-articles | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"articles#list",
"-",
"articles"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1808-L1819 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_section_articles | 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/v... | python | 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/v... | [
"def",
"help_center_section_articles",
"(",
"self",
",",
"id",
",",
"locale",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/sections/{id}/articles.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id"... | https://developer.zendesk.com/rest_api/docs/help_center/articles#list-articles | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"articles#list",
"-",
"articles"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1835-L1842 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_section_delete | 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) | python | 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) | [
"def",
"help_center_section_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/sections/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",... | https://developer.zendesk.com/rest_api/docs/help_center/sections#delete-section | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"sections#delete",
"-",
"section"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1844-L1848 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_section_subscription_delete | 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=se... | python | 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=se... | [
"def",
"help_center_section_subscription_delete",
"(",
"self",
",",
"section_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/sections/{section_id}/subscriptions/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"se... | https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#delete-section-subscription | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"subscriptions#delete",
"-",
"section",
"-",
"subscription"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1871-L1875 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_section_subscription_show | 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(sect... | python | 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(sect... | [
"def",
"help_center_section_subscription_show",
"(",
"self",
",",
"section_id",
",",
"id",
",",
"locale",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/sections/{section_id}/subscriptions/{id}.json\"",
"api_path",
"=",
"api_path... | https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-section-subscription | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"subscriptions#show",
"-",
"section",
"-",
"subscription"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1877-L1884 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_section_subscriptions | 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=secti... | python | 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=secti... | [
"def",
"help_center_section_subscriptions",
"(",
"self",
",",
"section_id",
",",
"locale",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/sections/{section_id}/subscriptions.json\"",
"api_path",
"=",
"api_path",
".",
"format",
... | https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-section-subscriptions | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"subscriptions#list",
"-",
"section",
"-",
"subscriptions"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1886-L1893 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_section_translation_create | 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)
... | python | 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)
... | [
"def",
"help_center_section_translation_create",
"(",
"self",
",",
"section_id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/sections/{section_id}/translations.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"section... | https://developer.zendesk.com/rest_api/docs/help_center/translations#create-translation | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"translations#create",
"-",
"translation"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1895-L1899 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_section_translation_update | 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=... | python | 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=... | [
"def",
"help_center_section_translation_update",
"(",
"self",
",",
"section_id",
",",
"locale",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/sections/{section_id}/translations/{locale}.json\"",
"api_path",
"=",
"api_path",
".",
... | https://developer.zendesk.com/rest_api/docs/help_center/translations#update-translation | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"translations#update",
"-",
"translation"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1901-L1905 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_section_translations | 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 sel... | python | 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 sel... | [
"def",
"help_center_section_translations",
"(",
"self",
",",
"section_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/sections/{section_id}/translations.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"section_id",
"=",
"section... | https://developer.zendesk.com/rest_api/docs/help_center/translations#list-translations | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"translations#list",
"-",
"translations"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1907-L1911 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_section_translations_missing | 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=sectio... | python | 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=sectio... | [
"def",
"help_center_section_translations_missing",
"(",
"self",
",",
"section_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/sections/{section_id}/translations/missing.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"section_id",
... | https://developer.zendesk.com/rest_api/docs/help_center/translations#list-missing-translations | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"translations#list",
"-",
"missing",
"-",
"translations"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1913-L1917 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_translation_delete | 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... | python | 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... | [
"def",
"help_center_translation_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/translations/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
... | https://developer.zendesk.com/rest_api/docs/help_center/translations#delete-translation | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"translations#delete",
"-",
"translation"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1948-L1952 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_user_articles | 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) | python | 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) | [
"def",
"help_center_user_articles",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/users/{id}/articles.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"c... | https://developer.zendesk.com/rest_api/docs/help_center/articles#list-articles | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"articles#list",
"-",
"articles"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1954-L1958 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_user_comments | 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) | python | 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) | [
"def",
"help_center_user_comments",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/users/{id}/comments.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"c... | https://developer.zendesk.com/rest_api/docs/help_center/comments#list-comments | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"comments#list",
"-",
"comments"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1960-L1964 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_user_segment_create | 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) | python | 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) | [
"def",
"help_center_user_segment_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/user_segments.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"="... | https://developer.zendesk.com/rest_api/docs/help_center/user_segments#create-user-segment | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"user_segments#create",
"-",
"user",
"-",
"segment"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1966-L1969 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_user_segment_delete | 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", **kw... | python | 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", **kw... | [
"def",
"help_center_user_segment_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/user_segments/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",... | https://developer.zendesk.com/rest_api/docs/help_center/user_segments#delete-user-segment | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"user_segments#delete",
"-",
"user",
"-",
"segment"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1971-L1975 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_user_segment_sections | 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_segmen... | python | 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_segmen... | [
"def",
"help_center_user_segment_sections",
"(",
"self",
",",
"user_segment_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/user_segments/{user_segment_id}/sections.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"user_segment_id",
... | https://developer.zendesk.com/rest_api/docs/help_center/user_segments#list-sections-using-a-user-segment | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"user_segments#list",
"-",
"sections",
"-",
"using",
"-",
"a",
"-",
"user",
"-",
"segment"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1977-L1981 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_user_segment_show | 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) | python | 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) | [
"def",
"help_center_user_segment_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/user_segments/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
... | https://developer.zendesk.com/rest_api/docs/help_center/user_segments#show-user-segment | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"user_segments#show",
"-",
"user",
"-",
"segment"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1983-L1987 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_user_segment_topics | 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=u... | python | 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=u... | [
"def",
"help_center_user_segment_topics",
"(",
"self",
",",
"user_segment_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/user_segments/{user_segment_id}/topics.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"user_segment_id",
"=... | https://developer.zendesk.com/rest_api/docs/help_center/user_segments#list-topics-using-a-user-segment | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"user_segments#list",
"-",
"topics",
"-",
"using",
"-",
"a",
"-",
"user",
"-",
"segment"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1989-L1993 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_user_subscriptions | 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... | python | 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... | [
"def",
"help_center_user_subscriptions",
"(",
"self",
",",
"user_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/users/{user_id}/subscriptions.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"user_id",
"=",
"user_id",
")",
"... | https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-subscriptions-by-user | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"subscriptions#list",
"-",
"subscriptions",
"-",
"by",
"-",
"user"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2011-L2015 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_user_user_segments | 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_pat... | python | 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_pat... | [
"def",
"help_center_user_user_segments",
"(",
"self",
",",
"user_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/users/{user_id}/user_segments.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"user_id",
"=",
"user_id",
")",
"... | https://developer.zendesk.com/rest_api/docs/help_center/user_segments#list-user-segments | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"user_segments#list",
"-",
"user",
"-",
"segments"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2017-L2021 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_user_votes | 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) | python | 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) | [
"def",
"help_center_user_votes",
"(",
"self",
",",
"user_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/users/{user_id}/votes.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"user_id",
"=",
"user_id",
")",
"return",
"self... | https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"votes#list",
"-",
"votes"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2023-L2027 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_vote_delete | 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) | python | 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) | [
"def",
"help_center_vote_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/votes/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"("... | https://developer.zendesk.com/rest_api/docs/help_center/votes#delete-vote | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"votes#delete",
"-",
"vote"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2029-L2033 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.help_center_vote_show | 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) | python | 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) | [
"def",
"help_center_vote_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/help_center/votes/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
... | https://developer.zendesk.com/rest_api/docs/help_center/votes#show-vote | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"help_center",
"/",
"votes#show",
"-",
"vote"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2035-L2039 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.imports_ticket | 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) | python | 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) | [
"def",
"imports_ticket",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/imports/tickets.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
... | https://developer.zendesk.com/rest_api/docs/core/ticket_import#ticket-import | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_import#ticket",
"-",
"import"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2041-L2044 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.imports_tickets_create_many | 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) | python | 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) | [
"def",
"imports_tickets_create_many",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/imports/tickets/create_many.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
... | https://developer.zendesk.com/rest_api/docs/core/ticket_import#ticket-bulk-import | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_import#ticket",
"-",
"bulk",
"-",
"import"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2046-L2049 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.incremental_sample | 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) | python | 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) | [
"def",
"incremental_sample",
"(",
"self",
",",
"item",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/incremental/{item}/sample.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"item",
"=",
"item",
")",
"return",
"self",
".",
"call",
... | https://developer.zendesk.com/rest_api/docs/core/incremental_export#incremental-sample-export | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"incremental_export#incremental",
"-",
"sample",
"-",
"export"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2079-L2083 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.incremental_tickets_list | 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["que... | python | 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["que... | [
"def",
"incremental_tickets_list",
"(",
"self",
",",
"include",
"=",
"None",
",",
"start_time",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/incremental/tickets.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwarg... | https://developer.zendesk.com/rest_api/docs/core/incremental_export#start-time | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"incremental_export#start",
"-",
"time"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2111-L2126 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.job_status_show | 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) | python | 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) | [
"def",
"job_status_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/job_statuses/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path... | https://developer.zendesk.com/rest_api/docs/core/job_statuses#show-job-status | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"job_statuses#show",
"-",
"job",
"-",
"status"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2141-L2145 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.locale_show | 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) | python | 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) | [
"def",
"locale_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/locales/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
",",... | https://developer.zendesk.com/rest_api/docs/core/locales#show-locale | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"locales#show",
"-",
"locale"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2165-L2169 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.macro_apply | 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) | python | 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) | [
"def",
"macro_apply",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/macros/{id}/apply.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
... | https://developer.zendesk.com/rest_api/docs/core/macros#show-changes-to-ticket | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"macros#show",
"-",
"changes",
"-",
"to",
"-",
"ticket"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2196-L2200 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.macro_attachment_create | 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", d... | python | 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", d... | [
"def",
"macro_attachment_create",
"(",
"self",
",",
"macro_id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/macros/{macro_id}/attachments.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"macro_id",
"=",
"macro_id",
")",
... | https://developer.zendesk.com/rest_api/docs/core/macros#create-macro-attachment | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"macros#create",
"-",
"macro",
"-",
"attachment"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2202-L2206 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.macro_attachments | 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) | python | 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) | [
"def",
"macro_attachments",
"(",
"self",
",",
"macro_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/macros/{macro_id}/attachments.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"macro_id",
"=",
"macro_id",
")",
"return",
"self",
"... | https://developer.zendesk.com/rest_api/docs/core/macros#list-macro-attachments | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"macros#list",
"-",
"macro",
"-",
"attachments"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2208-L2212 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.macro_create | 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) | python | 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) | [
"def",
"macro_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/macros.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
"*",
"kw... | https://developer.zendesk.com/rest_api/docs/core/macros#create-macro | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"macros#create",
"-",
"macro"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2214-L2217 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.macro_delete | 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) | python | 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) | [
"def",
"macro_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/macros/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
",",... | https://developer.zendesk.com/rest_api/docs/core/macros#delete-macro | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"macros#delete",
"-",
"macro"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2219-L2223 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.macro_show | 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) | python | 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) | [
"def",
"macro_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/macros/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
... | https://developer.zendesk.com/rest_api/docs/core/macros#show-macro | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"macros#show",
"-",
"macro"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2225-L2229 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.macros_attachment_create | 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) | python | 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) | [
"def",
"macros_attachment_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/macros/attachments.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
... | https://developer.zendesk.com/rest_api/docs/core/macros#create-unassociated-macro-attachment | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"macros#create",
"-",
"unassociated",
"-",
"macro",
"-",
"attachment"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2247-L2250 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.macros_attachment_show | 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) | python | 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) | [
"def",
"macros_attachment_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/macros/attachments/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"("... | https://developer.zendesk.com/rest_api/docs/core/macros#show-macro-attachment | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"macros#show",
"-",
"macro",
"-",
"attachment"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2252-L2256 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.macros_update_many | 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) | python | 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) | [
"def",
"macros_update_many",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/macros/update_many.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"PUT\"",
",",
"data",
"=",
"data",
",",
... | https://developer.zendesk.com/rest_api/docs/core/macros#update-many-macros | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"macros#update",
"-",
"many",
"-",
"macros"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2288-L2291 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_survey_invitation_show | 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_... | python | 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_... | [
"def",
"nps_survey_invitation_show",
"(",
"self",
",",
"survey_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/{survey_id}/invitations/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"survey_id",
"=",
"survey... | https://developer.zendesk.com/rest_api/docs/nps-api/invitations#show-invitation | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"invitations#show",
"-",
"invitation"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2315-L2319 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_survey_invitations | 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) | python | 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) | [
"def",
"nps_survey_invitations",
"(",
"self",
",",
"survey_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/{survey_id}/invitations.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"survey_id",
"=",
"survey_id",
")",
"return",... | https://developer.zendesk.com/rest_api/docs/nps-api/invitations#list-invitations | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"invitations#list",
"-",
"invitations"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2321-L2325 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_survey_preview | 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.... | python | 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.... | [
"def",
"nps_survey_preview",
"(",
"self",
",",
"id",
",",
"locale",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/{id}/preview\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"api_query",
... | https://developer.zendesk.com/rest_api/docs/nps-api/surveys#preview-survey | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"surveys#preview",
"-",
"survey"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2327-L2339 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_survey_recipient_show | 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... | python | 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... | [
"def",
"nps_survey_recipient_show",
"(",
"self",
",",
"survey_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/{survey_id}/recipients/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"survey_id",
"=",
"survey_i... | https://developer.zendesk.com/rest_api/docs/nps-api/recipients#show-recipient | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"recipients#show",
"-",
"recipient"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2347-L2351 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_survey_recipients | 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) | python | 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) | [
"def",
"nps_survey_recipients",
"(",
"self",
",",
"survey_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/{survey_id}/recipients.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"survey_id",
"=",
"survey_id",
")",
"return",
... | https://developer.zendesk.com/rest_api/docs/nps-api/recipients#list-recipients | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"recipients#list",
"-",
"recipients"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2359-L2363 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_survey_recipients_search | 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 = {}
... | python | 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 = {}
... | [
"def",
"nps_survey_recipients_search",
"(",
"self",
",",
"survey_id",
",",
"email",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/{survey_id}/recipients/search.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"surve... | https://developer.zendesk.com/rest_api/docs/nps-api/recipients#search-recipients | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"recipients#search",
"-",
"recipients"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2365-L2377 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_survey_response_create | 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="... | python | 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="... | [
"def",
"nps_survey_response_create",
"(",
"self",
",",
"survey_id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/{survey_id}/responses.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"survey_id",
"=",
"survey_id",... | https://developer.zendesk.com/rest_api/docs/nps-api/responses#create-response | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"responses#create",
"-",
"response"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2379-L2383 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_survey_response_show | 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, **... | python | 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, **... | [
"def",
"nps_survey_response_show",
"(",
"self",
",",
"survey_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/{survey_id}/responses/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"survey_id",
"=",
"survey_id"... | https://developer.zendesk.com/rest_api/docs/nps-api/responses#show-response | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"responses#show",
"-",
"response"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2385-L2389 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_survey_response_update | 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(ap... | python | 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(ap... | [
"def",
"nps_survey_response_update",
"(",
"self",
",",
"survey_id",
",",
"id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/{survey_id}/responses/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"survey_id",
... | https://developer.zendesk.com/rest_api/docs/nps-api/responses#update-response | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"responses#update",
"-",
"response"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2391-L2395 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_survey_responses | 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) | python | 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) | [
"def",
"nps_survey_responses",
"(",
"self",
",",
"survey_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/{survey_id}/responses.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"survey_id",
"=",
"survey_id",
")",
"return",
"... | https://developer.zendesk.com/rest_api/docs/nps-api/responses#list-responses | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"responses#list",
"-",
"responses"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2397-L2401 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_survey_show | 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) | python | 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) | [
"def",
"nps_survey_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/{id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
"... | https://developer.zendesk.com/rest_api/docs/nps-api/surveys#show-survey | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"surveys#show",
"-",
"survey"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2403-L2407 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.nps_surveys_1_update | 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) | python | 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) | [
"def",
"nps_surveys_1_update",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/nps/surveys/1\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"PUT\"",
",",
"data",
"=",
"data",
",",
"*",
"... | https://developer.zendesk.com/rest_api/docs/nps-api/surveys#update-survey | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"nps",
"-",
"api",
"/",
"surveys#update",
"-",
"survey"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2409-L2412 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.oauth_client_create | def oauth_client_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/oauth_clients#create-client"
api_path = "/api/v2/oauth/clients.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def oauth_client_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/oauth_clients#create-client"
api_path = "/api/v2/oauth/clients.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"oauth_client_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/oauth/clients.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*"... | https://developer.zendesk.com/rest_api/docs/core/oauth_clients#create-client | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"oauth_clients#create",
"-",
"client"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2419-L2422 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.oauth_client_delete | def oauth_client_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/oauth_clients#delete-client"
api_path = "/api/v2/oauth/clients/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def oauth_client_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/oauth_clients#delete-client"
api_path = "/api/v2/oauth/clients/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"oauth_client_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/oauth/clients/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api... | https://developer.zendesk.com/rest_api/docs/core/oauth_clients#delete-client | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"oauth_clients#delete",
"-",
"client"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2424-L2428 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.oauth_client_show | def oauth_client_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/oauth_clients#show-client"
api_path = "/api/v2/oauth/clients/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def oauth_client_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/oauth_clients#show-client"
api_path = "/api/v2/oauth/clients/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"oauth_client_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/oauth/clients/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_p... | https://developer.zendesk.com/rest_api/docs/core/oauth_clients#show-client | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"oauth_clients#show",
"-",
"client"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2436-L2440 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.oauth_token_create | def oauth_token_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/oauth_tokens#create-token"
api_path = "/api/v2/oauth/tokens.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def oauth_token_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/oauth_tokens#create-token"
api_path = "/api/v2/oauth/tokens.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"oauth_token_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/oauth/tokens.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
... | https://developer.zendesk.com/rest_api/docs/core/oauth_tokens#create-token | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"oauth_tokens#create",
"-",
"token"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2458-L2461 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.oauth_token_delete | def oauth_token_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/oauth_tokens#revoke-token"
api_path = "/api/v2/oauth/tokens/{id}"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def oauth_token_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/oauth_tokens#revoke-token"
api_path = "/api/v2/oauth/tokens/{id}"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"oauth_token_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/oauth/tokens/{id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",... | https://developer.zendesk.com/rest_api/docs/chat/oauth_tokens#revoke-token | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"oauth_tokens#revoke",
"-",
"token"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2463-L2467 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.oauth_token_show | def oauth_token_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/oauth_tokens#show-token"
api_path = "/api/v2/oauth/tokens/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def oauth_token_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/oauth_tokens#show-token"
api_path = "/api/v2/oauth/tokens/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"oauth_token_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/oauth/tokens/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_pat... | https://developer.zendesk.com/rest_api/docs/core/oauth_tokens#show-token | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"oauth_tokens#show",
"-",
"token"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2469-L2473 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_create | def organization_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#create-organization"
api_path = "/api/v2/organizations.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def organization_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#create-organization"
api_path = "/api/v2/organizations.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"organization_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*"... | https://developer.zendesk.com/rest_api/docs/core/organizations#create-organization | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organizations#create",
"-",
"organization"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2490-L2493 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_delete | def organization_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#delete-organization"
api_path = "/api/v2/organizations/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def organization_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#delete-organization"
api_path = "/api/v2/organizations/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"organization_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api... | https://developer.zendesk.com/rest_api/docs/core/organizations#delete-organization | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organizations#delete",
"-",
"organization"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2495-L2499 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_field_create | def organization_field_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_fields#create-organization-fields"
api_path = "/api/v2/organization_fields.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def organization_field_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_fields#create-organization-fields"
api_path = "/api/v2/organization_fields.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"organization_field_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organization_fields.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
... | https://developer.zendesk.com/rest_api/docs/core/organization_fields#create-organization-fields | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_fields#create",
"-",
"organization",
"-",
"fields"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2501-L2504 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_field_delete | def organization_field_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_fields#delete-organization-field"
api_path = "/api/v2/organization_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def organization_field_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_fields#delete-organization-field"
api_path = "/api/v2/organization_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"organization_field_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organization_fields/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
... | https://developer.zendesk.com/rest_api/docs/core/organization_fields#delete-organization-field | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_fields#delete",
"-",
"organization",
"-",
"field"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2506-L2510 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_field_show | def organization_field_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_fields#show-organization-field"
api_path = "/api/v2/organization_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def organization_field_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_fields#show-organization-field"
api_path = "/api/v2/organization_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"organization_field_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organization_fields/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"... | https://developer.zendesk.com/rest_api/docs/core/organization_fields#show-organization-field | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_fields#show",
"-",
"organization",
"-",
"field"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2512-L2516 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_fields_reorder | def organization_fields_reorder(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_fields#reorder-organization-field"
api_path = "/api/v2/organization_fields/reorder.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | python | def organization_fields_reorder(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_fields#reorder-organization-field"
api_path = "/api/v2/organization_fields/reorder.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | [
"def",
"organization_fields_reorder",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organization_fields/reorder.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"PUT\"",
",",
"data",
"=",
... | https://developer.zendesk.com/rest_api/docs/core/organization_fields#reorder-organization-field | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_fields#reorder",
"-",
"organization",
"-",
"field"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2529-L2532 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_membership_create | def organization_membership_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_memberships#create-membership"
api_path = "/api/v2/organization_memberships.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def organization_membership_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_memberships#create-membership"
api_path = "/api/v2/organization_memberships.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"organization_membership_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organization_memberships.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
... | https://developer.zendesk.com/rest_api/docs/core/organization_memberships#create-membership | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_memberships#create",
"-",
"membership"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2534-L2537 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_membership_delete | def organization_membership_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_memberships#delete-membership"
api_path = "/api/v2/organization_memberships/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kw... | python | def organization_membership_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_memberships#delete-membership"
api_path = "/api/v2/organization_memberships/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kw... | [
"def",
"organization_membership_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organization_memberships/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
... | https://developer.zendesk.com/rest_api/docs/core/organization_memberships#delete-membership | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_memberships#delete",
"-",
"membership"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2539-L2543 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_membership_show | def organization_membership_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_memberships#show-membership"
api_path = "/api/v2/organization_memberships/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def organization_membership_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_memberships#show-membership"
api_path = "/api/v2/organization_memberships/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"organization_membership_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organization_memberships/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"... | https://developer.zendesk.com/rest_api/docs/core/organization_memberships#show-membership | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_memberships#show",
"-",
"membership"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2545-L2549 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_memberships_create_many | def organization_memberships_create_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_memberships#create-many-memberships"
api_path = "/api/v2/organization_memberships/create_many.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def organization_memberships_create_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_memberships#create-many-memberships"
api_path = "/api/v2/organization_memberships/create_many.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"organization_memberships_create_many",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organization_memberships/create_many.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",... | https://developer.zendesk.com/rest_api/docs/core/organization_memberships#create-many-memberships | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_memberships#create",
"-",
"many",
"-",
"memberships"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2551-L2554 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_organization_memberships | def organization_organization_memberships(self, organization_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_memberships#list-memberships"
api_path = "/api/v2/organizations/{organization_id}/organization_memberships.json"
api_path = api_path.format(organization_id=o... | python | def organization_organization_memberships(self, organization_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_memberships#list-memberships"
api_path = "/api/v2/organizations/{organization_id}/organization_memberships.json"
api_path = api_path.format(organization_id=o... | [
"def",
"organization_organization_memberships",
"(",
"self",
",",
"organization_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/{organization_id}/organization_memberships.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"organizati... | https://developer.zendesk.com/rest_api/docs/core/organization_memberships#list-memberships | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_memberships#list",
"-",
"memberships"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2574-L2578 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_related | def organization_related(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#show-organizations-related-information"
api_path = "/api/v2/organizations/{id}/related.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def organization_related(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#show-organizations-related-information"
api_path = "/api/v2/organizations/{id}/related.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"organization_related",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/{id}/related.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(... | https://developer.zendesk.com/rest_api/docs/core/organizations#show-organizations-related-information | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organizations#show",
"-",
"organizations",
"-",
"related",
"-",
"information"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2580-L2584 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_requests | def organization_requests(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#list-requests"
api_path = "/api/v2/organizations/{id}/requests.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def organization_requests(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#list-requests"
api_path = "/api/v2/organizations/{id}/requests.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"organization_requests",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/{id}/requests.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
... | https://developer.zendesk.com/rest_api/docs/core/requests#list-requests | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"requests#list",
"-",
"requests"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2586-L2590 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_show | def organization_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#show-organization"
api_path = "/api/v2/organizations/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def organization_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#show-organization"
api_path = "/api/v2/organizations/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"organization_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_p... | https://developer.zendesk.com/rest_api/docs/core/organizations#show-organization | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organizations#show",
"-",
"organization"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2592-L2596 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_subscription_create | def organization_subscription_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#create-organization-subscription"
api_path = "/api/v2/organization_subscriptions.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def organization_subscription_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#create-organization-subscription"
api_path = "/api/v2/organization_subscriptions.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"organization_subscription_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organization_subscriptions.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"... | https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#create-organization-subscription | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_subscriptions#create",
"-",
"organization",
"-",
"subscription"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2598-L2601 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_subscription_delete | def organization_subscription_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#delete-organization-subscription"
api_path = "/api/v2/organization_subscriptions/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, ... | python | def organization_subscription_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#delete-organization-subscription"
api_path = "/api/v2/organization_subscriptions/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, ... | [
"def",
"organization_subscription_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organization_subscriptions/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".... | https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#delete-organization-subscription | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_subscriptions#delete",
"-",
"organization",
"-",
"subscription"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2603-L2607 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_subscription_show | def organization_subscription_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#show-organization-subscription"
api_path = "/api/v2/organization_subscriptions/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kw... | python | def organization_subscription_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#show-organization-subscription"
api_path = "/api/v2/organization_subscriptions/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kw... | [
"def",
"organization_subscription_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organization_subscriptions/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",... | https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#show-organization-subscription | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_subscriptions#show",
"-",
"organization",
"-",
"subscription"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2609-L2613 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_subscriptions | def organization_subscriptions(self, organization_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#list-organization-subscriptions"
api_path = "/api/v2/organizations/{organization_id}/subscriptions.json"
api_path = api_path.format(organization_id=organi... | python | def organization_subscriptions(self, organization_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#list-organization-subscriptions"
api_path = "/api/v2/organizations/{organization_id}/subscriptions.json"
api_path = api_path.format(organization_id=organi... | [
"def",
"organization_subscriptions",
"(",
"self",
",",
"organization_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/{organization_id}/subscriptions.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"organization_id",
"=",
"orga... | https://developer.zendesk.com/rest_api/docs/core/organization_subscriptions#list-organization-subscriptions | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organization_subscriptions#list",
"-",
"organization",
"-",
"subscriptions"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2615-L2619 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_tags | def organization_tags(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tags#show-tags"
api_path = "/api/v2/organizations/{id}/tags.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def organization_tags(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tags#show-tags"
api_path = "/api/v2/organizations/{id}/tags.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"organization_tags",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/{id}/tags.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"... | https://developer.zendesk.com/rest_api/docs/core/tags#show-tags | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tags#show",
"-",
"tags"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2632-L2636 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_tags_delete | def organization_tags_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tags#remove-tags"
api_path = "/api/v2/organizations/{id}/tags.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def organization_tags_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tags#remove-tags"
api_path = "/api/v2/organizations/{id}/tags.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"organization_tags_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/{id}/tags.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"... | https://developer.zendesk.com/rest_api/docs/core/tags#remove-tags | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tags#remove",
"-",
"tags"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2638-L2642 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_tickets | def organization_tickets(self, organization_id, external_id=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#allowed-for"
api_path = "/api/v2/organizations/{organization_id}/tickets.json"
api_path = api_path.format(organization_id=organization_id)
api_query = {}... | python | def organization_tickets(self, organization_id, external_id=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#allowed-for"
api_path = "/api/v2/organizations/{organization_id}/tickets.json"
api_path = api_path.format(organization_id=organization_id)
api_query = {}... | [
"def",
"organization_tickets",
"(",
"self",
",",
"organization_id",
",",
"external_id",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/{organization_id}/tickets.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"org... | https://developer.zendesk.com/rest_api/docs/core/tickets#allowed-for | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tickets#allowed",
"-",
"for"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2650-L2662 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organization_users | def organization_users(self, id, permission_set=None, role=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/users#list-users"
api_path = "/api/v2/organizations/{id}/users.json"
api_path = api_path.format(id=id)
api_query = {}
if "query" in kwargs.keys():
... | python | def organization_users(self, id, permission_set=None, role=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/users#list-users"
api_path = "/api/v2/organizations/{id}/users.json"
api_path = api_path.format(id=id)
api_query = {}
if "query" in kwargs.keys():
... | [
"def",
"organization_users",
"(",
"self",
",",
"id",
",",
"permission_set",
"=",
"None",
",",
"role",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/{id}/users.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",... | https://developer.zendesk.com/rest_api/docs/core/users#list-users | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"users#list",
"-",
"users"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2670-L2686 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organizations_create_many | def organizations_create_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#create-many-organizations"
api_path = "/api/v2/organizations/create_many.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def organizations_create_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#create-many-organizations"
api_path = "/api/v2/organizations/create_many.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"organizations_create_many",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/create_many.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"d... | https://developer.zendesk.com/rest_api/docs/core/organizations#create-many-organizations | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organizations#create",
"-",
"many",
"-",
"organizations"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2701-L2704 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organizations_create_or_update | def organizations_create_or_update(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#create-or-update-organization"
api_path = "/api/v2/organizations/create_or_update.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def organizations_create_or_update(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#create-or-update-organization"
api_path = "/api/v2/organizations/create_or_update.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"organizations_create_or_update",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/create_or_update.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
... | https://developer.zendesk.com/rest_api/docs/core/organizations#create-or-update-organization | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organizations#create",
"-",
"or",
"-",
"update",
"-",
"organization"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2706-L2709 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organizations_search | def organizations_search(self, external_id=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#search-organizations-by-external-id"
api_path = "/api/v2/organizations/search.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs[... | python | def organizations_search(self, external_id=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#search-organizations-by-external-id"
api_path = "/api/v2/organizations/search.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs[... | [
"def",
"organizations_search",
"(",
"self",
",",
"external_id",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/search.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
"keys",
"(",
")",
":... | https://developer.zendesk.com/rest_api/docs/core/organizations#search-organizations-by-external-id | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organizations#search",
"-",
"organizations",
"-",
"by",
"-",
"external",
"-",
"id"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2733-L2744 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.organizations_show_many | def organizations_show_many(self, external_ids=None, ids=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#show-many-organizations"
api_path = "/api/v2/organizations/show_many.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kw... | python | def organizations_show_many(self, external_ids=None, ids=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/organizations#show-many-organizations"
api_path = "/api/v2/organizations/show_many.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kw... | [
"def",
"organizations_show_many",
"(",
"self",
",",
"external_ids",
"=",
"None",
",",
"ids",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/organizations/show_many.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwar... | https://developer.zendesk.com/rest_api/docs/core/organizations#show-many-organizations | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"organizations#show",
"-",
"many",
"-",
"organizations"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2746-L2761 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.problems_autocomplete | def problems_autocomplete(self, data, text=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#autocomplete-problems"
api_path = "/api/v2/problems/autocomplete.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
... | python | def problems_autocomplete(self, data, text=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#autocomplete-problems"
api_path = "/api/v2/problems/autocomplete.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
... | [
"def",
"problems_autocomplete",
"(",
"self",
",",
"data",
",",
"text",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/problems/autocomplete.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
"keys",
"(",... | https://developer.zendesk.com/rest_api/docs/core/tickets#autocomplete-problems | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tickets#autocomplete",
"-",
"problems"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2780-L2791 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.push_notification_devices_destroy_many | def push_notification_devices_destroy_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/push_notification_devices#bulk-unregister-push-notification-devices"
api_path = "/api/v2/push_notification_devices/destroy_many.json"
return self.call(api_path, method="POST", data... | python | def push_notification_devices_destroy_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/push_notification_devices#bulk-unregister-push-notification-devices"
api_path = "/api/v2/push_notification_devices/destroy_many.json"
return self.call(api_path, method="POST", data... | [
"def",
"push_notification_devices_destroy_many",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/push_notification_devices/destroy_many.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
... | https://developer.zendesk.com/rest_api/docs/core/push_notification_devices#bulk-unregister-push-notification-devices | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"push_notification_devices#bulk",
"-",
"unregister",
"-",
"push",
"-",
"notification",
"-",
"devices"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2798-L2801 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.recipient_address_create | def recipient_address_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/support_addresses#create-support-address"
api_path = "/api/v2/recipient_addresses.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def recipient_address_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/support_addresses#create-support-address"
api_path = "/api/v2/recipient_addresses.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"recipient_address_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/recipient_addresses.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
... | https://developer.zendesk.com/rest_api/docs/core/support_addresses#create-support-address | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"support_addresses#create",
"-",
"support",
"-",
"address"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2803-L2806 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.recipient_address_delete | def recipient_address_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/support_addresses#delete-recipient-address"
api_path = "/api/v2/recipient_addresses/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def recipient_address_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/support_addresses#delete-recipient-address"
api_path = "/api/v2/recipient_addresses/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"recipient_address_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/recipient_addresses/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
... | https://developer.zendesk.com/rest_api/docs/core/support_addresses#delete-recipient-address | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"support_addresses#delete",
"-",
"recipient",
"-",
"address"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2808-L2812 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.recipient_address_show | def recipient_address_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/support_addresses#show-support-address"
api_path = "/api/v2/recipient_addresses/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def recipient_address_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/support_addresses#show-support-address"
api_path = "/api/v2/recipient_addresses/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"recipient_address_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/recipient_addresses/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(... | https://developer.zendesk.com/rest_api/docs/core/support_addresses#show-support-address | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"support_addresses#show",
"-",
"support",
"-",
"address"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2814-L2818 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.request_comment_show | def request_comment_show(self, request_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#getting-comments"
api_path = "/api/v2/requests/{request_id}/comments/{id}.json"
api_path = api_path.format(request_id=request_id, id=id)
return self.call(api_path, **kwarg... | python | def request_comment_show(self, request_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#getting-comments"
api_path = "/api/v2/requests/{request_id}/comments/{id}.json"
api_path = api_path.format(request_id=request_id, id=id)
return self.call(api_path, **kwarg... | [
"def",
"request_comment_show",
"(",
"self",
",",
"request_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/requests/{request_id}/comments/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"request_id",
"=",
"request_id",
... | https://developer.zendesk.com/rest_api/docs/core/requests#getting-comments | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"requests#getting",
"-",
"comments"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2837-L2841 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.request_comments | def request_comments(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#listing-comments"
api_path = "/api/v2/requests/{id}/comments.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def request_comments(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#listing-comments"
api_path = "/api/v2/requests/{id}/comments.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"request_comments",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/requests/{id}/comments.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"ap... | https://developer.zendesk.com/rest_api/docs/core/requests#listing-comments | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"requests#listing",
"-",
"comments"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2843-L2847 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.request_create | def request_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#create-request"
api_path = "/api/v2/requests.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def request_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#create-request"
api_path = "/api/v2/requests.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"request_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/requests.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
"*",
... | https://developer.zendesk.com/rest_api/docs/core/requests#create-request | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"requests#create",
"-",
"request"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2849-L2852 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.request_show | def request_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#show-request"
api_path = "/api/v2/requests/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def request_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#show-request"
api_path = "/api/v2/requests/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"request_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/requests/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
",... | https://developer.zendesk.com/rest_api/docs/core/requests#show-request | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"requests#show",
"-",
"request"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2854-L2858 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.requests_list | def requests_list(self, status=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#list-requests"
api_path = "/api/v2/requests.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
i... | python | def requests_list(self, status=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#list-requests"
api_path = "/api/v2/requests.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
i... | [
"def",
"requests_list",
"(",
"self",
",",
"status",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/requests.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
"keys",
"(",
")",
":",
"api_query",
".",... | https://developer.zendesk.com/rest_api/docs/core/requests#list-requests | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"requests#list",
"-",
"requests"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2871-L2882 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.requests_search | def requests_search(self, cc_id=None, organization_id=None, query=None, status=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#search-requests"
api_path = "/api/v2/requests/search.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(k... | python | def requests_search(self, cc_id=None, organization_id=None, query=None, status=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/requests#search-requests"
api_path = "/api/v2/requests/search.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(k... | [
"def",
"requests_search",
"(",
"self",
",",
"cc_id",
"=",
"None",
",",
"organization_id",
"=",
"None",
",",
"query",
"=",
"None",
",",
"status",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/requests/search.json\"",
"api_query",... | https://developer.zendesk.com/rest_api/docs/core/requests#search-requests | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"requests#search",
"-",
"requests"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2889-L2912 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.resource_collection_create | def resource_collection_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/resource_collections#create-a-resource-collection"
api_path = "/api/v2/resource_collections.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def resource_collection_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/resource_collections#create-a-resource-collection"
api_path = "/api/v2/resource_collections.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"resource_collection_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/resource_collections.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data"... | https://developer.zendesk.com/rest_api/docs/core/resource_collections#create-a-resource-collection | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"resource_collections#create",
"-",
"a",
"-",
"resource",
"-",
"collection"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2919-L2922 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.resource_collection_delete | def resource_collection_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/resource_collections#delete-a-resource-collection"
api_path = "/api/v2/resource_collections/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwa... | python | def resource_collection_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/resource_collections#delete-a-resource-collection"
api_path = "/api/v2/resource_collections/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwa... | [
"def",
"resource_collection_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/resource_collections/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",... | https://developer.zendesk.com/rest_api/docs/core/resource_collections#delete-a-resource-collection | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"resource_collections#delete",
"-",
"a",
"-",
"resource",
"-",
"collection"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2924-L2928 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.resource_collection_show | def resource_collection_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/resource_collections#retrieve-a-resource-collection"
api_path = "/api/v2/resource_collections/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def resource_collection_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/resource_collections#retrieve-a-resource-collection"
api_path = "/api/v2/resource_collections/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"resource_collection_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/resource_collections/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
... | https://developer.zendesk.com/rest_api/docs/core/resource_collections#retrieve-a-resource-collection | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"resource_collections#retrieve",
"-",
"a",
"-",
"resource",
"-",
"collection"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2930-L2934 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.resource_collections_update | def resource_collections_update(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/resource_collections#update-a-resource-collection"
api_path = "/api/v2/resource_collections.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | python | def resource_collections_update(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/resource_collections#update-a-resource-collection"
api_path = "/api/v2/resource_collections.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | [
"def",
"resource_collections_update",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/resource_collections.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"PUT\"",
",",
"data",
"=",
"data"... | https://developer.zendesk.com/rest_api/docs/core/resource_collections#update-a-resource-collection | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"resource_collections#update",
"-",
"a",
"-",
"resource",
"-",
"collection"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2941-L2944 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.