IAPIFunction
in
Declaration for an API Function
Table of Contents
Methods
- call() : mixed
- Perform the API call and return the result
- getRequiredPermission() : null|string
- This function is used to check the required permission to access the API endpoint. It returns a string that represents the required permission to access the API endpoint.
Methods
call()
Perform the API call and return the result
public
call() : mixed
Return values
mixed —The result of the API call
getRequiredPermission()
This function is used to check the required permission to access the API endpoint. It returns a string that represents the required permission to access the API endpoint.
public
getRequiredPermission() : null|string