iRestServiceProvider
api
Implement this interface to add new operations to the REST/JSON web service
Tags
since | 2.0.1 |
---|
API synthesis
List of the public API methods. When manipulating iRestServiceProvider, You can call those methods:
-
ExecOperation() โ Enumerate services delivered by this class
-
ListOperations() โ Enumerate services delivered by this class
Public methods
ExecOperation
api public
Enumerate services delivered by this class
public ExecOperation($sVersion, $sVerb, $aParams)
Parameters
types | name | default | description |
---|---|---|---|
string | $sVersion | The version (e.g. 1.0) supported by the services | |
string | $sVerb | ||
array | $aParams |
Returns
\RestResult The standardized result structure (at least a message)
ListOperations
api public
Enumerate services delivered by this class
public ListOperations($sVersion)
Parameters
types | name | default | description |
---|---|---|---|
string | $sVersion | The version (e.g. 1.0) supported by the services |
Returns
array An array of hash 'verb' => verb, 'description' => description
latest/customization/api/extensions/irestserviceprovider.txt
ยท Last modified: 2024/09/10 10:25 by 127.0.0.1