SHARE SHEET


METHOD

/api/share-sheet/get.php

This method gets a full list of actions from the Share Sheet.


ENDPOINT

http://cranked_installation_url/api/share-sheet/get.php


PARAMETERS GET

PARAMETER DEFAULT REQUIRED NOTES
api_key null Yes API key can be retrieved from /api/auth/login.php

SUCCESS RESPONSE

{
   "share_sheet_items":[
      {
         "share_item_id":"1",
         "share_item_name":"Share on Twitter",
         "share_item_endpoint":"https:\/\/twitter.com\/intent\/tweet?text=%t&url=%u"
      },
      {
         "share_item_id":"2",
         "share_item_name":"Share on Facebook",
         "share_item_endpoint":"https:\/\/www.facebook.com\/sharer\/sharer.php?u=%u&t=%t"
      }
   ]
}

ERROR RESPONSE

ERROR MESSAGE NOTES
No data passed API was called but no data were passed
API key not passed The required API key was not passed into the call
Invalid API key The API key was passed into the call but is invalid