post https://api.kongregate.com/api/shared_links/create.json
Create a shared link
The above example creates new shared link, in this case a raid called "Joe's Dragon" that has a "Dragon" type and expires Monday, November 30th 2015, 00:45:15 (GMT). Additionally, if we expand the raid link we will discover that it has a difficulty rating of "Hard" and has 867,5309 hit points.
One point of potential confusion to note: kv_params
is a specific set of key-values that we (Kongregate) will process. On the other hand, the link_params
, which also need to be prefaced with kv_
but need to have the &'s encoded as %26
, are what will be passed in to the iframe (in this case, kv_test
and kv_test2
).