SHARE SHEET


METHOD

/api/share-sheet/set.php

This method add or update actions in the Share Sheet.


ENDPOINT

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


PARAMETERS POST

PARAMETER DEFAULT REQUIRED NOTES
api_key null Yes API key can be retrieved from /api/auth/login.php
action_id null No Pass the action_id into the API call to update an existing action in the Share Sheet. If no action_id is passed into the call, a new action will be created.
action_name null Yes The name of the action item.
action_endpoint null Yes The URL endpoint of the action item.

SUCCESS RESPONSE

{"result":"success"}

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
No actions passed No parameters was passed into the API call other than the API key
action_name not passed The required action_name was not passed into the API call
action_endpoint not passed The required action_endpoint was not passed into the API call