ParseHooks

Class ParseHooks - Representation of a Parse Hooks object.

author

Phelipe Alves phelipealvessouza@gmail.com

package

Parse

Methods

Create a new function webhook.

createFunction(string $functionName, string $url) : array
Throws
\Parse\ParseException

Arguments

$functionName

string

$url

string

Response

array

Create a new trigger webhook.

createTrigger(string $className, string $triggerName, string $url) : array

Arguments

$className

string

$triggerName

string

$url

string

Response

array

Delete a function webhook.

deleteFunction(string $functionName) : array
Throws
\Parse\ParseException

Arguments

$functionName

string

Response

array

Delete a trigger webhook.

deleteTrigger(string $className, string $triggerName) : array

Arguments

$className

string

$triggerName

string

Response

array

Edit the url of a function webhook that was already created.

editFunction(string $functionName, string $url) : array
Throws
\Parse\ParseException

Arguments

$functionName

string

$url

string

Response

array

Edit the url of a trigger webhook that was already crated.

editTrigger(string $className, string $triggerName, string $url) : array

Arguments

$className

string

$triggerName

string

$url

string

Response

array

Fetch a single cloud function with a given name.

fetchFunction(string $functionName) : array
Throws
\Parse\ParseException

Arguments

$functionName

string

Response

array

Fetch the list of all cloud functions.

fetchFunctions() : array
Throws
\Parse\ParseException

Response

array

Fetch a single cloud trigger.

fetchTrigger(string $className, string $triggerName) : array
Throws
\Parse\ParseException

Arguments

$className

string

$triggerName

string

Response

array

Fetch the list of all cloud triggers.

fetchTriggers() : array
Throws
\Parse\ParseException

Response

array