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.channels_twitter_monitored_twitter_handle_show
def channels_twitter_monitored_twitter_handle_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/twitter_channel#getting-monitored-twitter-handle" api_path = "/api/v2/channels/twitter/monitored_twitter_handles/{id}.json" api_path = api_path.format(id=id) return s...
python
def channels_twitter_monitored_twitter_handle_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/twitter_channel#getting-monitored-twitter-handle" api_path = "/api/v2/channels/twitter/monitored_twitter_handles/{id}.json" api_path = api_path.format(id=id) return s...
[ "def", "channels_twitter_monitored_twitter_handle_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/twitter/monitored_twitter_handles/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", "...
https://developer.zendesk.com/rest_api/docs/core/twitter_channel#getting-monitored-twitter-handle
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "twitter_channel#getting", "-", "monitored", "-", "twitter", "-", "handle" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L577-L581
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_twitter_ticket_create
def channels_twitter_ticket_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/twitter_channel#create-ticket-from-tweet" api_path = "/api/v2/channels/twitter/tickets.json" return self.call(api_path, method="POST", data=data, **kwargs)
python
def channels_twitter_ticket_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/twitter_channel#create-ticket-from-tweet" api_path = "/api/v2/channels/twitter/tickets.json" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "channels_twitter_ticket_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/twitter/tickets.json\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", ...
https://developer.zendesk.com/rest_api/docs/core/twitter_channel#create-ticket-from-tweet
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "twitter_channel#create", "-", "ticket", "-", "from", "-", "tweet" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L588-L591
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_twitter_ticket_statuses
def channels_twitter_ticket_statuses(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/twitter_channel#getting-twicket-status" api_path = "/api/v2/channels/twitter/tickets/{id}/statuses.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def channels_twitter_ticket_statuses(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/twitter_channel#getting-twicket-status" api_path = "/api/v2/channels/twitter/tickets/{id}/statuses.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "channels_twitter_ticket_statuses", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/twitter/tickets/{id}/statuses.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self...
https://developer.zendesk.com/rest_api/docs/core/twitter_channel#getting-twicket-status
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "twitter_channel#getting", "-", "twicket", "-", "status" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L593-L597
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_voice_agent_ticket_display_create
def channels_voice_agent_ticket_display_create(self, agent_id, ticket_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/partner_edition#open-ticket-in-agents-browser" api_path = "/api/v2/channels/voice/agents/{agent_id}/tickets/{ticket_id}/display.json" api_path = api_p...
python
def channels_voice_agent_ticket_display_create(self, agent_id, ticket_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/partner_edition#open-ticket-in-agents-browser" api_path = "/api/v2/channels/voice/agents/{agent_id}/tickets/{ticket_id}/display.json" api_path = api_p...
[ "def", "channels_voice_agent_ticket_display_create", "(", "self", ",", "agent_id", ",", "ticket_id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/voice/agents/{agent_id}/tickets/{ticket_id}/display.json\"", "api_path", "=", "api_path"...
https://developer.zendesk.com/rest_api/docs/voice-api/partner_edition#open-ticket-in-agents-browser
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "voice", "-", "api", "/", "partner_edition#open", "-", "ticket", "-", "in", "-", "agents", "-", "browser" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L599-L603
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_voice_agent_user_display_create
def channels_voice_agent_user_display_create(self, agent_id, user_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/partner_edition#open-a-users-profile-in-an-agents-browser" api_path = "/api/v2/channels/voice/agents/{agent_id}/users/{user_id}/display.json" api_path = a...
python
def channels_voice_agent_user_display_create(self, agent_id, user_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/partner_edition#open-a-users-profile-in-an-agents-browser" api_path = "/api/v2/channels/voice/agents/{agent_id}/users/{user_id}/display.json" api_path = a...
[ "def", "channels_voice_agent_user_display_create", "(", "self", ",", "agent_id", ",", "user_id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/voice/agents/{agent_id}/users/{user_id}/display.json\"", "api_path", "=", "api_path", ".",...
https://developer.zendesk.com/rest_api/docs/voice-api/partner_edition#open-a-users-profile-in-an-agents-browser
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "voice", "-", "api", "/", "partner_edition#open", "-", "a", "-", "users", "-", "profile", "-", "in", "-", "an", "-", "agents", "-", "browser" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L605-L609
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_voice_availability_show
def channels_voice_availability_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/availabilities#show-availability" api_path = "/api/v2/channels/voice/availabilities/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def channels_voice_availability_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/availabilities#show-availability" api_path = "/api/v2/channels/voice/availabilities/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "channels_voice_availability_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/voice/availabilities/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ...
https://developer.zendesk.com/rest_api/docs/voice-api/availabilities#show-availability
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "voice", "-", "api", "/", "availabilities#show", "-", "availability" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L611-L615
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_voice_greeting_category_show
def channels_voice_greeting_category_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/greetings#show-greeting-category" api_path = "/api/v2/channels/voice/greeting_categories/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def channels_voice_greeting_category_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/greetings#show-greeting-category" api_path = "/api/v2/channels/voice/greeting_categories/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "channels_voice_greeting_category_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/voice/greeting_categories/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", ...
https://developer.zendesk.com/rest_api/docs/voice-api/greetings#show-greeting-category
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "voice", "-", "api", "/", "greetings#show", "-", "greeting", "-", "category" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L628-L632
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_voice_greeting_create
def channels_voice_greeting_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/greetings#create-greetings" api_path = "/api/v2/channels/voice/greetings.json" return self.call(api_path, method="POST", data=data, **kwargs)
python
def channels_voice_greeting_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/greetings#create-greetings" api_path = "/api/v2/channels/voice/greetings.json" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "channels_voice_greeting_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/voice/greetings.json\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", ...
https://developer.zendesk.com/rest_api/docs/voice-api/greetings#create-greetings
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "voice", "-", "api", "/", "greetings#create", "-", "greetings" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L634-L637
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_voice_greeting_delete
def channels_voice_greeting_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/greetings#delete-greeting" api_path = "/api/v2/channels/voice/greetings/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
python
def channels_voice_greeting_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/greetings#delete-greeting" api_path = "/api/v2/channels/voice/greetings/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "channels_voice_greeting_delete", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/voice/greetings/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", ...
https://developer.zendesk.com/rest_api/docs/voice-api/greetings#delete-greeting
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "voice", "-", "api", "/", "greetings#delete", "-", "greeting" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L639-L643
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_voice_greeting_recording
def channels_voice_greeting_recording(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/greetings#get-greeting-audio-file" api_path = "/api/v2/channels/voice/greetings/{id}/recording.mp3" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def channels_voice_greeting_recording(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/greetings#get-greeting-audio-file" api_path = "/api/v2/channels/voice/greetings/{id}/recording.mp3" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "channels_voice_greeting_recording", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/voice/greetings/{id}/recording.mp3\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "sel...
https://developer.zendesk.com/rest_api/docs/voice-api/greetings#get-greeting-audio-file
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "voice", "-", "api", "/", "greetings#get", "-", "greeting", "-", "audio", "-", "file" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L645-L649
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_voice_greeting_show
def channels_voice_greeting_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/greetings#show-greeting" api_path = "/api/v2/channels/voice/greetings/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def channels_voice_greeting_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/greetings#show-greeting" api_path = "/api/v2/channels/voice/greetings/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "channels_voice_greeting_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/voice/greetings/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "...
https://developer.zendesk.com/rest_api/docs/voice-api/greetings#show-greeting
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "voice", "-", "api", "/", "greetings#show", "-", "greeting" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L651-L655
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_voice_phone_number_create
def channels_voice_phone_number_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/phone_numbers#create-phone-numbers" api_path = "/api/v2/channels/voice/phone_numbers.json" return self.call(api_path, method="POST", data=data, **kwargs)
python
def channels_voice_phone_number_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/phone_numbers#create-phone-numbers" api_path = "/api/v2/channels/voice/phone_numbers.json" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "channels_voice_phone_number_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/voice/phone_numbers.json\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data",...
https://developer.zendesk.com/rest_api/docs/voice-api/phone_numbers#create-phone-numbers
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "voice", "-", "api", "/", "phone_numbers#create", "-", "phone", "-", "numbers" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L668-L671
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_voice_phone_number_show
def channels_voice_phone_number_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/phone_numbers#show-phone-number" api_path = "/api/v2/channels/voice/phone_numbers/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def channels_voice_phone_number_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/phone_numbers#show-phone-number" api_path = "/api/v2/channels/voice/phone_numbers/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "channels_voice_phone_number_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/voice/phone_numbers/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ...
https://developer.zendesk.com/rest_api/docs/voice-api/phone_numbers#show-phone-number
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "voice", "-", "api", "/", "phone_numbers#show", "-", "phone", "-", "number" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L673-L677
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.channels_voice_ticket_create
def channels_voice_ticket_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/partner_edition#create-ticket" api_path = "/api/v2/channels/voice/tickets.json" return self.call(api_path, method="POST", data=data, **kwargs)
python
def channels_voice_ticket_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/voice-api/partner_edition#create-ticket" api_path = "/api/v2/channels/voice/tickets.json" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "channels_voice_ticket_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/channels/voice/tickets.json\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", "d...
https://developer.zendesk.com/rest_api/docs/voice-api/partner_edition#create-ticket
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "voice", "-", "api", "/", "partner_edition#create", "-", "ticket" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L720-L723
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.chat_create
def chat_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/chats#create-chat" api_path = "/api/v2/chats" return self.call(api_path, method="POST", data=data, **kwargs)
python
def chat_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/chats#create-chat" api_path = "/api/v2/chats" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "chat_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/chats\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", "data", ",", "*", "*", "kwargs", ...
https://developer.zendesk.com/rest_api/docs/chat/chats#create-chat
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "chats#create", "-", "chat" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L725-L728
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.chat_delete
def chat_delete(self, chat_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/chats#delete-chat" api_path = "/api/v2/chats/{chat_id}" api_path = api_path.format(chat_id=chat_id) return self.call(api_path, method="DELETE", **kwargs)
python
def chat_delete(self, chat_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/chats#delete-chat" api_path = "/api/v2/chats/{chat_id}" api_path = api_path.format(chat_id=chat_id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "chat_delete", "(", "self", ",", "chat_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/chats/{chat_id}\"", "api_path", "=", "api_path", ".", "format", "(", "chat_id", "=", "chat_id", ")", "return", "self", ".", "call", "(", "api_...
https://developer.zendesk.com/rest_api/docs/chat/chats#delete-chat
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "chats#delete", "-", "chat" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L730-L734
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.chat_show
def chat_show(self, chat_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/chats#get-chat" api_path = "/api/v2/chats/{chat_id}" api_path = api_path.format(chat_id=chat_id) return self.call(api_path, **kwargs)
python
def chat_show(self, chat_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/chats#get-chat" api_path = "/api/v2/chats/{chat_id}" api_path = api_path.format(chat_id=chat_id) return self.call(api_path, **kwargs)
[ "def", "chat_show", "(", "self", ",", "chat_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/chats/{chat_id}\"", "api_path", "=", "api_path", ".", "format", "(", "chat_id", "=", "chat_id", ")", "return", "self", ".", "call", "(", "api_pa...
https://developer.zendesk.com/rest_api/docs/chat/chats#get-chat
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "chats#get", "-", "chat" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L736-L740
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.chat_update
def chat_update(self, chat_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/chats#update-chat" api_path = "/api/v2/chats/{chat_id}" api_path = api_path.format(chat_id=chat_id) return self.call(api_path, method="PUT", data=data, **kwargs)
python
def chat_update(self, chat_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/chats#update-chat" api_path = "/api/v2/chats/{chat_id}" api_path = api_path.format(chat_id=chat_id) return self.call(api_path, method="PUT", data=data, **kwargs)
[ "def", "chat_update", "(", "self", ",", "chat_id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/chats/{chat_id}\"", "api_path", "=", "api_path", ".", "format", "(", "chat_id", "=", "chat_id", ")", "return", "self", ".", "call...
https://developer.zendesk.com/rest_api/docs/chat/chats#update-chat
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "chats#update", "-", "chat" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L742-L746
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.chats_search
def chats_search(self, q=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/chats#search-chats" api_path = "/api/v2/chats/search" api_query = {} if "query" in kwargs.keys(): api_query.update(kwargs["query"]) del kwargs["query"] if q: ...
python
def chats_search(self, q=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/chats#search-chats" api_path = "/api/v2/chats/search" api_query = {} if "query" in kwargs.keys(): api_query.update(kwargs["query"]) del kwargs["query"] if q: ...
[ "def", "chats_search", "(", "self", ",", "q", "=", "None", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/chats/search\"", "api_query", "=", "{", "}", "if", "\"query\"", "in", "kwargs", ".", "keys", "(", ")", ":", "api_query", ".", "upd...
https://developer.zendesk.com/rest_api/docs/chat/chats#search-chats
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "chats#search", "-", "chats" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L761-L772
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_comment_delete
def community_post_comment_delete(self, post_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/post_comments#delete-comment" api_path = "/api/v2/community/posts/{post_id}/comments/{id}.json" api_path = api_path.format(post_id=post_id, id=id) return self.call(api...
python
def community_post_comment_delete(self, post_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/post_comments#delete-comment" api_path = "/api/v2/community/posts/{post_id}/comments/{id}.json" api_path = api_path.format(post_id=post_id, id=id) return self.call(api...
[ "def", "community_post_comment_delete", "(", "self", ",", "post_id", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/{post_id}/comments/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "post_id", "=", "post_id"...
https://developer.zendesk.com/rest_api/docs/help_center/post_comments#delete-comment
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "post_comments#delete", "-", "comment" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L780-L784
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_comment_down_create
def community_post_comment_down_create(self, post_id, id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/votes#create-vote" api_path = "/api/v2/community/posts/{post_id}/comments/{id}/down.json" api_path = api_path.format(post_id=post_id, id=id) return self.cal...
python
def community_post_comment_down_create(self, post_id, id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/votes#create-vote" api_path = "/api/v2/community/posts/{post_id}/comments/{id}/down.json" api_path = api_path.format(post_id=post_id, id=id) return self.cal...
[ "def", "community_post_comment_down_create", "(", "self", ",", "post_id", ",", "id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/{post_id}/comments/{id}/down.json\"", "api_path", "=", "api_path", ".", "format", "(", "p...
https://developer.zendesk.com/rest_api/docs/help_center/votes#create-vote
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "votes#create", "-", "vote" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L786-L790
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_comment_show
def community_post_comment_show(self, post_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/post_comments#show-comment" api_path = "/api/v2/community/posts/{post_id}/comments/{id}.json" api_path = api_path.format(post_id=post_id, id=id) return self.call(api_pat...
python
def community_post_comment_show(self, post_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/post_comments#show-comment" api_path = "/api/v2/community/posts/{post_id}/comments/{id}.json" api_path = api_path.format(post_id=post_id, id=id) return self.call(api_pat...
[ "def", "community_post_comment_show", "(", "self", ",", "post_id", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/{post_id}/comments/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "post_id", "=", "post_id", ...
https://developer.zendesk.com/rest_api/docs/help_center/post_comments#show-comment
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "post_comments#show", "-", "comment" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L792-L796
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_comment_votes
def community_post_comment_votes(self, post_id, comment_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes" api_path = "/api/v2/community/posts/{post_id}/comments/{comment_id}/votes.json" api_path = api_path.format(post_id=post_id, comment_id=comment_id) ...
python
def community_post_comment_votes(self, post_id, comment_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes" api_path = "/api/v2/community/posts/{post_id}/comments/{comment_id}/votes.json" api_path = api_path.format(post_id=post_id, comment_id=comment_id) ...
[ "def", "community_post_comment_votes", "(", "self", ",", "post_id", ",", "comment_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/{post_id}/comments/{comment_id}/votes.json\"", "api_path", "=", "api_path", ".", "format", "(", "post_id...
https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "votes#list", "-", "votes" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L810-L814
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_comments
def community_post_comments(self, post_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/post_comments#list-comments" api_path = "/api/v2/community/posts/{post_id}/comments.json" api_path = api_path.format(post_id=post_id) return self.call(api_path, **kwargs)
python
def community_post_comments(self, post_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/post_comments#list-comments" api_path = "/api/v2/community/posts/{post_id}/comments.json" api_path = api_path.format(post_id=post_id) return self.call(api_path, **kwargs)
[ "def", "community_post_comments", "(", "self", ",", "post_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/{post_id}/comments.json\"", "api_path", "=", "api_path", ".", "format", "(", "post_id", "=", "post_id", ")", "return", "se...
https://developer.zendesk.com/rest_api/docs/help_center/post_comments#list-comments
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "post_comments#list", "-", "comments" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L816-L820
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_create
def community_post_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#create-post" api_path = "/api/v2/community/posts.json" return self.call(api_path, method="POST", data=data, **kwargs)
python
def community_post_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#create-post" api_path = "/api/v2/community/posts.json" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "community_post_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts.json\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", "data", ",", ...
https://developer.zendesk.com/rest_api/docs/help_center/posts#create-post
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "posts#create", "-", "post" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L822-L825
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_delete
def community_post_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#delete-post" api_path = "/api/v2/community/posts/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
python
def community_post_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#delete-post" api_path = "/api/v2/community/posts/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "community_post_delete", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(", ...
https://developer.zendesk.com/rest_api/docs/help_center/posts#delete-post
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "posts#delete", "-", "post" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L827-L831
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_show
def community_post_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#show-post" api_path = "/api/v2/community/posts/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def community_post_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#show-post" api_path = "/api/v2/community/posts/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "community_post_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(", "a...
https://developer.zendesk.com/rest_api/docs/help_center/posts#show-post
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "posts#show", "-", "post" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L839-L843
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_subscription_create
def community_post_subscription_create(self, post_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#create-post-subscription" api_path = "/api/v2/community/posts/{post_id}/subscriptions.json" api_path = api_path.format(post_id=post_id) return sel...
python
def community_post_subscription_create(self, post_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#create-post-subscription" api_path = "/api/v2/community/posts/{post_id}/subscriptions.json" api_path = api_path.format(post_id=post_id) return sel...
[ "def", "community_post_subscription_create", "(", "self", ",", "post_id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/{post_id}/subscriptions.json\"", "api_path", "=", "api_path", ".", "format", "(", "post_id", "=", "p...
https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#create-post-subscription
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "subscriptions#create", "-", "post", "-", "subscription" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L845-L849
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_subscription_show
def community_post_subscription_show(self, post_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-post-subscription" api_path = "/api/v2/community/posts/{post_id}/subscriptions/{id}.json" api_path = api_path.format(post_id=post_id, id=id) retu...
python
def community_post_subscription_show(self, post_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-post-subscription" api_path = "/api/v2/community/posts/{post_id}/subscriptions/{id}.json" api_path = api_path.format(post_id=post_id, id=id) retu...
[ "def", "community_post_subscription_show", "(", "self", ",", "post_id", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/{post_id}/subscriptions/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "post_id", "=", "...
https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-post-subscription
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "subscriptions#show", "-", "post", "-", "subscription" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L857-L861
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_subscriptions
def community_post_subscriptions(self, post_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-post-subscriptions" api_path = "/api/v2/community/posts/{post_id}/subscriptions.json" api_path = api_path.format(post_id=post_id) return self.call(api_pa...
python
def community_post_subscriptions(self, post_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-post-subscriptions" api_path = "/api/v2/community/posts/{post_id}/subscriptions.json" api_path = api_path.format(post_id=post_id) return self.call(api_pa...
[ "def", "community_post_subscriptions", "(", "self", ",", "post_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/{post_id}/subscriptions.json\"", "api_path", "=", "api_path", ".", "format", "(", "post_id", "=", "post_id", ")", "retu...
https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-post-subscriptions
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "subscriptions#list", "-", "post", "-", "subscriptions" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L863-L867
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_post_votes
def community_post_votes(self, post_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes" api_path = "/api/v2/community/posts/{post_id}/votes.json" api_path = api_path.format(post_id=post_id) return self.call(api_path, **kwargs)
python
def community_post_votes(self, post_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes" api_path = "/api/v2/community/posts/{post_id}/votes.json" api_path = api_path.format(post_id=post_id) return self.call(api_path, **kwargs)
[ "def", "community_post_votes", "(", "self", ",", "post_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/{post_id}/votes.json\"", "api_path", "=", "api_path", ".", "format", "(", "post_id", "=", "post_id", ")", "return", "self", ...
https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "votes#list", "-", "votes" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L881-L885
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_posts_list
def community_posts_list(self, filter_by=None, sort_by=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#list-posts" api_path = "/api/v2/community/posts.json" api_query = {} if "query" in kwargs.keys(): api_query.update(kwargs["query"]) ...
python
def community_posts_list(self, filter_by=None, sort_by=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#list-posts" api_path = "/api/v2/community/posts.json" api_query = {} if "query" in kwargs.keys(): api_query.update(kwargs["query"]) ...
[ "def", "community_posts_list", "(", "self", ",", "filter_by", "=", "None", ",", "sort_by", "=", "None", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts.json\"", "api_query", "=", "{", "}", "if", "\"query\"", "in", "kwargs", "."...
https://developer.zendesk.com/rest_api/docs/help_center/posts#list-posts
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "posts#list", "-", "posts" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L887-L902
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_posts_search
def community_posts_search(self, query=None, topic=None, updated_after=None, updated_before=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/search#filtering-by-date" api_path = "/api/v2/community/posts/search.json" api_query = {} if "query" in kwargs.keys(): ...
python
def community_posts_search(self, query=None, topic=None, updated_after=None, updated_before=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/search#filtering-by-date" api_path = "/api/v2/community/posts/search.json" api_query = {} if "query" in kwargs.keys(): ...
[ "def", "community_posts_search", "(", "self", ",", "query", "=", "None", ",", "topic", "=", "None", ",", "updated_after", "=", "None", ",", "updated_before", "=", "None", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/posts/search.jso...
https://developer.zendesk.com/rest_api/docs/help_center/search#filtering-by-date
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "search#filtering", "-", "by", "-", "date" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L904-L927
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_topic_create
def community_topic_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/topics#create-topic" api_path = "/api/v2/community/topics.json" return self.call(api_path, method="POST", data=data, **kwargs)
python
def community_topic_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/topics#create-topic" api_path = "/api/v2/community/topics.json" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "community_topic_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/topics.json\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", "data", ",",...
https://developer.zendesk.com/rest_api/docs/help_center/topics#create-topic
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "topics#create", "-", "topic" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L929-L932
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_topic_delete
def community_topic_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/topics#delete-topic" api_path = "/api/v2/community/topics/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
python
def community_topic_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/topics#delete-topic" api_path = "/api/v2/community/topics/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "community_topic_delete", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/topics/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(", ...
https://developer.zendesk.com/rest_api/docs/help_center/topics#delete-topic
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "topics#delete", "-", "topic" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L934-L938
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_topic_posts
def community_topic_posts(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#list-posts" api_path = "/api/v2/community/topics/{id}/posts.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def community_topic_posts(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#list-posts" api_path = "/api/v2/community/topics/{id}/posts.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "community_topic_posts", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/topics/{id}/posts.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", ...
https://developer.zendesk.com/rest_api/docs/help_center/posts#list-posts
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "posts#list", "-", "posts" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L940-L944
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_topic_show
def community_topic_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/topics#show-topic" api_path = "/api/v2/community/topics/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def community_topic_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/topics#show-topic" api_path = "/api/v2/community/topics/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "community_topic_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/topics/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(", ...
https://developer.zendesk.com/rest_api/docs/help_center/topics#show-topic
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "topics#show", "-", "topic" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L946-L950
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_topic_subscription_create
def community_topic_subscription_create(self, topic_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#create-topic-subscription" api_path = "/api/v2/community/topics/{topic_id}/subscriptions.json" api_path = api_path.format(topic_id=topic_id) ret...
python
def community_topic_subscription_create(self, topic_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#create-topic-subscription" api_path = "/api/v2/community/topics/{topic_id}/subscriptions.json" api_path = api_path.format(topic_id=topic_id) ret...
[ "def", "community_topic_subscription_create", "(", "self", ",", "topic_id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/topics/{topic_id}/subscriptions.json\"", "api_path", "=", "api_path", ".", "format", "(", "topic_id", "=",...
https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#create-topic-subscription
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "subscriptions#create", "-", "topic", "-", "subscription" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L952-L956
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_topic_subscription_delete
def community_topic_subscription_delete(self, topic_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#delete-topic-subscription" api_path = "/api/v2/community/topics/{topic_id}/subscriptions/{id}.json" api_path = api_path.format(topic_id=topic_id, id=id) ...
python
def community_topic_subscription_delete(self, topic_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#delete-topic-subscription" api_path = "/api/v2/community/topics/{topic_id}/subscriptions/{id}.json" api_path = api_path.format(topic_id=topic_id, id=id) ...
[ "def", "community_topic_subscription_delete", "(", "self", ",", "topic_id", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/topics/{topic_id}/subscriptions/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "topic_id", "...
https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#delete-topic-subscription
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "subscriptions#delete", "-", "topic", "-", "subscription" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L958-L962
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_topic_subscription_show
def community_topic_subscription_show(self, topic_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-topic-subscription" api_path = "/api/v2/community/topics/{topic_id}/subscriptions/{id}.json" api_path = api_path.format(topic_id=topic_id, id=id) ...
python
def community_topic_subscription_show(self, topic_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-topic-subscription" api_path = "/api/v2/community/topics/{topic_id}/subscriptions/{id}.json" api_path = api_path.format(topic_id=topic_id, id=id) ...
[ "def", "community_topic_subscription_show", "(", "self", ",", "topic_id", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/topics/{topic_id}/subscriptions/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "topic_id", "="...
https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-topic-subscription
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "subscriptions#show", "-", "topic", "-", "subscription" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L964-L968
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_topic_subscriptions
def community_topic_subscriptions(self, topic_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-topic-subscriptions" api_path = "/api/v2/community/topics/{topic_id}/subscriptions.json" api_path = api_path.format(topic_id=topic_id) return self.call...
python
def community_topic_subscriptions(self, topic_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-topic-subscriptions" api_path = "/api/v2/community/topics/{topic_id}/subscriptions.json" api_path = api_path.format(topic_id=topic_id) return self.call...
[ "def", "community_topic_subscriptions", "(", "self", ",", "topic_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/topics/{topic_id}/subscriptions.json\"", "api_path", "=", "api_path", ".", "format", "(", "topic_id", "=", "topic_id", ")", ...
https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-topic-subscriptions
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "subscriptions#list", "-", "topic", "-", "subscriptions" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L970-L974
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_user_comments
def community_user_comments(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/post_comments#list-comments" api_path = "/api/v2/community/users/{id}/comments.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def community_user_comments(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/post_comments#list-comments" api_path = "/api/v2/community/users/{id}/comments.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "community_user_comments", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/users/{id}/comments.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call"...
https://developer.zendesk.com/rest_api/docs/help_center/post_comments#list-comments
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "post_comments#list", "-", "comments" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L993-L997
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.community_user_posts
def community_user_posts(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#list-posts" api_path = "/api/v2/community/users/{id}/posts.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def community_user_posts(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/posts#list-posts" api_path = "/api/v2/community/users/{id}/posts.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "community_user_posts", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/community/users/{id}/posts.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(...
https://developer.zendesk.com/rest_api/docs/help_center/posts#list-posts
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "posts#list", "-", "posts" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L999-L1003
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.core_oauth_token_create
def core_oauth_token_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/grant_type_tokens#create-token-for-grant-type" api_path = "/oauth/tokens" return self.call(api_path, method="POST", data=data, **kwargs)
python
def core_oauth_token_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/grant_type_tokens#create-token-for-grant-type" api_path = "/oauth/tokens" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "core_oauth_token_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/oauth/tokens\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", "data", ",", "*", "*", ...
https://developer.zendesk.com/rest_api/docs/core/grant_type_tokens#create-token-for-grant-type
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "grant_type_tokens#create", "-", "token", "-", "for", "-", "grant", "-", "type" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1005-L1008
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.deleted_ticket_delete
def deleted_ticket_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/tickets#delete-ticket-permanently" api_path = "/api/v2/deleted_tickets/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
python
def deleted_ticket_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/tickets#delete-ticket-permanently" api_path = "/api/v2/deleted_tickets/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "deleted_ticket_delete", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/deleted_tickets/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(", ...
https://developer.zendesk.com/rest_api/docs/core/tickets#delete-ticket-permanently
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "tickets#delete", "-", "ticket", "-", "permanently" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1015-L1019
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.deleted_user_delete
def deleted_user_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/users#permanently-delete-user" api_path = "/api/v2/deleted_users/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
python
def deleted_user_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/users#permanently-delete-user" api_path = "/api/v2/deleted_users/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "deleted_user_delete", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/deleted_users/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(", "api...
https://developer.zendesk.com/rest_api/docs/core/users#permanently-delete-user
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "users#permanently", "-", "delete", "-", "user" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1058-L1062
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.deleted_user_show
def deleted_user_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/users#show-deleted-user" api_path = "/api/v2/deleted_users/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def deleted_user_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/users#show-deleted-user" api_path = "/api/v2/deleted_users/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "deleted_user_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/deleted_users/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(", "api_p...
https://developer.zendesk.com/rest_api/docs/core/users#show-deleted-user
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "users#show", "-", "deleted", "-", "user" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1064-L1068
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.department_create
def department_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#create-department" api_path = "/api/v2/departments" return self.call(api_path, method="POST", data=data, **kwargs)
python
def department_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#create-department" api_path = "/api/v2/departments" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "department_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/departments\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", "data", ",", "*", "*", ...
https://developer.zendesk.com/rest_api/docs/chat/departments#create-department
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "departments#create", "-", "department" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1075-L1078
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.department_delete
def department_delete(self, department_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#delete-department-by-id" api_path = "/api/v2/departments/{department_id}" api_path = api_path.format(department_id=department_id) return self.call(api_path, method="DELETE"...
python
def department_delete(self, department_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#delete-department-by-id" api_path = "/api/v2/departments/{department_id}" api_path = api_path.format(department_id=department_id) return self.call(api_path, method="DELETE"...
[ "def", "department_delete", "(", "self", ",", "department_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/departments/{department_id}\"", "api_path", "=", "api_path", ".", "format", "(", "department_id", "=", "department_id", ")", "return", "se...
https://developer.zendesk.com/rest_api/docs/chat/departments#delete-department-by-id
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "departments#delete", "-", "department", "-", "by", "-", "id" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1080-L1084
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.department_show
def department_show(self, department_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#get-department-by-id" api_path = "/api/v2/departments/{department_id}" api_path = api_path.format(department_id=department_id) return self.call(api_path, **kwargs)
python
def department_show(self, department_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#get-department-by-id" api_path = "/api/v2/departments/{department_id}" api_path = api_path.format(department_id=department_id) return self.call(api_path, **kwargs)
[ "def", "department_show", "(", "self", ",", "department_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/departments/{department_id}\"", "api_path", "=", "api_path", ".", "format", "(", "department_id", "=", "department_id", ")", "return", "self...
https://developer.zendesk.com/rest_api/docs/chat/departments#get-department-by-id
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "departments#get", "-", "department", "-", "by", "-", "id" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1086-L1090
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.department_update
def department_update(self, department_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#update-department-by-id" api_path = "/api/v2/departments/{department_id}" api_path = api_path.format(department_id=department_id) return self.call(api_path, method="P...
python
def department_update(self, department_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#update-department-by-id" api_path = "/api/v2/departments/{department_id}" api_path = api_path.format(department_id=department_id) return self.call(api_path, method="P...
[ "def", "department_update", "(", "self", ",", "department_id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/departments/{department_id}\"", "api_path", "=", "api_path", ".", "format", "(", "department_id", "=", "department_id", ")", ...
https://developer.zendesk.com/rest_api/docs/chat/departments#update-department-by-id
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "departments#update", "-", "department", "-", "by", "-", "id" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1092-L1096
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.departments_name_delete
def departments_name_delete(self, name, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#delete-department-by-name" api_path = "/api/v2/departments/name/{name}" api_path = api_path.format(name=name) return self.call(api_path, method="DELETE", **kwargs)
python
def departments_name_delete(self, name, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#delete-department-by-name" api_path = "/api/v2/departments/name/{name}" api_path = api_path.format(name=name) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "departments_name_delete", "(", "self", ",", "name", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/departments/name/{name}\"", "api_path", "=", "api_path", ".", "format", "(", "name", "=", "name", ")", "return", "self", ".", "call", "...
https://developer.zendesk.com/rest_api/docs/chat/departments#delete-department-by-name
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "departments#delete", "-", "department", "-", "by", "-", "name" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1103-L1107
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.departments_name_show
def departments_name_show(self, name, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#get-department-by-name" api_path = "/api/v2/departments/name/{name}" api_path = api_path.format(name=name) return self.call(api_path, **kwargs)
python
def departments_name_show(self, name, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/departments#get-department-by-name" api_path = "/api/v2/departments/name/{name}" api_path = api_path.format(name=name) return self.call(api_path, **kwargs)
[ "def", "departments_name_show", "(", "self", ",", "name", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/departments/name/{name}\"", "api_path", "=", "api_path", ".", "format", "(", "name", "=", "name", ")", "return", "self", ".", "call", "("...
https://developer.zendesk.com/rest_api/docs/chat/departments#get-department-by-name
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "departments#get", "-", "department", "-", "by", "-", "name" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1109-L1113
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.dynamic_content_item_create
def dynamic_content_item_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#create-item" api_path = "/api/v2/dynamic_content/items.json" return self.call(api_path, method="POST", data=data, **kwargs)
python
def dynamic_content_item_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#create-item" api_path = "/api/v2/dynamic_content/items.json" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "dynamic_content_item_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/dynamic_content/items.json\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", "dat...
https://developer.zendesk.com/rest_api/docs/core/dynamic_content#create-item
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "dynamic_content#create", "-", "item" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1121-L1124
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.dynamic_content_item_delete
def dynamic_content_item_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#delete-item" api_path = "/api/v2/dynamic_content/items/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
python
def dynamic_content_item_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#delete-item" api_path = "/api/v2/dynamic_content/items/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "dynamic_content_item_delete", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/dynamic_content/items/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call...
https://developer.zendesk.com/rest_api/docs/core/dynamic_content#delete-item
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "dynamic_content#delete", "-", "item" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1126-L1130
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.dynamic_content_item_show
def dynamic_content_item_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-item" api_path = "/api/v2/dynamic_content/items/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def dynamic_content_item_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-item" api_path = "/api/v2/dynamic_content/items/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "dynamic_content_item_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/dynamic_content/items/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call",...
https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-item
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "dynamic_content#show", "-", "item" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1132-L1136
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.dynamic_content_item_variant_delete
def dynamic_content_item_variant_delete(self, item_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#delete-variant" api_path = "/api/v2/dynamic_content/items/{item_id}/variants/{id}.json" api_path = api_path.format(item_id=item_id, id=id) return self.c...
python
def dynamic_content_item_variant_delete(self, item_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#delete-variant" api_path = "/api/v2/dynamic_content/items/{item_id}/variants/{id}.json" api_path = api_path.format(item_id=item_id, id=id) return self.c...
[ "def", "dynamic_content_item_variant_delete", "(", "self", ",", "item_id", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/dynamic_content/items/{item_id}/variants/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "item_id", "=",...
https://developer.zendesk.com/rest_api/docs/core/dynamic_content#delete-variant
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "dynamic_content#delete", "-", "variant" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1150-L1154
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.dynamic_content_item_variant_show
def dynamic_content_item_variant_show(self, item_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-variant" api_path = "/api/v2/dynamic_content/items/{item_id}/variants/{id}.json" api_path = api_path.format(item_id=item_id, id=id) return self.call(...
python
def dynamic_content_item_variant_show(self, item_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-variant" api_path = "/api/v2/dynamic_content/items/{item_id}/variants/{id}.json" api_path = api_path.format(item_id=item_id, id=id) return self.call(...
[ "def", "dynamic_content_item_variant_show", "(", "self", ",", "item_id", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/dynamic_content/items/{item_id}/variants/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "item_id", "=", ...
https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-variant
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "dynamic_content#show", "-", "variant" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1156-L1160
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.dynamic_content_item_variant_update
def dynamic_content_item_variant_update(self, item_id, id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#update-variant" api_path = "/api/v2/dynamic_content/items/{item_id}/variants/{id}.json" api_path = api_path.format(item_id=item_id, id=id) return ...
python
def dynamic_content_item_variant_update(self, item_id, id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#update-variant" api_path = "/api/v2/dynamic_content/items/{item_id}/variants/{id}.json" api_path = api_path.format(item_id=item_id, id=id) return ...
[ "def", "dynamic_content_item_variant_update", "(", "self", ",", "item_id", ",", "id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/dynamic_content/items/{item_id}/variants/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", ...
https://developer.zendesk.com/rest_api/docs/core/dynamic_content#update-variant
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "dynamic_content#update", "-", "variant" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1162-L1166
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.dynamic_content_item_variants
def dynamic_content_item_variants(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#list-variants" api_path = "/api/v2/dynamic_content/items/{id}/variants.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def dynamic_content_item_variants(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#list-variants" api_path = "/api/v2/dynamic_content/items/{id}/variants.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "dynamic_content_item_variants", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/dynamic_content/items/{id}/variants.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", "...
https://developer.zendesk.com/rest_api/docs/core/dynamic_content#list-variants
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "dynamic_content#list", "-", "variants" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1168-L1172
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.dynamic_content_items_show_many
def dynamic_content_items_show_many(self, identifiers=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-many-items" api_path = "/api/v2/dynamic_content/items/show_many.json" api_query = {} if "query" in kwargs.keys(): api_query.update(kwa...
python
def dynamic_content_items_show_many(self, identifiers=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-many-items" api_path = "/api/v2/dynamic_content/items/show_many.json" api_query = {} if "query" in kwargs.keys(): api_query.update(kwa...
[ "def", "dynamic_content_items_show_many", "(", "self", ",", "identifiers", "=", "None", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/dynamic_content/items/show_many.json\"", "api_query", "=", "{", "}", "if", "\"query\"", "in", "kwargs", ".", "key...
https://developer.zendesk.com/rest_api/docs/core/dynamic_content#show-many-items
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "dynamic_content#show", "-", "many", "-", "items" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1191-L1202
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.end_user_show
def end_user_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/end_user#show-user" api_path = "/api/v2/end_users/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def end_user_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/end_user#show-user" api_path = "/api/v2/end_users/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "end_user_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/end_users/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(", "api_path", ...
https://developer.zendesk.com/rest_api/docs/core/end_user#show-user
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "end_user#show", "-", "user" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1216-L1220
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.goal_create
def goal_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/goals#create-goal" api_path = "/api/v2/goals" return self.call(api_path, method="POST", data=data, **kwargs)
python
def goal_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/goals#create-goal" api_path = "/api/v2/goals" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "goal_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/goals\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", "data", ",", "*", "*", "kwargs", ...
https://developer.zendesk.com/rest_api/docs/chat/goals#create-goal
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "goals#create", "-", "goal" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1228-L1231
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.goal_delete
def goal_delete(self, goal_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/goals#delete-goal" api_path = "/api/v2/goals/{goal_id}" api_path = api_path.format(goal_id=goal_id) return self.call(api_path, method="DELETE", **kwargs)
python
def goal_delete(self, goal_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/goals#delete-goal" api_path = "/api/v2/goals/{goal_id}" api_path = api_path.format(goal_id=goal_id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "goal_delete", "(", "self", ",", "goal_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/goals/{goal_id}\"", "api_path", "=", "api_path", ".", "format", "(", "goal_id", "=", "goal_id", ")", "return", "self", ".", "call", "(", "api_...
https://developer.zendesk.com/rest_api/docs/chat/goals#delete-goal
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "goals#delete", "-", "goal" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1233-L1237
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.goal_show
def goal_show(self, goal_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/goals#get-goal" api_path = "/api/v2/goals/{goal_id}" api_path = api_path.format(goal_id=goal_id) return self.call(api_path, **kwargs)
python
def goal_show(self, goal_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/goals#get-goal" api_path = "/api/v2/goals/{goal_id}" api_path = api_path.format(goal_id=goal_id) return self.call(api_path, **kwargs)
[ "def", "goal_show", "(", "self", ",", "goal_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/goals/{goal_id}\"", "api_path", "=", "api_path", ".", "format", "(", "goal_id", "=", "goal_id", ")", "return", "self", ".", "call", "(", "api_pa...
https://developer.zendesk.com/rest_api/docs/chat/goals#get-goal
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "goals#get", "-", "goal" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1239-L1243
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.goal_update
def goal_update(self, goal_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/goals#update-goal" api_path = "/api/v2/goals/{goal_id}" api_path = api_path.format(goal_id=goal_id) return self.call(api_path, method="PUT", data=data, **kwargs)
python
def goal_update(self, goal_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/goals#update-goal" api_path = "/api/v2/goals/{goal_id}" api_path = api_path.format(goal_id=goal_id) return self.call(api_path, method="PUT", data=data, **kwargs)
[ "def", "goal_update", "(", "self", ",", "goal_id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/goals/{goal_id}\"", "api_path", "=", "api_path", ".", "format", "(", "goal_id", "=", "goal_id", ")", "return", "self", ".", "call...
https://developer.zendesk.com/rest_api/docs/chat/goals#update-goal
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "goals#update", "-", "goal" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1245-L1249
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.graphql_request_create
def graphql_request_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/conversations-api#api-path" api_path = "/graphql/request" return self.call(api_path, method="POST", data=data, **kwargs)
python
def graphql_request_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/chat/conversations-api#api-path" api_path = "/graphql/request" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "graphql_request_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/graphql/request\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", "data", ",", "*", "*"...
https://developer.zendesk.com/rest_api/docs/chat/conversations-api#api-path
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "chat", "/", "conversations", "-", "api#api", "-", "path" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1256-L1259
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.group_create
def group_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/groups#create-group" api_path = "/api/v2/groups.json" return self.call(api_path, method="POST", data=data, **kwargs)
python
def group_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/groups#create-group" api_path = "/api/v2/groups.json" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "group_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/groups.json\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", "data", ",", "*", "*", "kw...
https://developer.zendesk.com/rest_api/docs/core/groups#create-group
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "groups#create", "-", "group" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1261-L1264
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.group_delete
def group_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/groups#delete-group" api_path = "/api/v2/groups/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
python
def group_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/groups#delete-group" api_path = "/api/v2/groups/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "group_delete", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/groups/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(", "api_path", ",",...
https://developer.zendesk.com/rest_api/docs/core/groups#delete-group
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "groups#delete", "-", "group" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1266-L1270
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.group_membership_create
def group_membership_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#create-membership" api_path = "/api/v2/group_memberships.json" return self.call(api_path, method="POST", data=data, **kwargs)
python
def group_membership_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#create-membership" api_path = "/api/v2/group_memberships.json" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "group_membership_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/group_memberships.json\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "=", "data", ",...
https://developer.zendesk.com/rest_api/docs/core/group_memberships#create-membership
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "group_memberships#create", "-", "membership" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1272-L1275
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.group_membership_delete
def group_membership_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#delete-membership" api_path = "/api/v2/group_memberships/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
python
def group_membership_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#delete-membership" api_path = "/api/v2/group_memberships/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "group_membership_delete", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/group_memberships/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "("...
https://developer.zendesk.com/rest_api/docs/core/group_memberships#delete-membership
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "group_memberships#delete", "-", "membership" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1277-L1281
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.group_membership_show
def group_membership_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#show-membership" api_path = "/api/v2/group_memberships/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def group_membership_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#show-membership" api_path = "/api/v2/group_memberships/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "group_membership_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/group_memberships/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(", ...
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#L1283-L1287
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.group_memberships
def group_memberships(self, group_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#list-memberships" api_path = "/api/v2/groups/{group_id}/memberships.json" api_path = api_path.format(group_id=group_id) return self.call(api_path, **kwargs)
python
def group_memberships(self, group_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#list-memberships" api_path = "/api/v2/groups/{group_id}/memberships.json" api_path = api_path.format(group_id=group_id) return self.call(api_path, **kwargs)
[ "def", "group_memberships", "(", "self", ",", "group_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/groups/{group_id}/memberships.json\"", "api_path", "=", "api_path", ".", "format", "(", "group_id", "=", "group_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#L1289-L1293
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.group_memberships_assignable
def group_memberships_assignable(self, group_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#list-assignable-memberships" api_path = "/api/v2/groups/{group_id}/memberships/assignable.json" api_path = api_path.format(group_id=group_id) return self.call(a...
python
def group_memberships_assignable(self, group_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#list-assignable-memberships" api_path = "/api/v2/groups/{group_id}/memberships/assignable.json" api_path = api_path.format(group_id=group_id) return self.call(a...
[ "def", "group_memberships_assignable", "(", "self", ",", "group_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/groups/{group_id}/memberships/assignable.json\"", "api_path", "=", "api_path", ".", "format", "(", "group_id", "=", "group_id", ")", "...
https://developer.zendesk.com/rest_api/docs/core/group_memberships#list-assignable-memberships
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "group_memberships#list", "-", "assignable", "-", "memberships" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1295-L1299
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.group_memberships_create_many
def group_memberships_create_many(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#bulk-create-memberships" api_path = "/api/v2/group_memberships/create_many.json" return self.call(api_path, method="POST", data=data, **kwargs)
python
def group_memberships_create_many(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#bulk-create-memberships" api_path = "/api/v2/group_memberships/create_many.json" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "group_memberships_create_many", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/group_memberships/create_many.json\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", "data", "...
https://developer.zendesk.com/rest_api/docs/core/group_memberships#bulk-create-memberships
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "group_memberships#bulk", "-", "create", "-", "memberships" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1306-L1309
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.group_memberships_destroy_many
def group_memberships_destroy_many(self, ids=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#bulk-delete-memberships" api_path = "/api/v2/group_memberships/destroy_many.json" api_query = {} if "query" in kwargs.keys(): api_query.update(kwa...
python
def group_memberships_destroy_many(self, ids=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/group_memberships#bulk-delete-memberships" api_path = "/api/v2/group_memberships/destroy_many.json" api_query = {} if "query" in kwargs.keys(): api_query.update(kwa...
[ "def", "group_memberships_destroy_many", "(", "self", ",", "ids", "=", "None", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/group_memberships/destroy_many.json\"", "api_query", "=", "{", "}", "if", "\"query\"", "in", "kwargs", ".", "keys", "(",...
https://developer.zendesk.com/rest_api/docs/core/group_memberships#bulk-delete-memberships
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "group_memberships#bulk", "-", "delete", "-", "memberships" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1311-L1322
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.group_show
def group_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/groups#show-group" api_path = "/api/v2/groups/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def group_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/core/groups#show-group" api_path = "/api/v2/groups/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "group_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/groups/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call", "(", "api_path", ",", ...
https://developer.zendesk.com/rest_api/docs/core/groups#show-group
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "core", "/", "groups#show", "-", "group" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1329-L1333
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_comment_delete
def help_center_article_comment_delete(self, article_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/comments#delete-comment" api_path = "/api/v2/help_center/articles/{article_id}/comments/{id}.json" api_path = api_path.format(article_id=article_id, id=id) ret...
python
def help_center_article_comment_delete(self, article_id, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/comments#delete-comment" api_path = "/api/v2/help_center/articles/{article_id}/comments/{id}.json" api_path = api_path.format(article_id=article_id, id=id) ret...
[ "def", "help_center_article_comment_delete", "(", "self", ",", "article_id", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{article_id}/comments/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "article_id",...
https://developer.zendesk.com/rest_api/docs/help_center/comments#delete-comment
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "comments#delete", "-", "comment" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1414-L1418
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_comment_down_create
def help_center_article_comment_down_create(self, article_id, id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/votes#create-vote" api_path = "/api/v2/help_center/articles/{article_id}/comments/{id}/down.json" api_path = api_path.format(article_id=article_id, id=id) ...
python
def help_center_article_comment_down_create(self, article_id, id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/votes#create-vote" api_path = "/api/v2/help_center/articles/{article_id}/comments/{id}/down.json" api_path = api_path.format(article_id=article_id, id=id) ...
[ "def", "help_center_article_comment_down_create", "(", "self", ",", "article_id", ",", "id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{article_id}/comments/{id}/down.json\"", "api_path", "=", "api_path", ".", "form...
https://developer.zendesk.com/rest_api/docs/help_center/votes#create-vote
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "votes#create", "-", "vote" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1420-L1424
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_comment_votes
def help_center_article_comment_votes(self, article_id, comment_id, locale=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes" api_path = "/api/v2/help_center/articles/{article_id}/comments/{comment_id}/votes.json" api_path = api_path.format(article_id=art...
python
def help_center_article_comment_votes(self, article_id, comment_id, locale=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes" api_path = "/api/v2/help_center/articles/{article_id}/comments/{comment_id}/votes.json" api_path = api_path.format(article_id=art...
[ "def", "help_center_article_comment_votes", "(", "self", ",", "article_id", ",", "comment_id", ",", "locale", "=", "None", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{article_id}/comments/{comment_id}/votes.json\"", "api_path", "="...
https://developer.zendesk.com/rest_api/docs/help_center/votes#list-votes
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "votes#list", "-", "votes" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1447-L1454
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_delete
def help_center_article_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/articles#archive-article" api_path = "/api/v2/help_center/articles/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
python
def help_center_article_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/articles#archive-article" api_path = "/api/v2/help_center/articles/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "help_center_article_delete", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "call",...
https://developer.zendesk.com/rest_api/docs/help_center/articles#archive-article
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "articles#archive", "-", "article" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1465-L1469
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_labels
def help_center_article_labels(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/labels#list-article-labels" api_path = "/api/v2/help_center/articles/{id}/labels.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def help_center_article_labels(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/labels#list-article-labels" api_path = "/api/v2/help_center/articles/{id}/labels.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "help_center_article_labels", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{id}/labels.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", ...
https://developer.zendesk.com/rest_api/docs/help_center/labels#list-article-labels
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "labels#list", "-", "article", "-", "labels" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1489-L1493
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_show
def help_center_article_show(self, locale, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/articles#show-article" api_path = "/api/v2/help_center/{locale}/articles/{id}.json" api_path = api_path.format(locale=locale, id=id) return self.call(api_path, **kwargs)
python
def help_center_article_show(self, locale, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/articles#show-article" api_path = "/api/v2/help_center/{locale}/articles/{id}.json" api_path = api_path.format(locale=locale, id=id) return self.call(api_path, **kwargs)
[ "def", "help_center_article_show", "(", "self", ",", "locale", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/{locale}/articles/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "locale", "=", "locale", ",", "i...
https://developer.zendesk.com/rest_api/docs/help_center/articles#show-article
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "articles#show", "-", "article" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1495-L1499
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_subscription_show
def help_center_article_subscription_show(self, article_id, id, locale=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-article-subscription" api_path = "/api/v2/help_center/articles/{article_id}/subscriptions/{id}.json" api_path = api_path.format(arti...
python
def help_center_article_subscription_show(self, article_id, id, locale=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-article-subscription" api_path = "/api/v2/help_center/articles/{article_id}/subscriptions/{id}.json" api_path = api_path.format(arti...
[ "def", "help_center_article_subscription_show", "(", "self", ",", "article_id", ",", "id", ",", "locale", "=", "None", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{article_id}/subscriptions/{id}.json\"", "api_path", "=", "api_path...
https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#show-article-subscription
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "subscriptions#show", "-", "article", "-", "subscription" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1519-L1526
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_subscriptions
def help_center_article_subscriptions(self, article_id, locale=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-article-subscriptions" api_path = "/api/v2/help_center/articles/{article_id}/subscriptions.json" api_path = api_path.format(article_id=artic...
python
def help_center_article_subscriptions(self, article_id, locale=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-article-subscriptions" api_path = "/api/v2/help_center/articles/{article_id}/subscriptions.json" api_path = api_path.format(article_id=artic...
[ "def", "help_center_article_subscriptions", "(", "self", ",", "article_id", ",", "locale", "=", "None", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{article_id}/subscriptions.json\"", "api_path", "=", "api_path", ".", "format", ...
https://developer.zendesk.com/rest_api/docs/help_center/subscriptions#list-article-subscriptions
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "subscriptions#list", "-", "article", "-", "subscriptions" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1528-L1535
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_translation_create
def help_center_article_translation_create(self, article_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#create-translation" api_path = "/api/v2/help_center/articles/{article_id}/translations.json" api_path = api_path.format(article_id=article_id) ...
python
def help_center_article_translation_create(self, article_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#create-translation" api_path = "/api/v2/help_center/articles/{article_id}/translations.json" api_path = api_path.format(article_id=article_id) ...
[ "def", "help_center_article_translation_create", "(", "self", ",", "article_id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{article_id}/translations.json\"", "api_path", "=", "api_path", ".", "format", "(", "article...
https://developer.zendesk.com/rest_api/docs/help_center/translations#create-translation
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "translations#create", "-", "translation" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1537-L1541
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_translation_show
def help_center_article_translation_show(self, article_id, locale, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#show-translation" api_path = "/api/v2/help_center/articles/{article_id}/translations/{locale}.json" api_path = api_path.format(article_id=article_id...
python
def help_center_article_translation_show(self, article_id, locale, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#show-translation" api_path = "/api/v2/help_center/articles/{article_id}/translations/{locale}.json" api_path = api_path.format(article_id=article_id...
[ "def", "help_center_article_translation_show", "(", "self", ",", "article_id", ",", "locale", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{article_id}/translations/{locale}.json\"", "api_path", "=", "api_path", ".", "format", "(", ...
https://developer.zendesk.com/rest_api/docs/help_center/translations#show-translation
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "translations#show", "-", "translation" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1543-L1547
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_translation_update
def help_center_article_translation_update(self, article_id, locale, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#update-translation" api_path = "/api/v2/help_center/articles/{article_id}/translations/{locale}.json" api_path = api_path.format(article_id=...
python
def help_center_article_translation_update(self, article_id, locale, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#update-translation" api_path = "/api/v2/help_center/articles/{article_id}/translations/{locale}.json" api_path = api_path.format(article_id=...
[ "def", "help_center_article_translation_update", "(", "self", ",", "article_id", ",", "locale", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{article_id}/translations/{locale}.json\"", "api_path", "=", "api_path", ".", ...
https://developer.zendesk.com/rest_api/docs/help_center/translations#update-translation
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "translations#update", "-", "translation" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1549-L1553
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_translations
def help_center_article_translations(self, article_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#list-translations" api_path = "/api/v2/help_center/articles/{article_id}/translations.json" api_path = api_path.format(article_id=article_id) return sel...
python
def help_center_article_translations(self, article_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#list-translations" api_path = "/api/v2/help_center/articles/{article_id}/translations.json" api_path = api_path.format(article_id=article_id) return sel...
[ "def", "help_center_article_translations", "(", "self", ",", "article_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{article_id}/translations.json\"", "api_path", "=", "api_path", ".", "format", "(", "article_id", "=", "article...
https://developer.zendesk.com/rest_api/docs/help_center/translations#list-translations
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "translations#list", "-", "translations" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1555-L1559
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_article_translations_missing
def help_center_article_translations_missing(self, article_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#list-missing-translations" api_path = "/api/v2/help_center/articles/{article_id}/translations/missing.json" api_path = api_path.format(article_id=articl...
python
def help_center_article_translations_missing(self, article_id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#list-missing-translations" api_path = "/api/v2/help_center/articles/{article_id}/translations/missing.json" api_path = api_path.format(article_id=articl...
[ "def", "help_center_article_translations_missing", "(", "self", ",", "article_id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/{article_id}/translations/missing.json\"", "api_path", "=", "api_path", ".", "format", "(", "article_id", ...
https://developer.zendesk.com/rest_api/docs/help_center/translations#list-missing-translations
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "translations#list", "-", "missing", "-", "translations" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1561-L1565
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_articles_attachment_create
def help_center_articles_attachment_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/article_attachments#create-unassociated-attachment" api_path = "/api/v2/help_center/articles/attachments.json" return self.call(api_path, method="POST", data=data, **kwargs)
python
def help_center_articles_attachment_create(self, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/article_attachments#create-unassociated-attachment" api_path = "/api/v2/help_center/articles/attachments.json" return self.call(api_path, method="POST", data=data, **kwargs)
[ "def", "help_center_articles_attachment_create", "(", "self", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/attachments.json\"", "return", "self", ".", "call", "(", "api_path", ",", "method", "=", "\"POST\"", ",", ...
https://developer.zendesk.com/rest_api/docs/help_center/article_attachments#create-unassociated-attachment
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "article_attachments#create", "-", "unassociated", "-", "attachment" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1591-L1594
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_articles_attachment_delete
def help_center_articles_attachment_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/article_attachments#delete-article-attachment" api_path = "/api/v2/help_center/articles/attachments/{id}.json" api_path = api_path.format(id=id) return self.call(api_p...
python
def help_center_articles_attachment_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/article_attachments#delete-article-attachment" api_path = "/api/v2/help_center/articles/attachments/{id}.json" api_path = api_path.format(id=id) return self.call(api_p...
[ "def", "help_center_articles_attachment_delete", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/attachments/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", ...
https://developer.zendesk.com/rest_api/docs/help_center/article_attachments#delete-article-attachment
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "article_attachments#delete", "-", "article", "-", "attachment" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1596-L1600
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_articles_label_show
def help_center_articles_label_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/labels#show-label" api_path = "/api/v2/help_center/articles/labels/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
python
def help_center_articles_label_show(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/labels#show-label" api_path = "/api/v2/help_center/articles/labels/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, **kwargs)
[ "def", "help_center_articles_label_show", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/labels/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", "....
https://developer.zendesk.com/rest_api/docs/help_center/labels#show-label
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "labels#show", "-", "label" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1611-L1615
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_articles_labels_list
def help_center_articles_labels_list(self, locale=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/labels#list-all-labels" api_path = "/api/v2/help_center/articles/labels.json" if locale: api_opt_path = "/api/v2/help_center/{locale}/articles/labels.json" ...
python
def help_center_articles_labels_list(self, locale=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/labels#list-all-labels" api_path = "/api/v2/help_center/articles/labels.json" if locale: api_opt_path = "/api/v2/help_center/{locale}/articles/labels.json" ...
[ "def", "help_center_articles_labels_list", "(", "self", ",", "locale", "=", "None", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/articles/labels.json\"", "if", "locale", ":", "api_opt_path", "=", "\"/api/v2/help_center/{locale}/articles/label...
https://developer.zendesk.com/rest_api/docs/help_center/labels#list-all-labels
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "labels#list", "-", "all", "-", "labels" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1617-L1623
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_articles_search
def help_center_articles_search(self, category=None, label_names=None, locale=None, query=None, section=None, updated_after=None, updated_before=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/search#search-articles" api_path = "/api/v2/help_center/articles/search.json" ...
python
def help_center_articles_search(self, category=None, label_names=None, locale=None, query=None, section=None, updated_after=None, updated_before=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/search#search-articles" api_path = "/api/v2/help_center/articles/search.json" ...
[ "def", "help_center_articles_search", "(", "self", ",", "category", "=", "None", ",", "label_names", "=", "None", ",", "locale", "=", "None", ",", "query", "=", "None", ",", "section", "=", "None", ",", "updated_after", "=", "None", ",", "updated_before", ...
https://developer.zendesk.com/rest_api/docs/help_center/search#search-articles
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "search#search", "-", "articles" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1649-L1684
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_categories_list
def help_center_categories_list(self, locale=None, sort_by=None, sort_order=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/categories#list-categories" api_path = "/api/v2/help_center/categories.json" if locale: api_opt_path = "/api/v2/help_center/{locale}/c...
python
def help_center_categories_list(self, locale=None, sort_by=None, sort_order=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/categories#list-categories" api_path = "/api/v2/help_center/categories.json" if locale: api_opt_path = "/api/v2/help_center/{locale}/c...
[ "def", "help_center_categories_list", "(", "self", ",", "locale", "=", "None", ",", "sort_by", "=", "None", ",", "sort_order", "=", "None", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/categories.json\"", "if", "locale", ":", "api...
https://developer.zendesk.com/rest_api/docs/help_center/categories#list-categories
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "categories#list", "-", "categories" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1686-L1704
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_category_create
def help_center_category_create(self, data, locale=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/categories#create-category" api_path = "/api/v2/help_center/categories.json" if locale: api_opt_path = "/api/v2/help_center/{locale}/categories.json" ...
python
def help_center_category_create(self, data, locale=None, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/categories#create-category" api_path = "/api/v2/help_center/categories.json" if locale: api_opt_path = "/api/v2/help_center/{locale}/categories.json" ...
[ "def", "help_center_category_create", "(", "self", ",", "data", ",", "locale", "=", "None", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/categories.json\"", "if", "locale", ":", "api_opt_path", "=", "\"/api/v2/help_center/{locale}/categor...
https://developer.zendesk.com/rest_api/docs/help_center/categories#create-category
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "categories#create", "-", "category" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1715-L1721
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_category_delete
def help_center_category_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/categories#delete-category" api_path = "/api/v2/help_center/categories/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
python
def help_center_category_delete(self, id, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/categories#delete-category" api_path = "/api/v2/help_center/categories/{id}.json" api_path = api_path.format(id=id) return self.call(api_path, method="DELETE", **kwargs)
[ "def", "help_center_category_delete", "(", "self", ",", "id", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/categories/{id}.json\"", "api_path", "=", "api_path", ".", "format", "(", "id", "=", "id", ")", "return", "self", ".", "cal...
https://developer.zendesk.com/rest_api/docs/help_center/categories#delete-category
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "categories#delete", "-", "category" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1723-L1727
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_category_translation_create
def help_center_category_translation_create(self, category_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#create-translation" api_path = "/api/v2/help_center/categories/{category_id}/translations.json" api_path = api_path.format(category_id=category_id...
python
def help_center_category_translation_create(self, category_id, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#create-translation" api_path = "/api/v2/help_center/categories/{category_id}/translations.json" api_path = api_path.format(category_id=category_id...
[ "def", "help_center_category_translation_create", "(", "self", ",", "category_id", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/categories/{category_id}/translations.json\"", "api_path", "=", "api_path", ".", "format", "(", "ca...
https://developer.zendesk.com/rest_api/docs/help_center/translations#create-translation
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "translations#create", "-", "translation" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1762-L1766
fprimex/zdesk
zdesk/zdesk_api.py
ZendeskAPI.help_center_category_translation_update
def help_center_category_translation_update(self, category_id, locale, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#update-translation" api_path = "/api/v2/help_center/categories/{category_id}/translations/{locale}.json" api_path = api_path.format(catego...
python
def help_center_category_translation_update(self, category_id, locale, data, **kwargs): "https://developer.zendesk.com/rest_api/docs/help_center/translations#update-translation" api_path = "/api/v2/help_center/categories/{category_id}/translations/{locale}.json" api_path = api_path.format(catego...
[ "def", "help_center_category_translation_update", "(", "self", ",", "category_id", ",", "locale", ",", "data", ",", "*", "*", "kwargs", ")", ":", "api_path", "=", "\"/api/v2/help_center/categories/{category_id}/translations/{locale}.json\"", "api_path", "=", "api_path", "...
https://developer.zendesk.com/rest_api/docs/help_center/translations#update-translation
[ "https", ":", "//", "developer", ".", "zendesk", ".", "com", "/", "rest_api", "/", "docs", "/", "help_center", "/", "translations#update", "-", "translation" ]
train
https://github.com/fprimex/zdesk/blob/851611c13b4d530e9df31390b3ec709baf0a0188/zdesk/zdesk_api.py#L1768-L1772