См. определение в файле client.php строка 30
◆ __construct()
__construct |
( |
| $clientId, |
|
|
| $clientSecret, |
|
|
| $licenseKey ) |
◆ addApplication()
addApplication |
( |
array | $applicationSettings | ) |
|
◆ batch()
◆ call()
call |
( |
| $methodName, |
|
|
| $additionalParams = null, |
|
|
| $licenseCheck = false ) |
Low-level function for REST method call. Returns method response.
- Аргументы
-
string | $methodName | Method name. |
array | null | $additionalParams | Method params. |
bool | false | $licenseCheck | Send license key in request (will be sent automatically on verification_needed error). |
- Возвращает
- bool|mixed
- Исключения
-
См. определение в файле client.php строка 161
◆ checkAuth()
checkAuth |
( |
| $accessToken | ) |
|
◆ deleteApplication()
deleteApplication |
( |
array | $applicationSettings | ) |
|
◆ getApplicationList()
◆ getAuth()
getAuth |
( |
| $clientId, |
|
|
| $scope, |
|
|
array | $additionalParams = array() ) |
◆ getCode()
getCode |
( |
| $clientId, |
|
|
| $state, |
|
|
| $additionalParams ) |
◆ getHttpClient()
◆ getRequestId()
getRequestId |
( |
string | $methodName | ) |
|
|
protected |
◆ getRequestUrl()
getRequestUrl |
( |
| $methodName | ) |
|
|
protected |
◆ installApplication()
installApplication |
( |
array | $applicationSettings | ) |
|
◆ prepareRequest()
prepareRequest |
( |
| $additionalParams, |
|
|
| $licenseCheck = false ) |
|
protected |
◆ prepareRequestData()
prepareRequestData |
( |
| $additionalParams | ) |
|
|
protected |
◆ prepareResponse()
prepareResponse |
( |
| $result | ) |
|
|
protected |
◆ sendApplicationUsage()
sendApplicationUsage |
( |
array | $usage | ) |
|
◆ sendEvent()
sendEvent |
( |
array | $eventItems | ) |
|
◆ unInstallApplication()
unInstallApplication |
( |
array | $applicationSettings | ) |
|
◆ updateApplication()
updateApplication |
( |
array | $applicationSettings | ) |
|
◆ $clientId
◆ $clientSecret
◆ $licenseKey
◆ HTTP_SOCKET_TIMEOUT
const HTTP_SOCKET_TIMEOUT = 10 |
◆ HTTP_STREAM_TIMEOUT
const HTTP_STREAM_TIMEOUT = 10 |
◆ METHOD_APPLICATION_ADD
const METHOD_APPLICATION_ADD = 'application.add' |
◆ METHOD_APPLICATION_DELETE
const METHOD_APPLICATION_DELETE = 'application.delete' |
◆ METHOD_APPLICATION_INSTALL
const METHOD_APPLICATION_INSTALL = 'application.install' |
◆ METHOD_APPLICATION_INSTALL_SUBSCRIPTION
const METHOD_APPLICATION_INSTALL_SUBSCRIPTION = 'application.install.subscription' |
◆ METHOD_APPLICATION_LIST
const METHOD_APPLICATION_LIST = 'application.list' |
◆ METHOD_APPLICATION_STAT
const METHOD_APPLICATION_STAT = 'application.stat' |
◆ METHOD_APPLICATION_UNINSTALL
const METHOD_APPLICATION_UNINSTALL = 'application.uninstall' |
◆ METHOD_APPLICATION_UPDATE
const METHOD_APPLICATION_UPDATE = 'application.update' |
◆ METHOD_APPLICATION_USAGE
const METHOD_APPLICATION_USAGE = 'application.usage.add' |
◆ METHOD_APPLICATION_VERSION_DELETE
const METHOD_APPLICATION_VERSION_DELETE = 'application.version.delete' |
◆ METHOD_APPLICATION_VERSION_UPDATE
const METHOD_APPLICATION_VERSION_UPDATE = 'application.version.update' |
◆ METHOD_BATCH
const METHOD_BATCH = 'batch' |
◆ METHOD_METHODS
const METHOD_METHODS = 'methods' |
◆ METHOD_REST_AUTHORIZE
const METHOD_REST_AUTHORIZE = 'rest.authorize' |
◆ METHOD_REST_CHECK
const METHOD_REST_CHECK = 'rest.check' |
◆ METHOD_REST_CODE
const METHOD_REST_CODE = 'rest.code' |
◆ METHOD_REST_EVENT_CALL
const METHOD_REST_EVENT_CALL = 'rest.event.call' |
◆ SERVICE_PATH
const SERVICE_PATH = "/rest/" |
◆ SERVICE_URL
const SERVICE_URL = BITRIXREST_URL |