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.role_create | def role_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/roles#create-role"
api_path = "/api/v2/roles"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def role_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/roles#create-role"
api_path = "/api/v2/roles"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"role_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/roles\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
"*",
"kwargs",
... | https://developer.zendesk.com/rest_api/docs/chat/roles#create-role | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"roles#create",
"-",
"role"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2946-L2949 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.role_delete | def role_delete(self, role_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/roles#delete-role"
api_path = "/api/v2/roles/{role_id}"
api_path = api_path.format(role_id=role_id)
return self.call(api_path, method="DELETE", **kwargs) | python | def role_delete(self, role_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/roles#delete-role"
api_path = "/api/v2/roles/{role_id}"
api_path = api_path.format(role_id=role_id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"role_delete",
"(",
"self",
",",
"role_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/roles/{role_id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"role_id",
"=",
"role_id",
")",
"return",
"self",
".",
"call",
"(",
"api_... | https://developer.zendesk.com/rest_api/docs/chat/roles#delete-role | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"roles#delete",
"-",
"role"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2951-L2955 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.role_show | def role_show(self, role_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/roles#get-role"
api_path = "/api/v2/roles/{role_id}"
api_path = api_path.format(role_id=role_id)
return self.call(api_path, **kwargs) | python | def role_show(self, role_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/roles#get-role"
api_path = "/api/v2/roles/{role_id}"
api_path = api_path.format(role_id=role_id)
return self.call(api_path, **kwargs) | [
"def",
"role_show",
"(",
"self",
",",
"role_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/roles/{role_id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"role_id",
"=",
"role_id",
")",
"return",
"self",
".",
"call",
"(",
"api_pa... | https://developer.zendesk.com/rest_api/docs/chat/roles#get-role | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"roles#get",
"-",
"role"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2957-L2961 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.role_update | def role_update(self, role_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/roles#update-role"
api_path = "/api/v2/roles/{role_id}"
api_path = api_path.format(role_id=role_id)
return self.call(api_path, method="PUT", data=data, **kwargs) | python | def role_update(self, role_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/roles#update-role"
api_path = "/api/v2/roles/{role_id}"
api_path = api_path.format(role_id=role_id)
return self.call(api_path, method="PUT", data=data, **kwargs) | [
"def",
"role_update",
"(",
"self",
",",
"role_id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/roles/{role_id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"role_id",
"=",
"role_id",
")",
"return",
"self",
".",
"call... | https://developer.zendesk.com/rest_api/docs/chat/roles#update-role | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"roles#update",
"-",
"role"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2963-L2967 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.satisfaction_rating_show | def satisfaction_rating_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/satisfaction_ratings#show-satisfaction-rating"
api_path = "/api/v2/satisfaction_ratings/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def satisfaction_rating_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/satisfaction_ratings#show-satisfaction-rating"
api_path = "/api/v2/satisfaction_ratings/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"satisfaction_rating_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/satisfaction_ratings/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
... | https://developer.zendesk.com/rest_api/docs/core/satisfaction_ratings#show-satisfaction-rating | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"satisfaction_ratings#show",
"-",
"satisfaction",
"-",
"rating"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2974-L2978 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.satisfaction_ratings_list | def satisfaction_ratings_list(self, score=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/satisfaction_ratings#list-satisfaction-ratings"
api_path = "/api/v2/satisfaction_ratings.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["que... | python | def satisfaction_ratings_list(self, score=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/satisfaction_ratings#list-satisfaction-ratings"
api_path = "/api/v2/satisfaction_ratings.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["que... | [
"def",
"satisfaction_ratings_list",
"(",
"self",
",",
"score",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/satisfaction_ratings.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
"keys",
"(",
")",
":"... | https://developer.zendesk.com/rest_api/docs/core/satisfaction_ratings#list-satisfaction-ratings | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"satisfaction_ratings#list",
"-",
"satisfaction",
"-",
"ratings"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2980-L2991 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.satisfaction_reason_show | def satisfaction_reason_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/satisfaction_reasons#show-reason-for-satisfaction-rating"
api_path = "/api/v2/satisfaction_reasons/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def satisfaction_reason_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/satisfaction_reasons#show-reason-for-satisfaction-rating"
api_path = "/api/v2/satisfaction_reasons/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"satisfaction_reason_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/satisfaction_reasons/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
... | https://developer.zendesk.com/rest_api/docs/core/satisfaction_reasons#show-reason-for-satisfaction-rating | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"satisfaction_reasons#show",
"-",
"reason",
"-",
"for",
"-",
"satisfaction",
"-",
"rating"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L2993-L2997 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.search | def search(self, query=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/search#list-search-results"
api_path = "/api/v2/search.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if quer... | python | def search(self, query=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/search#list-search-results"
api_path = "/api/v2/search.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if quer... | [
"def",
"search",
"(",
"self",
",",
"query",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/search.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
"keys",
"(",
")",
":",
"api_query",
".",
"update... | https://developer.zendesk.com/rest_api/docs/core/search#list-search-results | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"search#list",
"-",
"search",
"-",
"results"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3004-L3015 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.sharing_agreement_create | def sharing_agreement_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sharing_agreements#create-sharing-agreement"
api_path = "/api/v2/sharing_agreements.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def sharing_agreement_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sharing_agreements#create-sharing-agreement"
api_path = "/api/v2/sharing_agreements.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"sharing_agreement_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/sharing_agreements.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
... | https://developer.zendesk.com/rest_api/docs/core/sharing_agreements#create-sharing-agreement | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"sharing_agreements#create",
"-",
"sharing",
"-",
"agreement"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3022-L3025 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.sharing_agreement_delete | def sharing_agreement_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sharing_agreements#delete-a-sharing-agreement"
api_path = "/api/v2/sharing_agreements/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def sharing_agreement_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sharing_agreements#delete-a-sharing-agreement"
api_path = "/api/v2/sharing_agreements/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"sharing_agreement_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/sharing_agreements/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"... | https://developer.zendesk.com/rest_api/docs/core/sharing_agreements#delete-a-sharing-agreement | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"sharing_agreements#delete",
"-",
"a",
"-",
"sharing",
"-",
"agreement"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3027-L3031 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.sharing_agreement_show | def sharing_agreement_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sharing_agreements#show-a-sharing-agreement"
api_path = "/api/v2/sharing_agreements/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def sharing_agreement_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sharing_agreements#show-a-sharing-agreement"
api_path = "/api/v2/sharing_agreements/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"sharing_agreement_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/sharing_agreements/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"("... | https://developer.zendesk.com/rest_api/docs/core/sharing_agreements#show-a-sharing-agreement | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"sharing_agreements#show",
"-",
"a",
"-",
"sharing",
"-",
"agreement"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3033-L3037 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.shortcut_create | def shortcut_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/shortcuts#create-shortcut"
api_path = "/api/v2/shortcuts"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def shortcut_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/shortcuts#create-shortcut"
api_path = "/api/v2/shortcuts"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"shortcut_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/shortcuts\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
"*",
"k... | https://developer.zendesk.com/rest_api/docs/chat/shortcuts#create-shortcut | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"shortcuts#create",
"-",
"shortcut"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3050-L3053 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.shortcut_delete | def shortcut_delete(self, shortcut_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/shortcuts#delete-shortcut"
api_path = "/api/v2/shortcuts/{shortcut_id}"
api_path = api_path.format(shortcut_id=shortcut_id)
return self.call(api_path, method="DELETE", **kwargs) | python | def shortcut_delete(self, shortcut_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/shortcuts#delete-shortcut"
api_path = "/api/v2/shortcuts/{shortcut_id}"
api_path = api_path.format(shortcut_id=shortcut_id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"shortcut_delete",
"(",
"self",
",",
"shortcut_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/shortcuts/{shortcut_id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"shortcut_id",
"=",
"shortcut_id",
")",
"return",
"self",
".",
... | https://developer.zendesk.com/rest_api/docs/chat/shortcuts#delete-shortcut | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"shortcuts#delete",
"-",
"shortcut"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3055-L3059 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.shortcut_show | def shortcut_show(self, shortcut_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/shortcuts#get-shortcut"
api_path = "/api/v2/shortcuts/{shortcut_id}"
api_path = api_path.format(shortcut_id=shortcut_id)
return self.call(api_path, **kwargs) | python | def shortcut_show(self, shortcut_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/shortcuts#get-shortcut"
api_path = "/api/v2/shortcuts/{shortcut_id}"
api_path = api_path.format(shortcut_id=shortcut_id)
return self.call(api_path, **kwargs) | [
"def",
"shortcut_show",
"(",
"self",
",",
"shortcut_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/shortcuts/{shortcut_id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"shortcut_id",
"=",
"shortcut_id",
")",
"return",
"self",
".",
... | https://developer.zendesk.com/rest_api/docs/chat/shortcuts#get-shortcut | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"shortcuts#get",
"-",
"shortcut"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3061-L3065 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.shortcut_update | def shortcut_update(self, shortcut_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/shortcuts#update-shortcut"
api_path = "/api/v2/shortcuts/{shortcut_id}"
api_path = api_path.format(shortcut_id=shortcut_id)
return self.call(api_path, method="PUT", data=data, **kwar... | python | def shortcut_update(self, shortcut_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/shortcuts#update-shortcut"
api_path = "/api/v2/shortcuts/{shortcut_id}"
api_path = api_path.format(shortcut_id=shortcut_id)
return self.call(api_path, method="PUT", data=data, **kwar... | [
"def",
"shortcut_update",
"(",
"self",
",",
"shortcut_id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/shortcuts/{shortcut_id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"shortcut_id",
"=",
"shortcut_id",
")",
"return",
... | https://developer.zendesk.com/rest_api/docs/chat/shortcuts#update-shortcut | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"shortcuts#update",
"-",
"shortcut"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3067-L3071 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.skill_create | def skill_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#create-skill"
api_path = "/api/v2/skills"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def skill_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#create-skill"
api_path = "/api/v2/skills"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"skill_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/skills\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
"*",
"kwargs"... | https://developer.zendesk.com/rest_api/docs/chat/skills#create-skill | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"skills#create",
"-",
"skill"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3078-L3081 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.skill_delete | def skill_delete(self, skill_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#delete-skill-by-id"
api_path = "/api/v2/skills/{skill_id}"
api_path = api_path.format(skill_id=skill_id)
return self.call(api_path, method="DELETE", **kwargs) | python | def skill_delete(self, skill_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#delete-skill-by-id"
api_path = "/api/v2/skills/{skill_id}"
api_path = api_path.format(skill_id=skill_id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"skill_delete",
"(",
"self",
",",
"skill_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/skills/{skill_id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"skill_id",
"=",
"skill_id",
")",
"return",
"self",
".",
"call",
"(",
... | https://developer.zendesk.com/rest_api/docs/chat/skills#delete-skill-by-id | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"skills#delete",
"-",
"skill",
"-",
"by",
"-",
"id"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3083-L3087 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.skill_show | def skill_show(self, skill_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#get-skill-by-id"
api_path = "/api/v2/skills/{skill_id}"
api_path = api_path.format(skill_id=skill_id)
return self.call(api_path, **kwargs) | python | def skill_show(self, skill_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#get-skill-by-id"
api_path = "/api/v2/skills/{skill_id}"
api_path = api_path.format(skill_id=skill_id)
return self.call(api_path, **kwargs) | [
"def",
"skill_show",
"(",
"self",
",",
"skill_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/skills/{skill_id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"skill_id",
"=",
"skill_id",
")",
"return",
"self",
".",
"call",
"(",
"... | https://developer.zendesk.com/rest_api/docs/chat/skills#get-skill-by-id | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"skills#get",
"-",
"skill",
"-",
"by",
"-",
"id"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3089-L3093 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.skill_update | def skill_update(self, skill_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#update-skill-by-id"
api_path = "/api/v2/skills/{skill_id}"
api_path = api_path.format(skill_id=skill_id)
return self.call(api_path, method="PUT", data=data, **kwargs) | python | def skill_update(self, skill_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#update-skill-by-id"
api_path = "/api/v2/skills/{skill_id}"
api_path = api_path.format(skill_id=skill_id)
return self.call(api_path, method="PUT", data=data, **kwargs) | [
"def",
"skill_update",
"(",
"self",
",",
"skill_id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/skills/{skill_id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"skill_id",
"=",
"skill_id",
")",
"return",
"self",
".",
... | https://developer.zendesk.com/rest_api/docs/chat/skills#update-skill-by-id | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"skills#update",
"-",
"skill",
"-",
"by",
"-",
"id"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3095-L3099 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.skills_name_delete | def skills_name_delete(self, name, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#delete-skill-by-name"
api_path = "/api/v2/skills/name/{name}"
api_path = api_path.format(name=name)
return self.call(api_path, method="DELETE", **kwargs) | python | def skills_name_delete(self, name, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#delete-skill-by-name"
api_path = "/api/v2/skills/name/{name}"
api_path = api_path.format(name=name)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"skills_name_delete",
"(",
"self",
",",
"name",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/skills/name/{name}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"name",
"=",
"name",
")",
"return",
"self",
".",
"call",
"(",
"api... | https://developer.zendesk.com/rest_api/docs/chat/skills#delete-skill-by-name | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"skills#delete",
"-",
"skill",
"-",
"by",
"-",
"name"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3106-L3110 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.skills_name_show | def skills_name_show(self, name, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#get-skill-by-name"
api_path = "/api/v2/skills/name/{name}"
api_path = api_path.format(name=name)
return self.call(api_path, **kwargs) | python | def skills_name_show(self, name, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#get-skill-by-name"
api_path = "/api/v2/skills/name/{name}"
api_path = api_path.format(name=name)
return self.call(api_path, **kwargs) | [
"def",
"skills_name_show",
"(",
"self",
",",
"name",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/skills/name/{name}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"name",
"=",
"name",
")",
"return",
"self",
".",
"call",
"(",
"api_p... | https://developer.zendesk.com/rest_api/docs/chat/skills#get-skill-by-name | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"skills#get",
"-",
"skill",
"-",
"by",
"-",
"name"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3112-L3116 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.skills_name_update | def skills_name_update(self, name, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#update-skill-by-name"
api_path = "/api/v2/skills/name/{name}"
api_path = api_path.format(name=name)
return self.call(api_path, method="PUT", data=data, **kwargs) | python | def skills_name_update(self, name, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/skills#update-skill-by-name"
api_path = "/api/v2/skills/name/{name}"
api_path = api_path.format(name=name)
return self.call(api_path, method="PUT", data=data, **kwargs) | [
"def",
"skills_name_update",
"(",
"self",
",",
"name",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/skills/name/{name}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"name",
"=",
"name",
")",
"return",
"self",
".",
"cal... | https://developer.zendesk.com/rest_api/docs/chat/skills#update-skill-by-name | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"skills#update",
"-",
"skill",
"-",
"by",
"-",
"name"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3118-L3122 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.skip_create | def skip_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_skips#record-a-new-skip-for-the-current-user"
api_path = "/api/v2/skips.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def skip_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_skips#record-a-new-skip-for-the-current-user"
api_path = "/api/v2/skips.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"skip_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/skips.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
"*",
"kwar... | https://developer.zendesk.com/rest_api/docs/core/ticket_skips#record-a-new-skip-for-the-current-user | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_skips#record",
"-",
"a",
"-",
"new",
"-",
"skip",
"-",
"for",
"-",
"the",
"-",
"current",
"-",
"user"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3124-L3127 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.slas_policies_reorder | def slas_policies_reorder(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sla_policies#reorder-sla-policies"
api_path = "/api/v2/slas/policies/reorder.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | python | def slas_policies_reorder(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sla_policies#reorder-sla-policies"
api_path = "/api/v2/slas/policies/reorder.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | [
"def",
"slas_policies_reorder",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/slas/policies/reorder.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"PUT\"",
",",
"data",
"=",
"data",
"... | https://developer.zendesk.com/rest_api/docs/core/sla_policies#reorder-sla-policies | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"sla_policies#reorder",
"-",
"sla",
"-",
"policies"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3144-L3147 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.slas_policy_create | def slas_policy_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sla_policies#create-sla-policy"
api_path = "/api/v2/slas/policies"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def slas_policy_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sla_policies#create-sla-policy"
api_path = "/api/v2/slas/policies"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"slas_policy_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/slas/policies\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
"*... | https://developer.zendesk.com/rest_api/docs/core/sla_policies#create-sla-policy | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"sla_policies#create",
"-",
"sla",
"-",
"policy"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3149-L3152 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.slas_policy_delete | def slas_policy_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sla_policies#delete-sla-policy"
api_path = "/api/v2/slas/policies/{id}"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def slas_policy_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sla_policies#delete-sla-policy"
api_path = "/api/v2/slas/policies/{id}"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"slas_policy_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/slas/policies/{id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path"... | https://developer.zendesk.com/rest_api/docs/core/sla_policies#delete-sla-policy | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"sla_policies#delete",
"-",
"sla",
"-",
"policy"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3154-L3158 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.slas_policy_show | def slas_policy_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sla_policies#get-sla-policy"
api_path = "/api/v2/slas/policies/{id}"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def slas_policy_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/sla_policies#get-sla-policy"
api_path = "/api/v2/slas/policies/{id}"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"slas_policy_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/slas/policies/{id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
... | https://developer.zendesk.com/rest_api/docs/core/sla_policies#get-sla-policy | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"sla_policies#get",
"-",
"sla",
"-",
"policy"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3160-L3164 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.stream_agent_show | def stream_agent_show(self, metric_key, department_id=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/apis#get-single-agent-status"
api_path = "/stream/agents/{metric_key}"
api_path = api_path.format(metric_key=metric_key)
api_query = {}
if "query" in kwargs.ke... | python | def stream_agent_show(self, metric_key, department_id=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/apis#get-single-agent-status"
api_path = "/stream/agents/{metric_key}"
api_path = api_path.format(metric_key=metric_key)
api_query = {}
if "query" in kwargs.ke... | [
"def",
"stream_agent_show",
"(",
"self",
",",
"metric_key",
",",
"department_id",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/stream/agents/{metric_key}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"metric_key",
"=",
"metric_key"... | https://developer.zendesk.com/rest_api/docs/chat/apis#get-single-agent-status | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"apis#get",
"-",
"single",
"-",
"agent",
"-",
"status"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3172-L3184 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.stream_agents_list | def stream_agents_list(self, department_id=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/apis#get-all-agents-status"
api_path = "/stream/agents"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
... | python | def stream_agents_list(self, department_id=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/apis#get-all-agents-status"
api_path = "/stream/agents"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
... | [
"def",
"stream_agents_list",
"(",
"self",
",",
"department_id",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/stream/agents\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
"keys",
"(",
")",
":",
"api_query",
... | https://developer.zendesk.com/rest_api/docs/chat/apis#get-all-agents-status | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"apis#get",
"-",
"all",
"-",
"agents",
"-",
"status"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3191-L3202 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.stream_chat_show | def stream_chat_show(self, metric_key, department_id=None, window=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/apis#get-single-chat-metric"
api_path = "/stream/chats/{metric_key}"
api_path = api_path.format(metric_key=metric_key)
api_query = {}
if "query" in... | python | def stream_chat_show(self, metric_key, department_id=None, window=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/apis#get-single-chat-metric"
api_path = "/stream/chats/{metric_key}"
api_path = api_path.format(metric_key=metric_key)
api_query = {}
if "query" in... | [
"def",
"stream_chat_show",
"(",
"self",
",",
"metric_key",
",",
"department_id",
"=",
"None",
",",
"window",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/stream/chats/{metric_key}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"... | https://developer.zendesk.com/rest_api/docs/chat/apis#get-single-chat-metric | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"apis#get",
"-",
"single",
"-",
"chat",
"-",
"metric"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3204-L3220 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.stream_chats_list | def stream_chats_list(self, department_id=None, window=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/apis#get-all-chat-metrics"
api_path = "/stream/chats"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs... | python | def stream_chats_list(self, department_id=None, window=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/apis#get-all-chat-metrics"
api_path = "/stream/chats"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs... | [
"def",
"stream_chats_list",
"(",
"self",
",",
"department_id",
"=",
"None",
",",
"window",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/stream/chats\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
"keys",
"... | https://developer.zendesk.com/rest_api/docs/chat/apis#get-all-chat-metrics | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"apis#get",
"-",
"all",
"-",
"chat",
"-",
"metrics"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3222-L3237 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.stream_chats_missed_chats_list | def stream_chats_missed_chats_list(self, window=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/apis#example-response"
api_path = "/stream/chats/missed_chats"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwar... | python | def stream_chats_missed_chats_list(self, window=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/apis#example-response"
api_path = "/stream/chats/missed_chats"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwar... | [
"def",
"stream_chats_missed_chats_list",
"(",
"self",
",",
"window",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/stream/chats/missed_chats\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
"keys",
"(",
")",
":",... | https://developer.zendesk.com/rest_api/docs/chat/apis#example-response | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"apis#example",
"-",
"response"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3239-L3250 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.suspended_ticket_delete | def suspended_ticket_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/suspended_tickets#delete-suspended-ticket"
api_path = "/api/v2/suspended_tickets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def suspended_ticket_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/suspended_tickets#delete-suspended-ticket"
api_path = "/api/v2/suspended_tickets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"suspended_ticket_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/suspended_tickets/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"("... | https://developer.zendesk.com/rest_api/docs/core/suspended_tickets#delete-suspended-ticket | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"suspended_tickets#delete",
"-",
"suspended",
"-",
"ticket"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3252-L3256 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.suspended_ticket_show | def suspended_ticket_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/suspended_tickets#show-suspended-ticket"
api_path = "/api/v2/suspended_tickets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def suspended_ticket_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/suspended_tickets#show-suspended-ticket"
api_path = "/api/v2/suspended_tickets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"suspended_ticket_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/suspended_tickets/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
... | https://developer.zendesk.com/rest_api/docs/core/suspended_tickets#show-suspended-ticket | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"suspended_tickets#show",
"-",
"suspended",
"-",
"ticket"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3264-L3268 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.target_create | def target_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/targets#create-target"
api_path = "/api/v2/targets.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def target_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/targets#create-target"
api_path = "/api/v2/targets.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"target_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/targets.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
"*",
"... | https://developer.zendesk.com/rest_api/docs/core/targets#create-target | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"targets#create",
"-",
"target"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3306-L3309 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.target_delete | def target_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/targets#delete-target"
api_path = "/api/v2/targets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def target_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/targets#delete-target"
api_path = "/api/v2/targets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"target_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/targets/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
",... | https://developer.zendesk.com/rest_api/docs/core/targets#delete-target | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"targets#delete",
"-",
"target"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3311-L3315 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.target_failure_show | def target_failure_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/target_failures#show-target-failure"
api_path = "/api/v2/target_failures/{id}"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def target_failure_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/target_failures#show-target-failure"
api_path = "/api/v2/target_failures/{id}"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"target_failure_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/target_failures/{id}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_pa... | https://developer.zendesk.com/rest_api/docs/core/target_failures#show-target-failure | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"target_failures#show",
"-",
"target",
"-",
"failure"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3317-L3321 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.target_show | def target_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/targets#show-target"
api_path = "/api/v2/targets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def target_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/targets#show-target"
api_path = "/api/v2/targets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"target_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/targets/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
",",... | https://developer.zendesk.com/rest_api/docs/core/targets#show-target | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"targets#show",
"-",
"target"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3328-L3332 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_audit_show | def ticket_audit_show(self, ticket_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_audits#show-audit"
api_path = "/api/v2/tickets/{ticket_id}/audits/{id}.json"
api_path = api_path.format(ticket_id=ticket_id, id=id)
return self.call(api_path, **kwargs) | python | def ticket_audit_show(self, ticket_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_audits#show-audit"
api_path = "/api/v2/tickets/{ticket_id}/audits/{id}.json"
api_path = api_path.format(ticket_id=ticket_id, id=id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_audit_show",
"(",
"self",
",",
"ticket_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{ticket_id}/audits/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"ticket_id",
"=",
"ticket_id",
",",
"id... | https://developer.zendesk.com/rest_api/docs/core/ticket_audits#show-audit | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_audits#show",
"-",
"audit"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3351-L3355 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_audits | def ticket_audits(self, ticket_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_audits#list-audits-for-a-ticket"
api_path = "/api/v2/tickets/{ticket_id}/audits.json"
api_path = api_path.format(ticket_id=ticket_id)
return self.call(api_path, **kwargs) | python | def ticket_audits(self, ticket_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_audits#list-audits-for-a-ticket"
api_path = "/api/v2/tickets/{ticket_id}/audits.json"
api_path = api_path.format(ticket_id=ticket_id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_audits",
"(",
"self",
",",
"ticket_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{ticket_id}/audits.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"ticket_id",
"=",
"ticket_id",
")",
"return",
"self",
".",
... | https://developer.zendesk.com/rest_api/docs/core/ticket_audits#list-audits-for-a-ticket | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_audits#list",
"-",
"audits",
"-",
"for",
"-",
"a",
"-",
"ticket"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3357-L3361 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_audits_list | def ticket_audits_list(self, cursor=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_audits#list-all-ticket-audits"
api_path = "/api/v2/ticket_audits.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del k... | python | def ticket_audits_list(self, cursor=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_audits#list-all-ticket-audits"
api_path = "/api/v2/ticket_audits.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del k... | [
"def",
"ticket_audits_list",
"(",
"self",
",",
"cursor",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_audits.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
"keys",
"(",
")",
":",
"api_quer... | https://developer.zendesk.com/rest_api/docs/core/ticket_audits#list-all-ticket-audits | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_audits#list",
"-",
"all",
"-",
"ticket",
"-",
"audits"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3363-L3374 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_collaborators | def ticket_collaborators(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#list-collaborators-for-a-ticket"
api_path = "/api/v2/tickets/{id}/collaborators.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def ticket_collaborators(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#list-collaborators-for-a-ticket"
api_path = "/api/v2/tickets/{id}/collaborators.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_collaborators",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{id}/collaborators.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(... | https://developer.zendesk.com/rest_api/docs/core/tickets#list-collaborators-for-a-ticket | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tickets#list",
"-",
"collaborators",
"-",
"for",
"-",
"a",
"-",
"ticket"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3376-L3380 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_comment_attachment_redact | def ticket_comment_attachment_redact(self, ticket_id, comment_id, attachment_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/attachments#redact-comment-attachment"
api_path = "/api/v2/tickets/{ticket_id}/comments/{comment_id}/attachments/{attachment_id}/redact.json"
api_pa... | python | def ticket_comment_attachment_redact(self, ticket_id, comment_id, attachment_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/attachments#redact-comment-attachment"
api_path = "/api/v2/tickets/{ticket_id}/comments/{comment_id}/attachments/{attachment_id}/redact.json"
api_pa... | [
"def",
"ticket_comment_attachment_redact",
"(",
"self",
",",
"ticket_id",
",",
"comment_id",
",",
"attachment_id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{ticket_id}/comments/{comment_id}/attachments/{attachment_id}/redact.json\"",... | https://developer.zendesk.com/rest_api/docs/core/attachments#redact-comment-attachment | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"attachments#redact",
"-",
"comment",
"-",
"attachment"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3382-L3386 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_comment_make_private | def ticket_comment_make_private(self, ticket_id, id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_comments#make-comment-private"
api_path = "/api/v2/tickets/{ticket_id}/comments/{id}/make_private.json"
api_path = api_path.format(ticket_id=ticket_id, id=id)
re... | python | def ticket_comment_make_private(self, ticket_id, id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_comments#make-comment-private"
api_path = "/api/v2/tickets/{ticket_id}/comments/{id}/make_private.json"
api_path = api_path.format(ticket_id=ticket_id, id=id)
re... | [
"def",
"ticket_comment_make_private",
"(",
"self",
",",
"ticket_id",
",",
"id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{ticket_id}/comments/{id}/make_private.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"tick... | https://developer.zendesk.com/rest_api/docs/core/ticket_comments#make-comment-private | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_comments#make",
"-",
"comment",
"-",
"private"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3388-L3392 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_comments | def ticket_comments(self, ticket_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_comments#list-comments"
api_path = "/api/v2/tickets/{ticket_id}/comments.json"
api_path = api_path.format(ticket_id=ticket_id)
return self.call(api_path, **kwargs) | python | def ticket_comments(self, ticket_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_comments#list-comments"
api_path = "/api/v2/tickets/{ticket_id}/comments.json"
api_path = api_path.format(ticket_id=ticket_id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_comments",
"(",
"self",
",",
"ticket_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{ticket_id}/comments.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"ticket_id",
"=",
"ticket_id",
")",
"return",
"self",
"... | https://developer.zendesk.com/rest_api/docs/core/ticket_comments#list-comments | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_comments#list",
"-",
"comments"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3400-L3404 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_create | def ticket_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#create-ticket"
api_path = "/api/v2/tickets.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def ticket_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#create-ticket"
api_path = "/api/v2/tickets.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"ticket_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
"*",
"... | https://developer.zendesk.com/rest_api/docs/core/tickets#create-ticket | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tickets#create",
"-",
"ticket"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3406-L3409 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_delete | def ticket_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#delete-ticket"
api_path = "/api/v2/tickets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def ticket_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#delete-ticket"
api_path = "/api/v2/tickets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"ticket_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
",... | https://developer.zendesk.com/rest_api/docs/core/tickets#delete-ticket | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tickets#delete",
"-",
"ticket"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3411-L3415 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_field_create | def ticket_field_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#create-ticket-field"
api_path = "/api/v2/ticket_fields.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def ticket_field_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#create-ticket-field"
api_path = "/api/v2/ticket_fields.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"ticket_field_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_fields.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*"... | https://developer.zendesk.com/rest_api/docs/core/ticket_fields#create-ticket-field | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_fields#create",
"-",
"ticket",
"-",
"field"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3417-L3420 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_field_delete | def ticket_field_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#delete-ticket-field"
api_path = "/api/v2/ticket_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def ticket_field_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#delete-ticket-field"
api_path = "/api/v2/ticket_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"ticket_field_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_fields/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api... | https://developer.zendesk.com/rest_api/docs/core/ticket_fields#delete-ticket-field | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_fields#delete",
"-",
"ticket",
"-",
"field"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3422-L3426 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_field_option_create | def ticket_field_option_create(self, field_id, id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#create-or-update-a-ticket-field-option"
api_path = "/api/v2/ticket_fields/{field_id}/options/{id}.json"
api_path = api_path.format(field_id=field_id, id=id)
... | python | def ticket_field_option_create(self, field_id, id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#create-or-update-a-ticket-field-option"
api_path = "/api/v2/ticket_fields/{field_id}/options/{id}.json"
api_path = api_path.format(field_id=field_id, id=id)
... | [
"def",
"ticket_field_option_create",
"(",
"self",
",",
"field_id",
",",
"id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_fields/{field_id}/options/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"field_id",
"=... | https://developer.zendesk.com/rest_api/docs/core/ticket_fields#create-or-update-a-ticket-field-option | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_fields#create",
"-",
"or",
"-",
"update",
"-",
"a",
"-",
"ticket",
"-",
"field",
"-",
"option"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3428-L3432 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_field_option_show | def ticket_field_option_show(self, field_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#show-a-ticket-field-option"
api_path = "/api/v2/ticket_fields/{field_id}/options/{id}.json"
api_path = api_path.format(field_id=field_id, id=id)
return self.call(ap... | python | def ticket_field_option_show(self, field_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#show-a-ticket-field-option"
api_path = "/api/v2/ticket_fields/{field_id}/options/{id}.json"
api_path = api_path.format(field_id=field_id, id=id)
return self.call(ap... | [
"def",
"ticket_field_option_show",
"(",
"self",
",",
"field_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_fields/{field_id}/options/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"field_id",
"=",
"field_id",
... | https://developer.zendesk.com/rest_api/docs/core/ticket_fields#show-a-ticket-field-option | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_fields#show",
"-",
"a",
"-",
"ticket",
"-",
"field",
"-",
"option"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3440-L3444 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_field_options | def ticket_field_options(self, field_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#list-ticket-field-options"
api_path = "/api/v2/ticket_fields/{field_id}/options.json"
api_path = api_path.format(field_id=field_id)
return self.call(api_path, **kwargs) | python | def ticket_field_options(self, field_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#list-ticket-field-options"
api_path = "/api/v2/ticket_fields/{field_id}/options.json"
api_path = api_path.format(field_id=field_id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_field_options",
"(",
"self",
",",
"field_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_fields/{field_id}/options.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"field_id",
"=",
"field_id",
")",
"return",
"self... | https://developer.zendesk.com/rest_api/docs/core/ticket_fields#list-ticket-field-options | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_fields#list",
"-",
"ticket",
"-",
"field",
"-",
"options"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3446-L3450 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_field_show | def ticket_field_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#show-ticket-field"
api_path = "/api/v2/ticket_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def ticket_field_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_fields#show-ticket-field"
api_path = "/api/v2/ticket_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_field_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_fields/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_p... | https://developer.zendesk.com/rest_api/docs/core/ticket_fields#show-ticket-field | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_fields#show",
"-",
"ticket",
"-",
"field"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3452-L3456 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_form_create | def ticket_form_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_forms#create-ticket-forms"
api_path = "/api/v2/ticket_forms.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def ticket_form_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_forms#create-ticket-forms"
api_path = "/api/v2/ticket_forms.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"ticket_form_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_forms.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
... | https://developer.zendesk.com/rest_api/docs/core/ticket_forms#create-ticket-forms | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_forms#create",
"-",
"ticket",
"-",
"forms"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3475-L3478 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_form_delete | def ticket_form_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_forms#delete-ticket-form"
api_path = "/api/v2/ticket_forms/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def ticket_form_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_forms#delete-ticket-form"
api_path = "/api/v2/ticket_forms/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"ticket_form_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_forms/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_p... | https://developer.zendesk.com/rest_api/docs/core/ticket_forms#delete-ticket-form | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_forms#delete",
"-",
"ticket",
"-",
"form"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3480-L3484 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_form_show | def ticket_form_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_forms#show-ticket-form"
api_path = "/api/v2/ticket_forms/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def ticket_form_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_forms#show-ticket-form"
api_path = "/api/v2/ticket_forms/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_form_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_forms/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_pat... | https://developer.zendesk.com/rest_api/docs/core/ticket_forms#show-ticket-form | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_forms#show",
"-",
"ticket",
"-",
"form"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3486-L3490 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_forms_reorder | def ticket_forms_reorder(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_forms#reorder-ticket-forms"
api_path = "/api/v2/ticket_forms/reorder.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | python | def ticket_forms_reorder(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_forms#reorder-ticket-forms"
api_path = "/api/v2/ticket_forms/reorder.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | [
"def",
"ticket_forms_reorder",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_forms/reorder.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"PUT\"",
",",
"data",
"=",
"data",
","... | https://developer.zendesk.com/rest_api/docs/core/ticket_forms#reorder-ticket-forms | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_forms#reorder",
"-",
"ticket",
"-",
"forms"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3503-L3506 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_incidents | def ticket_incidents(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#listing-ticket-incidents"
api_path = "/api/v2/tickets/{id}/incidents.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def ticket_incidents(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#listing-ticket-incidents"
api_path = "/api/v2/tickets/{id}/incidents.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_incidents",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{id}/incidents.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"ap... | https://developer.zendesk.com/rest_api/docs/core/tickets#listing-ticket-incidents | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tickets#listing",
"-",
"ticket",
"-",
"incidents"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3521-L3525 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_macro_apply | def ticket_macro_apply(self, ticket_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/macros#show-ticket-after-changes"
api_path = "/api/v2/tickets/{ticket_id}/macros/{id}/apply.json"
api_path = api_path.format(ticket_id=ticket_id, id=id)
return self.call(api_path, **k... | python | def ticket_macro_apply(self, ticket_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/macros#show-ticket-after-changes"
api_path = "/api/v2/tickets/{ticket_id}/macros/{id}/apply.json"
api_path = api_path.format(ticket_id=ticket_id, id=id)
return self.call(api_path, **k... | [
"def",
"ticket_macro_apply",
"(",
"self",
",",
"ticket_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{ticket_id}/macros/{id}/apply.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"ticket_id",
"=",
"ticket_id",
","... | https://developer.zendesk.com/rest_api/docs/core/macros#show-ticket-after-changes | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"macros#show",
"-",
"ticket",
"-",
"after",
"-",
"changes"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3527-L3531 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_metric_show | def ticket_metric_show(self, ticket_metric_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_metrics#show-ticket-metrics"
api_path = "/api/v2/ticket_metrics/{ticket_metric_id}.json"
api_path = api_path.format(ticket_metric_id=ticket_metric_id)
return self.call(api_p... | python | def ticket_metric_show(self, ticket_metric_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_metrics#show-ticket-metrics"
api_path = "/api/v2/ticket_metrics/{ticket_metric_id}.json"
api_path = api_path.format(ticket_metric_id=ticket_metric_id)
return self.call(api_p... | [
"def",
"ticket_metric_show",
"(",
"self",
",",
"ticket_metric_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/ticket_metrics/{ticket_metric_id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"ticket_metric_id",
"=",
"ticket_metric_id",
"... | https://developer.zendesk.com/rest_api/docs/core/ticket_metrics#show-ticket-metrics | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_metrics#show",
"-",
"ticket",
"-",
"metrics"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3545-L3549 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_metrics | def ticket_metrics(self, ticket_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_metrics#show-ticket-metrics"
api_path = "/api/v2/tickets/{ticket_id}/metrics.json"
api_path = api_path.format(ticket_id=ticket_id)
return self.call(api_path, **kwargs) | python | def ticket_metrics(self, ticket_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_metrics#show-ticket-metrics"
api_path = "/api/v2/tickets/{ticket_id}/metrics.json"
api_path = api_path.format(ticket_id=ticket_id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_metrics",
"(",
"self",
",",
"ticket_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{ticket_id}/metrics.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"ticket_id",
"=",
"ticket_id",
")",
"return",
"self",
"."... | https://developer.zendesk.com/rest_api/docs/core/ticket_metrics#show-ticket-metrics | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_metrics#show",
"-",
"ticket",
"-",
"metrics"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3551-L3555 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_related | def ticket_related(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#ticket-related-information"
api_path = "/api/v2/tickets/{id}/related.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def ticket_related(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#ticket-related-information"
api_path = "/api/v2/tickets/{id}/related.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_related",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{id}/related.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_pa... | https://developer.zendesk.com/rest_api/docs/core/tickets#ticket-related-information | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tickets#ticket",
"-",
"related",
"-",
"information"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3562-L3566 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_satisfaction_rating_create | def ticket_satisfaction_rating_create(self, ticket_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/satisfaction_ratings#create-a-satisfaction-rating"
api_path = "/api/v2/tickets/{ticket_id}/satisfaction_rating.json"
api_path = api_path.format(ticket_id=ticket_id)
r... | python | def ticket_satisfaction_rating_create(self, ticket_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/satisfaction_ratings#create-a-satisfaction-rating"
api_path = "/api/v2/tickets/{ticket_id}/satisfaction_rating.json"
api_path = api_path.format(ticket_id=ticket_id)
r... | [
"def",
"ticket_satisfaction_rating_create",
"(",
"self",
",",
"ticket_id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{ticket_id}/satisfaction_rating.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"ticket_id",
"=",
... | https://developer.zendesk.com/rest_api/docs/core/satisfaction_ratings#create-a-satisfaction-rating | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"satisfaction_ratings#create",
"-",
"a",
"-",
"satisfaction",
"-",
"rating"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3568-L3572 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_show | def ticket_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#show-ticket"
api_path = "/api/v2/tickets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def ticket_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#show-ticket"
api_path = "/api/v2/tickets/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
",",... | https://developer.zendesk.com/rest_api/docs/core/tickets#show-ticket | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tickets#show",
"-",
"ticket"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3574-L3578 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_skips | def ticket_skips(self, ticket_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_skips#list-skips-for-the-current-account"
api_path = "/api/v2/tickets/{ticket_id}/skips.json"
api_path = api_path.format(ticket_id=ticket_id)
return self.call(api_path, **kwargs) | python | def ticket_skips(self, ticket_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/ticket_skips#list-skips-for-the-current-account"
api_path = "/api/v2/tickets/{ticket_id}/skips.json"
api_path = api_path.format(ticket_id=ticket_id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_skips",
"(",
"self",
",",
"ticket_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{ticket_id}/skips.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"ticket_id",
"=",
"ticket_id",
")",
"return",
"self",
".",
... | https://developer.zendesk.com/rest_api/docs/core/ticket_skips#list-skips-for-the-current-account | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"ticket_skips#list",
"-",
"skips",
"-",
"for",
"-",
"the",
"-",
"current",
"-",
"account"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3580-L3584 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_tags | def ticket_tags(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tags#show-tags"
api_path = "/api/v2/tickets/{id}/tags.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def ticket_tags(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tags#show-tags"
api_path = "/api/v2/tickets/{id}/tags.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"ticket_tags",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{id}/tags.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
... | 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#L3592-L3596 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.ticket_tags_delete | def ticket_tags_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tags#remove-tags"
api_path = "/api/v2/tickets/{id}/tags.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def ticket_tags_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tags#remove-tags"
api_path = "/api/v2/tickets/{id}/tags.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"ticket_tags_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/{id}/tags.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_p... | 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#L3598-L3602 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.tickets_create_many | def tickets_create_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#create-many-tickets"
api_path = "/api/v2/tickets/create_many.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def tickets_create_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#create-many-tickets"
api_path = "/api/v2/tickets/create_many.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"tickets_create_many",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/create_many.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",... | https://developer.zendesk.com/rest_api/docs/core/tickets#create-many-tickets | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tickets#create",
"-",
"many",
"-",
"tickets"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3616-L3619 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.tickets_list | def tickets_list(self, external_id=None, include=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#json-format"
api_path = "/api/v2/tickets.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["que... | python | def tickets_list(self, external_id=None, include=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#json-format"
api_path = "/api/v2/tickets.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["que... | [
"def",
"tickets_list",
"(",
"self",
",",
"external_id",
"=",
"None",
",",
"include",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
"keys",
... | https://developer.zendesk.com/rest_api/docs/core/tickets#json-format | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tickets#json",
"-",
"format"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3634-L3649 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.tickets_update_many | def tickets_update_many(self, data, ids=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#update-many-tickets"
api_path = "/api/v2/tickets/update_many.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del ... | python | def tickets_update_many(self, data, ids=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/tickets#update-many-tickets"
api_path = "/api/v2/tickets/update_many.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del ... | [
"def",
"tickets_update_many",
"(",
"self",
",",
"data",
",",
"ids",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/tickets/update_many.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",
"keys",
"(",
")... | https://developer.zendesk.com/rest_api/docs/core/tickets#update-many-tickets | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"tickets#update",
"-",
"many",
"-",
"tickets"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3690-L3701 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.trigger_create | def trigger_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/triggers#create-trigger"
api_path = "/api/v2/triggers"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def trigger_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/triggers#create-trigger"
api_path = "/api/v2/triggers"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"trigger_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/triggers\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
"*",
"kwa... | https://developer.zendesk.com/rest_api/docs/chat/triggers#create-trigger | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"triggers#create",
"-",
"trigger"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3703-L3706 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.trigger_delete_by_id | def trigger_delete_by_id(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#delete-trigger"
api_path = "/api/v2/triggers/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def trigger_delete_by_id(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#delete-trigger"
api_path = "/api/v2/triggers/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"trigger_delete_by_id",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/triggers/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_pat... | https://developer.zendesk.com/rest_api/docs/core/triggers#delete-trigger | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"triggers#delete",
"-",
"trigger"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3708-L3712 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.trigger_delete_by_trigger_name | def trigger_delete_by_trigger_name(self, trigger_name, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/triggers#delete-trigger"
api_path = "/api/v2/triggers/{trigger_name}"
api_path = api_path.format(trigger_name=trigger_name)
return self.call(api_path, method="DELETE", **kw... | python | def trigger_delete_by_trigger_name(self, trigger_name, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/triggers#delete-trigger"
api_path = "/api/v2/triggers/{trigger_name}"
api_path = api_path.format(trigger_name=trigger_name)
return self.call(api_path, method="DELETE", **kw... | [
"def",
"trigger_delete_by_trigger_name",
"(",
"self",
",",
"trigger_name",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/triggers/{trigger_name}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"trigger_name",
"=",
"trigger_name",
")",
"return",... | https://developer.zendesk.com/rest_api/docs/chat/triggers#delete-trigger | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"triggers#delete",
"-",
"trigger"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3714-L3718 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.trigger_revision_show | def trigger_revision_show(self, trigger_id, revision_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#getting-revisions"
api_path = "/api/v2/triggers/{trigger_id}/revisions/{revision_id}.json"
api_path = api_path.format(trigger_id=trigger_id, revision_id=revision_id)
... | python | def trigger_revision_show(self, trigger_id, revision_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#getting-revisions"
api_path = "/api/v2/triggers/{trigger_id}/revisions/{revision_id}.json"
api_path = api_path.format(trigger_id=trigger_id, revision_id=revision_id)
... | [
"def",
"trigger_revision_show",
"(",
"self",
",",
"trigger_id",
",",
"revision_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/triggers/{trigger_id}/revisions/{revision_id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"trigger_id",
"="... | https://developer.zendesk.com/rest_api/docs/core/triggers#getting-revisions | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"triggers#getting",
"-",
"revisions"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3720-L3724 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.trigger_revisions | def trigger_revisions(self, trigger_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#list-trigger-revisions"
api_path = "/api/v2/triggers/{trigger_id}/revisions.json"
api_path = api_path.format(trigger_id=trigger_id)
return self.call(api_path, **kwargs) | python | def trigger_revisions(self, trigger_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#list-trigger-revisions"
api_path = "/api/v2/triggers/{trigger_id}/revisions.json"
api_path = api_path.format(trigger_id=trigger_id)
return self.call(api_path, **kwargs) | [
"def",
"trigger_revisions",
"(",
"self",
",",
"trigger_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/triggers/{trigger_id}/revisions.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"trigger_id",
"=",
"trigger_id",
")",
"return",
"se... | https://developer.zendesk.com/rest_api/docs/core/triggers#list-trigger-revisions | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"triggers#list",
"-",
"trigger",
"-",
"revisions"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3726-L3730 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.trigger_show_by_id | def trigger_show_by_id(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#getting-triggers"
api_path = "/api/v2/triggers/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def trigger_show_by_id(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#getting-triggers"
api_path = "/api/v2/triggers/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"trigger_show_by_id",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/triggers/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path"... | https://developer.zendesk.com/rest_api/docs/core/triggers#getting-triggers | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"triggers#getting",
"-",
"triggers"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3732-L3736 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.trigger_show_by_trigger_name | def trigger_show_by_trigger_name(self, trigger_name, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/triggers#get-a-trigger"
api_path = "/api/v2/triggers/{trigger_name}"
api_path = api_path.format(trigger_name=trigger_name)
return self.call(api_path, **kwargs) | python | def trigger_show_by_trigger_name(self, trigger_name, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/triggers#get-a-trigger"
api_path = "/api/v2/triggers/{trigger_name}"
api_path = api_path.format(trigger_name=trigger_name)
return self.call(api_path, **kwargs) | [
"def",
"trigger_show_by_trigger_name",
"(",
"self",
",",
"trigger_name",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/triggers/{trigger_name}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"trigger_name",
"=",
"trigger_name",
")",
"return",
... | https://developer.zendesk.com/rest_api/docs/chat/triggers#get-a-trigger | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"triggers#get",
"-",
"a",
"-",
"trigger"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3738-L3742 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.trigger_update_by_id | def trigger_update_by_id(self, id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#update-trigger"
api_path = "/api/v2/triggers/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="PUT", data=data, **kwargs) | python | def trigger_update_by_id(self, id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#update-trigger"
api_path = "/api/v2/triggers/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="PUT", data=data, **kwargs) | [
"def",
"trigger_update_by_id",
"(",
"self",
",",
"id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/triggers/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
... | https://developer.zendesk.com/rest_api/docs/core/triggers#update-trigger | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"triggers#update",
"-",
"trigger"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3744-L3748 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.trigger_update_by_trigger_name | def trigger_update_by_trigger_name(self, trigger_name, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/triggers#update-trigger"
api_path = "/api/v2/triggers/{trigger_name}"
api_path = api_path.format(trigger_name=trigger_name)
return self.call(api_path, method="PUT", d... | python | def trigger_update_by_trigger_name(self, trigger_name, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/triggers#update-trigger"
api_path = "/api/v2/triggers/{trigger_name}"
api_path = api_path.format(trigger_name=trigger_name)
return self.call(api_path, method="PUT", d... | [
"def",
"trigger_update_by_trigger_name",
"(",
"self",
",",
"trigger_name",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/triggers/{trigger_name}\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"trigger_name",
"=",
"trigger_name",
... | https://developer.zendesk.com/rest_api/docs/chat/triggers#update-trigger | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"chat",
"/",
"triggers#update",
"-",
"trigger"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3750-L3754 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.triggers_reorder | def triggers_reorder(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#reorder-triggers"
api_path = "/api/v2/triggers/reorder.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | python | def triggers_reorder(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#reorder-triggers"
api_path = "/api/v2/triggers/reorder.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | [
"def",
"triggers_reorder",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/triggers/reorder.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"PUT\"",
",",
"data",
"=",
"data",
",",
"*",... | https://developer.zendesk.com/rest_api/docs/core/triggers#reorder-triggers | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"triggers#reorder",
"-",
"triggers"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3776-L3779 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.triggers_update_many | def triggers_update_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#update-many-triggers"
api_path = "/api/v2/triggers/update_many.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | python | def triggers_update_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/triggers#update-many-triggers"
api_path = "/api/v2/triggers/update_many.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | [
"def",
"triggers_update_many",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/triggers/update_many.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"PUT\"",
",",
"data",
"=",
"data",
","... | https://developer.zendesk.com/rest_api/docs/core/triggers#update-many-triggers | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"triggers#update",
"-",
"many",
"-",
"triggers"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3786-L3789 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.upload_create | def upload_create(self, data, filename=None, token=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/attachments#upload-files"
api_path = "/api/v2/uploads.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwar... | python | def upload_create(self, data, filename=None, token=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/attachments#upload-files"
api_path = "/api/v2/uploads.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwar... | [
"def",
"upload_create",
"(",
"self",
",",
"data",
",",
"filename",
"=",
"None",
",",
"token",
"=",
"None",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/uploads.json\"",
"api_query",
"=",
"{",
"}",
"if",
"\"query\"",
"in",
"kwargs",
".",... | https://developer.zendesk.com/rest_api/docs/core/attachments#upload-files | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"attachments#upload",
"-",
"files"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3791-L3806 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.upload_delete | def upload_delete(self, token, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/attachments#delete-upload"
api_path = "/api/v2/uploads/{token}.json"
api_path = api_path.format(token=token)
return self.call(api_path, method="DELETE", **kwargs) | python | def upload_delete(self, token, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/attachments#delete-upload"
api_path = "/api/v2/uploads/{token}.json"
api_path = api_path.format(token=token)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"upload_delete",
"(",
"self",
",",
"token",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/uploads/{token}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"token",
"=",
"token",
")",
"return",
"self",
".",
"call",
"(",
"api... | https://developer.zendesk.com/rest_api/docs/core/attachments#delete-upload | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"attachments#delete",
"-",
"upload"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3808-L3812 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_compliance_deletion_statuses | def user_compliance_deletion_statuses(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/users#show-compliance-deletion-statuses"
api_path = "/api/v2/users/{id}/compliance_deletion_statuses.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def user_compliance_deletion_statuses(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/users#show-compliance-deletion-statuses"
api_path = "/api/v2/users/{id}/compliance_deletion_statuses.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"user_compliance_deletion_statuses",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/users/{id}/compliance_deletion_statuses.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"se... | https://developer.zendesk.com/rest_api/docs/core/users#show-compliance-deletion-statuses | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"users#show",
"-",
"compliance",
"-",
"deletion",
"-",
"statuses"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3814-L3818 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_create | def user_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/users#create-user"
api_path = "/api/v2/users.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def user_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/users#create-user"
api_path = "/api/v2/users.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"user_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/users.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
"*",
"kwar... | https://developer.zendesk.com/rest_api/docs/core/users#create-user | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"users#create",
"-",
"user"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3820-L3823 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_delete | def user_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/users#delete-user"
api_path = "/api/v2/users/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def user_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/users#delete-user"
api_path = "/api/v2/users/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"user_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/users/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
... | https://developer.zendesk.com/rest_api/docs/core/users#delete-user | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"users#delete",
"-",
"user"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3825-L3829 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_field_create | def user_field_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#create-user-fields"
api_path = "/api/v2/user_fields.json"
return self.call(api_path, method="POST", data=data, **kwargs) | python | def user_field_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#create-user-fields"
api_path = "/api/v2/user_fields.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [
"def",
"user_field_create",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/user_fields.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"POST\"",
",",
"data",
"=",
"data",
",",
"*",
... | https://developer.zendesk.com/rest_api/docs/core/user_fields#create-user-fields | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"user_fields#create",
"-",
"user",
"-",
"fields"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3831-L3834 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_field_delete | def user_field_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#delete-user-field"
api_path = "/api/v2/user_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | python | def user_field_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#delete-user-field"
api_path = "/api/v2/user_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [
"def",
"user_field_delete",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/user_fields/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_pat... | https://developer.zendesk.com/rest_api/docs/core/user_fields#delete-user-field | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"user_fields#delete",
"-",
"user",
"-",
"field"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3836-L3840 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_field_option_create | def user_field_option_create(self, field_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#create-or-update-a-user-field-option"
api_path = "/api/v2/user_fields/{field_id}/options.json"
api_path = api_path.format(field_id=field_id)
return self.call(api_pa... | python | def user_field_option_create(self, field_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#create-or-update-a-user-field-option"
api_path = "/api/v2/user_fields/{field_id}/options.json"
api_path = api_path.format(field_id=field_id)
return self.call(api_pa... | [
"def",
"user_field_option_create",
"(",
"self",
",",
"field_id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/user_fields/{field_id}/options.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"field_id",
"=",
"field_id",
")",
... | https://developer.zendesk.com/rest_api/docs/core/user_fields#create-or-update-a-user-field-option | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"user_fields#create",
"-",
"or",
"-",
"update",
"-",
"a",
"-",
"user",
"-",
"field",
"-",
"option"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3842-L3846 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_field_option_delete | def user_field_option_delete(self, field_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#delete-user-field-option"
api_path = "/api/v2/user_fields/{field_id}/options/{id}.json"
api_path = api_path.format(field_id=field_id, id=id)
return self.call(api_path... | python | def user_field_option_delete(self, field_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#delete-user-field-option"
api_path = "/api/v2/user_fields/{field_id}/options/{id}.json"
api_path = api_path.format(field_id=field_id, id=id)
return self.call(api_path... | [
"def",
"user_field_option_delete",
"(",
"self",
",",
"field_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/user_fields/{field_id}/options/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"field_id",
"=",
"field_id",
",... | https://developer.zendesk.com/rest_api/docs/core/user_fields#delete-user-field-option | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"user_fields#delete",
"-",
"user",
"-",
"field",
"-",
"option"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3848-L3852 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_field_option_show | def user_field_option_show(self, field_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#show-a-user-field-option"
api_path = "/api/v2/user_fields/{field_id}/options/{id}.json"
api_path = api_path.format(field_id=field_id, id=id)
return self.call(api_path, ... | python | def user_field_option_show(self, field_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#show-a-user-field-option"
api_path = "/api/v2/user_fields/{field_id}/options/{id}.json"
api_path = api_path.format(field_id=field_id, id=id)
return self.call(api_path, ... | [
"def",
"user_field_option_show",
"(",
"self",
",",
"field_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/user_fields/{field_id}/options/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"field_id",
"=",
"field_id",
",",... | https://developer.zendesk.com/rest_api/docs/core/user_fields#show-a-user-field-option | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"user_fields#show",
"-",
"a",
"-",
"user",
"-",
"field",
"-",
"option"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3854-L3858 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_field_options | def user_field_options(self, field_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#list-user-field-options"
api_path = "/api/v2/user_fields/{field_id}/options.json"
api_path = api_path.format(field_id=field_id)
return self.call(api_path, **kwargs) | python | def user_field_options(self, field_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#list-user-field-options"
api_path = "/api/v2/user_fields/{field_id}/options.json"
api_path = api_path.format(field_id=field_id)
return self.call(api_path, **kwargs) | [
"def",
"user_field_options",
"(",
"self",
",",
"field_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/user_fields/{field_id}/options.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"field_id",
"=",
"field_id",
")",
"return",
"self",
... | https://developer.zendesk.com/rest_api/docs/core/user_fields#list-user-field-options | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"user_fields#list",
"-",
"user",
"-",
"field",
"-",
"options"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3860-L3864 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_field_show | def user_field_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#show-user-field"
api_path = "/api/v2/user_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | python | def user_field_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#show-user-field"
api_path = "/api/v2/user_fields/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [
"def",
"user_field_show",
"(",
"self",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/user_fields/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"id",
"=",
"id",
")",
"return",
"self",
".",
"call",
"(",
"api_path"... | https://developer.zendesk.com/rest_api/docs/core/user_fields#show-user-field | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"user_fields#show",
"-",
"user",
"-",
"field"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3866-L3870 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_fields_reorder | def user_fields_reorder(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#reorder-user-field"
api_path = "/api/v2/user_fields/reorder.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | python | def user_fields_reorder(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_fields#reorder-user-field"
api_path = "/api/v2/user_fields/reorder.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | [
"def",
"user_fields_reorder",
"(",
"self",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/user_fields/reorder.json\"",
"return",
"self",
".",
"call",
"(",
"api_path",
",",
"method",
"=",
"\"PUT\"",
",",
"data",
"=",
"data",
",",
... | https://developer.zendesk.com/rest_api/docs/core/user_fields#reorder-user-field | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"user_fields#reorder",
"-",
"user",
"-",
"field"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3883-L3886 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_group_membership_make_default | def user_group_membership_make_default(self, user_id, membership_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#set-membership-as-default"
api_path = "/api/v2/users/{user_id}/group_memberships/{membership_id}/make_default.json"
api_path = api_path.format... | python | def user_group_membership_make_default(self, user_id, membership_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#set-membership-as-default"
api_path = "/api/v2/users/{user_id}/group_memberships/{membership_id}/make_default.json"
api_path = api_path.format... | [
"def",
"user_group_membership_make_default",
"(",
"self",
",",
"user_id",
",",
"membership_id",
",",
"data",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/users/{user_id}/group_memberships/{membership_id}/make_default.json\"",
"api_path",
"=",
"api_path",
... | https://developer.zendesk.com/rest_api/docs/core/group_memberships#set-membership-as-default | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"group_memberships#set",
"-",
"membership",
"-",
"as",
"-",
"default"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3900-L3904 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_group_membership_show | def user_group_membership_show(self, user_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#show-membership"
api_path = "/api/v2/users/{user_id}/group_memberships/{id}.json"
api_path = api_path.format(user_id=user_id, id=id)
return self.call(api_path,... | python | def user_group_membership_show(self, user_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#show-membership"
api_path = "/api/v2/users/{user_id}/group_memberships/{id}.json"
api_path = api_path.format(user_id=user_id, id=id)
return self.call(api_path,... | [
"def",
"user_group_membership_show",
"(",
"self",
",",
"user_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/users/{user_id}/group_memberships/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"user_id",
"=",
"user_id",
... | https://developer.zendesk.com/rest_api/docs/core/group_memberships#show-membership | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"group_memberships#show",
"-",
"membership"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3906-L3910 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_group_memberships | def user_group_memberships(self, user_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#list-memberships"
api_path = "/api/v2/users/{user_id}/group_memberships.json"
api_path = api_path.format(user_id=user_id)
return self.call(api_path, **kwargs) | python | def user_group_memberships(self, user_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/group_memberships#list-memberships"
api_path = "/api/v2/users/{user_id}/group_memberships.json"
api_path = api_path.format(user_id=user_id)
return self.call(api_path, **kwargs) | [
"def",
"user_group_memberships",
"(",
"self",
",",
"user_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/users/{user_id}/group_memberships.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"user_id",
"=",
"user_id",
")",
"return",
"self... | https://developer.zendesk.com/rest_api/docs/core/group_memberships#list-memberships | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"group_memberships#list",
"-",
"memberships"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3912-L3916 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_groups | def user_groups(self, user_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/groups#list-groups"
api_path = "/api/v2/users/{user_id}/groups.json"
api_path = api_path.format(user_id=user_id)
return self.call(api_path, **kwargs) | python | def user_groups(self, user_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/groups#list-groups"
api_path = "/api/v2/users/{user_id}/groups.json"
api_path = api_path.format(user_id=user_id)
return self.call(api_path, **kwargs) | [
"def",
"user_groups",
"(",
"self",
",",
"user_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/users/{user_id}/groups.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"user_id",
"=",
"user_id",
")",
"return",
"self",
".",
"call",
... | https://developer.zendesk.com/rest_api/docs/core/groups#list-groups | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"groups#list",
"-",
"groups"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3918-L3922 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_identities | def user_identities(self, user_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_identities#list-identities"
api_path = "/api/v2/users/{user_id}/identities.json"
api_path = api_path.format(user_id=user_id)
return self.call(api_path, **kwargs) | python | def user_identities(self, user_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_identities#list-identities"
api_path = "/api/v2/users/{user_id}/identities.json"
api_path = api_path.format(user_id=user_id)
return self.call(api_path, **kwargs) | [
"def",
"user_identities",
"(",
"self",
",",
"user_id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/users/{user_id}/identities.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"user_id",
"=",
"user_id",
")",
"return",
"self",
".",
"c... | https://developer.zendesk.com/rest_api/docs/core/user_identities#list-identities | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"user_identities#list",
"-",
"identities"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3924-L3928 |
fprimex/zdesk | zdesk/zdesk_api.py | ZendeskAPI.user_identity_delete | def user_identity_delete(self, user_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_identities#delete-identity"
api_path = "/api/v2/users/{user_id}/identities/{id}.json"
api_path = api_path.format(user_id=user_id, id=id)
return self.call(api_path, method="DELETE... | python | def user_identity_delete(self, user_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/user_identities#delete-identity"
api_path = "/api/v2/users/{user_id}/identities/{id}.json"
api_path = api_path.format(user_id=user_id, id=id)
return self.call(api_path, method="DELETE... | [
"def",
"user_identity_delete",
"(",
"self",
",",
"user_id",
",",
"id",
",",
"*",
"*",
"kwargs",
")",
":",
"api_path",
"=",
"\"/api/v2/users/{user_id}/identities/{id}.json\"",
"api_path",
"=",
"api_path",
".",
"format",
"(",
"user_id",
"=",
"user_id",
",",
"id",
... | https://developer.zendesk.com/rest_api/docs/core/user_identities#delete-identity | [
"https",
":",
"//",
"developer",
".",
"zendesk",
".",
"com",
"/",
"rest_api",
"/",
"docs",
"/",
"core",
"/",
"user_identities#delete",
"-",
"identity"
] | train | https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L3936-L3940 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.