Forum Discussion

kandulmadhu's avatar
10 years ago

API for creating new contest

Hi,   Is there any REST API for creating new contest? If yes, please provide the REST API here. I need to select the media type as well while creating the contest via the REST API post call.   ...
  • kandulmadhu's avatar
    kandulmadhu
    10 years ago

    Hey,

    I got the REST API for this.

     

    You could use the following post call for creating a contest:

    "http://<community>/restapi/vc/nodes/type/key/contest/add" and the following are the mandatory parameters for this call

    contest.id

    contest.title

     

    Though I still need to get the parameters for setting the media type for this contest.

     

    Thanks,

    Madhu