Add Media to Set

From KickApps Documentation

Jump to: navigation, search

This call enables you to add media to a media set.

http://api.kickapps.com/rest/sets/addmedia/{asId}

Contents

Parameters

As shown above, your call will include the following parameters:

  • as. Required. Integer. The site that the media and media set belong to. 'as' is unique for each of the communities.

Post Parameters

  • setId. Integer. Required. The id for the set to which the media needs to be added. Does not accept multiple set Id's
  • mediaId. Integer. Required. The media Id of the media that is being added to the set.
  • mediaType. String. Required. Media Type of the media that is being added. Supported media types - video, audio, photo, blog.

JSON Payload

On success, the following payload is returned: {"payload_type":"json","message":"media added to set successfully.","status":"1","error":""}

Permissions

  • All community members can access this call.
  • Community members can only add any media to their set unless the media owner has marked the media as not settable.

List of KickApps API Calls


Note: Occasionally (and without advanced warning) we modify our API calls by adding new parameters in the response payload. Please keep this in mind when designing your strategy for parsing our responses.