-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hi, I’m trying to set tags when creating a playlist:
createPayload := map[string]interface{}{
"playlist": map[string]interface{}{
"title": playlistName,
"sharing": "public",
"tags": []string{"#tag1"},
"tracks": []map[string]string{*firstTrack},
},
}
createResp, err := client.R().
SetHeader("Content-Type", "application/json").
SetHeader("Authorization", "Bearer "+t.AccessToken).
SetBody(createPayload).
SetResult(&playlist).
Post("https://api.soundcloud.com/playlists")
I’ve tried passing tags as an array (with and without #), and also with update, but I don’t see them reflected.
How are tags supposed to be sent?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested