Список тегов
200 |
Список тегов
JSON
|
401 |
Токен авторизации не передан или не валидный Получение токена |
cURL
BASH
curl -k --request POST \
--url 'https://your-domainapi/admin/v1/tags' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"per_page": 0,
"search": "string"
}'
PHP
PHP
$data = array (
'per_page' => 0,
'search' => 'string',
);
$context = stream_context_create([
'ssl'=>['verify_peer' => false],
'http' => [
'method' => 'GET',
'header' => "Content-Type: application/json\r
Accept: application/json",
'content'=>json_encode($data)
]
]);
$result = file_get_contents('https://your-domainapi/admin/v1/tags', false, $context);