Logon ID [Type = HexInt64]: hexadecimal value that can help you correlate this event with recent events that might contain the same Logon ID, for example, “4624: An account was successfully logged on.”
site.domain/rest/app.info?auth=d
{"error":"ERROR_CORE","error_description":"No client credentials"}
site.domain/rest/app.info
{"error":"NO_AUTH_FOUND","error_description":"Wrong authorization data"}
<?
require($_SERVER['DOCUMENT_ROOT'].'/bitrix/header.php');
$APPLICATION->SetTitle("test");
?><div>bitrix:rest.hook<hr/>
<?
$APPLICATION->IncludeComponent(
"bitrix:rest.hook",
".default",
array(
),
false
);?>
</div>
Вы можете разместить компонент bitrix:rest.marketplace.localapp на странице и добавлять приложения в БУСе
<?
require_once( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php" );
require_once( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php" );
$APPLICATION->IncludeComponent("bitrix:rest.marketplace.localapp", "", array(),
false,
array()
);
require( $_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_admin.php" );
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/bitrix/modules/main/include/prolog_admin.php"); ?>
<div class="adm-workarea">
<? $APPLICATION->IncludeComponent(
"bitrix:rest.hook",
".default",
[
"SEF_MODE" => "Y",
"SEF_FOLDER" => "/local/rest/",
"COMPONENT_TEMPLATE" => ".default",
"SEF_URL_TEMPLATES" => [
"list" => "",
"event_list" => "event/",
"event_edit" => "event/#id#/",
"ap_list" => "ap/",
"ap_edit" => "ap/#id#/",
]
],
false
); ?>
<br>
<a href="jav * ascript:void(0)" class="adm-btn adm-btn-green"
oncl ick="BX.PopupMenu.show('rest_hook_menu', this, [{
'href':'/local/rest/event/0/',
'text':'Исходящий вебхук'
},{
'href':'/local/rest/ap/0/',
'text':'Входящий вебхук'
}])">
Добавить вебхук
</a>
</div>
<? require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php");
array(
'CONDITION' => '#^/local/rest/#',
'RULE' => '',
'ID' => 'bitrix:rest.hook',
'PATH' => '/local/rest/index.php',
),
{"error":"INVALID_REQUEST","error_description":"Https required."}
{"result":{"ID":"17607","ADMIN":true,"NAME"....
Shift+LeftArrow SelectBackwardChar Adjust the current selection to include the previous character