This currently provides a minimal Go SDK for RingCentral Engage Digital, formerly Dimelo:
You need the following:
my-subdomain
in the following URL: https://my-subdomain.engagement.dimelo.com
my-subdomain
: https://my-subdomain.engagement.dimelo.com/admin/api_access_tokens
$ go get github.com/grokify/go-ringcental-engage/...
The main SDK is in the engagedigital/engagedigital
folder. The engagedigital/engagedigitalutil
folder provides a non-autogenerated helper function to instantiate the SDK:
import("github.com/grokify/go-ringcentral-engage/engagedigital/engagedigitalutil")
func main() {
apiClient := engagedigitalutil.NewApiClient("my-subdomain", "my-access-token")
// helper function to get access to raw `*http.Client`
httpClient := apiClient.HTTPClient()
}
For information on how to use the apiClient
object, see:
engagedigital/examples
folder for usage. engagedigital/examples/simple_get
includes a simple functions for a lot of the GET
APIs.engagedigital/engagedigital/README.md
116/121 APIs - 96%
[x] Communities
[x] Sources
[x] Folders
[x] Roles
[x] Categories
[x] Tags
[x] Teams
[x] Users
[ ] User Source Permissions
[x] Identities
[x] Identity Groups
[x] Custom Fields
[x] Threads
[x] Contents
[x] Attachments
[x] Events
[ ] Interventions
[x] Intervention comments
[x] Agent Status (task view)
[x] Webhook
[x] Time Sheet
[x] Channels
[x] Settings
[x] Locales
[x] Timezones
[x] Presence statuses
[x] Tasks
[x] Reply Assistant - Entries
[x] Reply Assistant - Versions
[x] Reply Assistant - Groups
[ ] Survey Response
There are 127 endpoints. To count, use the following on OS-X:
$ grep ' [ ]' README.md | wc -l
You won't normally need to do this unless you want to modify the SDK, like adding endpoints via the OpenAPI 2.0 / Swagger 2.0 specification.
This SDK is auto-generated from the OpenAPI 2.0 / Swagger 2.0 spec using OpenAPI Generator.
Note: This SDK uses a merged OpenAPI spec so do not edit the
codegen/openapi-spec.json
file. Instead, edit files in and add files to thecodegen/partial-specs
folder.
Run:
$ cd codegen
$ go run merge.go -v 3
$ sh generate.sh
$ rm -rf ../engagedigital
$ mv engagedigital ..
Thanks to the following apps for making this possible: