Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 544 Bytes

entitlement_grants_docs.md

File metadata and controls

25 lines (19 loc) · 544 Bytes

Entitlement Grants Documentation

Create Entitlements Upload URL

This is an example of how to create a new entitlements upload URL endpoint:

client, err := helix.NewClient(&helix.Options{
    ClientID:       "your-client-id",
    AppAccessToken: "your-app-access-token",
})
if err != nil {
    // handle error
}

manifestID := "your-manifest-id"
entitlementType := "bulk_drops_grant"

resp, err := client.CreateEntitlementsUploadURL(manifestID, entitlementType)
if err != nil {
    // handle error
}

fmt.Printf("%+v\n", resp)