nukosuke / go-zendesk

Zendesk API client library for Go
https://pkg.go.dev/github.com/nukosuke/go-zendesk/zendesk
MIT License
62 stars 81 forks source link

Add support for bulk operations (jobs) #311

Open dolmen opened 3 months ago

dolmen commented 3 months ago

Add support for asynchronous operations via jobs:

Job Status: https://developer.zendesk.com/api-reference/ticketing/ticket-management/job_statuses/#show-job-status Delete Bulk Organizations: https://developer.zendesk.com/api-reference/ticketing/organizations/organizations/#bulk-delete-organizations

bellis-ai commented 3 months ago

Also want to point out that the generic "Delete" function does not return any body (it expects just a blank 204), but these job functions do (no clue if that's an HTTP spec violation haha), and so the generic functions cannot implement this behavior either.