Code
stringlengths 103
85.9k
| Summary
listlengths 0
94
|
---|---|
Please provide a description of the function:def agent_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/agents#create-agent"
api_path = "/api/v2/agents"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def agent_delete(self, agent_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/agents#delete-agent"
api_path = "/api/v2/agents/{agent_id}"
api_path = api_path.format(agent_id=agent_id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def agent_show(self, agent_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/agents#get-agent-by-id"
api_path = "/api/v2/agents/{agent_id}"
api_path = api_path.format(agent_id=agent_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def agent_update(self, agent_id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/agents#update-agent"
api_path = "/api/v2/agents/{agent_id}"
api_path = api_path.format(agent_id=agent_id)
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def agents_email_show(self, email_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/agents#get-agent-by-email-id"
api_path = "/api/v2/agents/email/{email_id}"
api_path = api_path.format(email_id=email_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def agents_me_update(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/agents#update-requesting-agent"
api_path = "/api/v2/agents/me"
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def any_channel_push_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/channel_framework#push-content-to-support"
api_path = "/api/v2/any_channel/push"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def any_channel_validate_token_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/channel_framework#validate-token"
api_path = "/api/v2/any_channel/validate_token"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def app_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#create-app"
api_path = "/api/v2/apps.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def app_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#delete-app"
api_path = "/api/v2/apps/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def app_public_key(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#get-app-public-key"
api_path = "/api/v2/apps/{id}/public_key.pem"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def app_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#get-information-about-app"
api_path = "/api/v2/apps/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def apps_installation_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#install-app"
api_path = "/api/v2/apps/installations.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def apps_installation_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#remove-app-installation"
api_path = "/api/v2/apps/installations/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def apps_installation_requirements(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#list-requirements"
api_path = "/api/v2/apps/installations/{id}/requirements.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def apps_installation_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#show-app-installation"
api_path = "/api/v2/apps/installations/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def apps_installations_job_status_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#get-requirements-install-status"
api_path = "/api/v2/apps/installations/job_statuses/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def apps_job_status_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#get-job-status"
api_path = "/api/v2/apps/job_statuses/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def apps_location_installations_reorder(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/app_location_installations#reorder-app-installations-for-location"
api_path = "/api/v2/apps/location_installations/reorder.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def apps_location_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/app_locations#show-location"
api_path = "/api/v2/apps/locations/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def apps_notify_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#send-notification-to-app"
api_path = "/api/v2/apps/notify.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def apps_upload_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/apps#upload-app-package"
api_path = "/api/v2/apps/uploads.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def attachment_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/attachments#show-attachment"
api_path = "/api/v2/attachments/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def audit_log_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/audit_logs#getting-audit-logs"
api_path = "/api/v2/audit_logs/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def audit_logs_list(self, filter_actor_id=None, filter_created_at=None, filter_ip_address=None, filter_source_type=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/audit_logs#listing-audit-logs"
api_path = "/api/v2/audit_logs.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if filter_actor_id:
api_query.update({
"filter[actor_id]": filter_actor_id,
})
if filter_created_at:
api_query.update({
"filter[created_at]": filter_created_at,
})
if filter_ip_address:
api_query.update({
"filter[ip_address]": filter_ip_address,
})
if filter_source_type:
api_query.update({
"filter[source_type]": filter_source_type,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function:def automation_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/automations#create-automation"
api_path = "/api/v2/automations.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def automation_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/automations#delete-automation"
api_path = "/api/v2/automations/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def automation_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/automations#show-automation"
api_path = "/api/v2/automations/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def automations_update_many(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/automations#update-many-automations"
api_path = "/api/v2/automations/update_many.json"
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def ban_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/bans#create-ban"
api_path = "/api/v2/bans"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def ban_delete(self, ban_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/bans#delete-ban"
api_path = "/api/v2/bans/{ban_id}"
api_path = api_path.format(ban_id=ban_id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def ban_show(self, ban_id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/bans#get-ban"
api_path = "/api/v2/bans/{ban_id}"
api_path = api_path.format(ban_id=ban_id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def bans_list(self, limit=None, max_id=None, since_id=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/chat/bans#get-all-bans"
api_path = "/api/v2/bans"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if limit:
api_query.update({
"limit": limit,
})
if max_id:
api_query.update({
"max_id": max_id,
})
if since_id:
api_query.update({
"since_id": since_id,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function:def bookmark_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/bookmarks#create-bookmark"
api_path = "/api/v2/bookmarks.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def bookmark_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/bookmarks#delete-bookmark"
api_path = "/api/v2/bookmarks/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def brand_check_host_mapping(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/brands#check-host-mapping-validity-for-an-existing-brand"
api_path = "/api/v2/brands/{id}/check_host_mapping.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def brand_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/brands#create-brand"
api_path = "/api/v2/brands.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def brand_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/brands#delete-a-brand"
api_path = "/api/v2/brands/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def brand_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/brands#show-a-brand"
api_path = "/api/v2/brands/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def brands_check_host_mapping_list(self, host_mapping=None, subdomain=None, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/brands#check-host-mapping-validity"
api_path = "/api/v2/brands/check_host_mapping.json"
api_query = {}
if "query" in kwargs.keys():
api_query.update(kwargs["query"])
del kwargs["query"]
if host_mapping:
api_query.update({
"host_mapping": host_mapping,
})
if subdomain:
api_query.update({
"subdomain": subdomain,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function:def business_hours_schedule_create(self, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/schedules#create-a-schedule"
api_path = "/api/v2/business_hours/schedules.json"
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function:def business_hours_schedule_delete(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/schedules#delete-a-schedule"
api_path = "/api/v2/business_hours/schedules/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def business_hours_schedule_holiday_delete(self, schedule_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/schedules#delete-a-holiday"
api_path = "/api/v2/business_hours/schedules/{schedule_id}/holidays/{id}.json"
api_path = api_path.format(schedule_id=schedule_id, id=id)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function:def business_hours_schedule_holiday_show(self, schedule_id, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/schedules#show-a-holiday"
api_path = "/api/v2/business_hours/schedules/{schedule_id}/holidays/{id}.json"
api_path = api_path.format(schedule_id=schedule_id, id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def business_hours_schedule_holiday_update(self, schedule_id, id, data, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/schedules#update-a-holiday"
api_path = "/api/v2/business_hours/schedules/{schedule_id}/holidays/{id}.json"
api_path = api_path.format(schedule_id=schedule_id, id=id)
return self.call(api_path, method="PUT", data=data, **kwargs) | [] |
Please provide a description of the function:def business_hours_schedule_holidays(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/schedules#list-holidays-for-a-schedule"
api_path = "/api/v2/business_hours/schedules/{id}/holidays.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function:def business_hours_schedule_show(self, id, **kwargs):
"https://developer.zendesk.com/rest_api/docs/core/schedules#show-a-schedule"
api_path = "/api/v2/business_hours/schedules/{id}.json"
api_path = api_path.format(id=id)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function: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 self.call(api_path, **kwargs) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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_path.format(agent_id=agent_id, ticket_id=ticket_id)
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function: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 = api_path.format(agent_id=agent_id, user_id=user_id)
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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:
api_query.update({
"q": q,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function: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_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function: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.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function: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_path, **kwargs) | [] |
Please provide a description of the function: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)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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 self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function: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)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function: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_path, **kwargs) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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"])
del kwargs["query"]
if filter_by:
api_query.update({
"filter_by": filter_by,
})
if sort_by:
api_query.update({
"sort_by": sort_by,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function: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():
api_query.update(kwargs["query"])
del kwargs["query"]
if query:
api_query.update({
"query": query,
})
if topic:
api_query.update({
"topic": topic,
})
if updated_after:
api_query.update({
"updated_after": updated_after,
})
if updated_before:
api_query.update({
"updated_before": updated_before,
})
return self.call(api_path, query=api_query, **kwargs) | [] |
Please provide a description of the function:def 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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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)
return self.call(api_path, method="POST", data=data, **kwargs) | [] |
Please provide a description of the function: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)
return self.call(api_path, method="DELETE", **kwargs) | [] |
Please provide a description of the function: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)
return self.call(api_path, **kwargs) | [] |
Please provide a description of the function: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(api_path, **kwargs) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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", **kwargs) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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="PUT", data=data, **kwargs) | [] |
Please provide a description of the function: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) | [] |
Please provide a description of the function: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) | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.