{"id":3586,"date":"2019-07-22T13:06:28","date_gmt":"2019-07-22T10:06:28","guid":{"rendered":"https:\/\/zankovich-com.sr-srv.net\/?p=2619"},"modified":"2022-03-30T13:05:36","modified_gmt":"2022-03-30T13:05:36","slug":"api-project-groups","status":"publish","type":"post","link":"https:\/\/seranking.com\/ru\/api-project-groups.html","title":{"rendered":"API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432"},"content":{"rendered":"<h2 id=\"anchor1\">\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/h2>\n<p>\u041c\u0435\u0442\u043e\u0434 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<h4>\u0424\u043e\u0440\u043c\u0430\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/h4>\n<div class=\"se-code-block\" data-tooltip=\"&lt;pre&gt;&lt;code&gt;POST https:\/\/api4.seranking.com\/site-groups&lt;br \/&gt;\n{ &quot;name&quot; : &quot;text&quot; }&lt;\/code&gt;&lt;\/pre&gt;\"><div class=\"se-code-block-inner\"><div class=\"se-code-block-bar\"><div class=\"se-code-block__copy-btn se-btn_text se-btn se-btn_tert\"><div class=\"se-btn__icon-container\"><i class=\"se-btn__icon-fill copy\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M7.91602 14.1668C7.57227 14.1668 7.27799 14.0444 7.0332 13.7996C6.78841 13.5548 6.66602 13.2606 6.66602 12.9168V4.5835C6.66602 4.23975 6.78841 3.94548 7.0332 3.70068C7.27799 3.45589 7.57227 3.3335 7.91602 3.3335H14.5827C14.9264 3.3335 15.2207 3.45589 15.4655 3.70068C15.7103 3.94548 15.8327 4.23975 15.8327 4.5835V12.9168C15.8327 13.2606 15.7103 13.5548 15.4655 13.7996C15.2207 14.0444 14.9264 14.1668 14.5827 14.1668H7.91602ZM7.91602 12.9168H14.5827V4.5835H7.91602V12.9168ZM5.41602 16.6668C5.07227 16.6668 4.77799 16.5444 4.5332 16.2996C4.28841 16.0548 4.16602 15.7606 4.16602 15.4168V5.8335H5.41602V15.4168H13.3327V16.6668H5.41602Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><i class=\"se-btn__icon-fill check\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M8.10417 14.4375L4.0625 10.4167L5.125 9.33333L8.10417 12.3125L14.875 5.5625L15.9375 6.625L8.10417 14.4375Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><\/div>Copy<\/div><\/div><div class=\"se-code-block__content\"><pre><code>POST https:\/\/api4.seranking.com\/site-groups<br \/>\n{ \"name\" : \"text\" }<\/code><\/pre><\/div><\/div><\/div>\n<h4>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/h4>\n<table class=\"wp-block-table\">\n<tbody>\n<tr>\n<td>\u0418\u043c\u044f<\/td>\n<td>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/td>\n<td>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/td>\n<\/tr>\n<tr>\n<td>name<\/td>\n<td>\u0414\u0430<\/td>\n<td>\u0418\u043c\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h4>\n<table class=\"wp-block-table\">\n<tbody>\n<tr>\n<td>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u043f\u0435\u0445\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u0435\u0440\u043d\u0435\u0442 HTTP 201 \u0438 ID \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table class=\"wp-block-table\">\n<tbody>\n<tr>\n<td>\u0418\u043c\u044f<\/td>\n<td>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/td>\n<td>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/td>\n<\/tr>\n<tr>\n<td>group_id<\/td>\n<td>\u0414\u0430<\/td>\n<td>ID \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0442\u0432\u0435\u0442\u0430<\/h4>\n<div class=\"se-code-block\" data-tooltip=\"&lt;pre&gt;&lt;code&gt;{&lt;br \/&gt;\n&quot;group_id&quot;: 9545&lt;br \/&gt;\n}&lt;\/code&gt;&lt;\/pre&gt;\"><div class=\"se-code-block-inner\"><div class=\"se-code-block-bar\"><div class=\"se-code-block__copy-btn se-btn_text se-btn se-btn_tert\"><div class=\"se-btn__icon-container\"><i class=\"se-btn__icon-fill copy\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M7.91602 14.1668C7.57227 14.1668 7.27799 14.0444 7.0332 13.7996C6.78841 13.5548 6.66602 13.2606 6.66602 12.9168V4.5835C6.66602 4.23975 6.78841 3.94548 7.0332 3.70068C7.27799 3.45589 7.57227 3.3335 7.91602 3.3335H14.5827C14.9264 3.3335 15.2207 3.45589 15.4655 3.70068C15.7103 3.94548 15.8327 4.23975 15.8327 4.5835V12.9168C15.8327 13.2606 15.7103 13.5548 15.4655 13.7996C15.2207 14.0444 14.9264 14.1668 14.5827 14.1668H7.91602ZM7.91602 12.9168H14.5827V4.5835H7.91602V12.9168ZM5.41602 16.6668C5.07227 16.6668 4.77799 16.5444 4.5332 16.2996C4.28841 16.0548 4.16602 15.7606 4.16602 15.4168V5.8335H5.41602V15.4168H13.3327V16.6668H5.41602Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><i class=\"se-btn__icon-fill check\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M8.10417 14.4375L4.0625 10.4167L5.125 9.33333L8.10417 12.3125L14.875 5.5625L15.9375 6.625L8.10417 14.4375Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><\/div>Copy<\/div><\/div><div class=\"se-code-block__content\"><pre><code>{<br \/>\n\"group_id\": 9545<br \/>\n}<\/code><\/pre><\/div><\/div><\/div>\n<h4>\u041e\u0448\u0438\u0431\u043a\u0438<\/h4>\n<table class=\"wp-block-table\">\n<tbody>\n<tr>\n<td>HTTP-\u043a\u043e\u0434<\/td>\n<td>\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>Empty name<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"anchor2\">\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/h2>\n<h4>\u0424\u043e\u0440\u043c\u0430\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/h4>\n<div class=\"se-code-block\" data-tooltip=\"&lt;pre&gt;&lt;code&gt;PUT https:\/\/api4.seranking.com\/site-groups\/{group_id}&lt;br \/&gt;\n{&lt;br \/&gt;\n&quot;name&quot;: &quot;new name&quot;&lt;br \/&gt;\n}&lt;\/code&gt;&lt;\/pre&gt;\"><div class=\"se-code-block-inner\"><div class=\"se-code-block-bar\"><div class=\"se-code-block__copy-btn se-btn_text se-btn se-btn_tert\"><div class=\"se-btn__icon-container\"><i class=\"se-btn__icon-fill copy\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M7.91602 14.1668C7.57227 14.1668 7.27799 14.0444 7.0332 13.7996C6.78841 13.5548 6.66602 13.2606 6.66602 12.9168V4.5835C6.66602 4.23975 6.78841 3.94548 7.0332 3.70068C7.27799 3.45589 7.57227 3.3335 7.91602 3.3335H14.5827C14.9264 3.3335 15.2207 3.45589 15.4655 3.70068C15.7103 3.94548 15.8327 4.23975 15.8327 4.5835V12.9168C15.8327 13.2606 15.7103 13.5548 15.4655 13.7996C15.2207 14.0444 14.9264 14.1668 14.5827 14.1668H7.91602ZM7.91602 12.9168H14.5827V4.5835H7.91602V12.9168ZM5.41602 16.6668C5.07227 16.6668 4.77799 16.5444 4.5332 16.2996C4.28841 16.0548 4.16602 15.7606 4.16602 15.4168V5.8335H5.41602V15.4168H13.3327V16.6668H5.41602Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><i class=\"se-btn__icon-fill check\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M8.10417 14.4375L4.0625 10.4167L5.125 9.33333L8.10417 12.3125L14.875 5.5625L15.9375 6.625L8.10417 14.4375Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><\/div>Copy<\/div><\/div><div class=\"se-code-block__content\"><pre><code>PUT https:\/\/api4.seranking.com\/site-groups\/{group_id}<br \/>\n{<br \/>\n\"name\": \"new name\"<br \/>\n}<\/code><\/pre><\/div><\/div><\/div>\n<h4>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/h4>\n<table class=\"wp-block-table\">\n<tbody>\n<tr>\n<td>\u0418\u043c\u044f<\/td>\n<td>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/td>\n<td>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/td>\n<\/tr>\n<tr>\n<td>name<\/td>\n<td>\u0414\u0430<\/td>\n<td>\u041d\u043e\u0432\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h4>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u043f\u0435\u0445\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u0435\u0440\u043d\u0435\u0442 HTTP 204.<\/p>\n<h4>\u041e\u0448\u0438\u0431\u043a\u0438<\/h4>\n<table class=\"wp-block-table\">\n<tbody>\n<tr>\n<td>HTTP-\u043a\u043e\u0434<\/td>\n<td>\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>Empty name<\/td>\n<\/tr>\n<tr>\n<td>404<\/td>\n<td>Group not found<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"anchor3\">\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/h2>\n<h4>\u0424\u043e\u0440\u043c\u0430\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/h4>\n<div class=\"se-code-block\" data-tooltip=\"&lt;pre&gt;&lt;code&gt;DELETE https:\/\/api4.seranking.com\/site-groups\/{group_id}&lt;\/code&gt;&lt;\/pre&gt;\"><div class=\"se-code-block-inner\"><div class=\"se-code-block-bar\"><div class=\"se-code-block__copy-btn se-btn_text se-btn se-btn_tert\"><div class=\"se-btn__icon-container\"><i class=\"se-btn__icon-fill copy\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M7.91602 14.1668C7.57227 14.1668 7.27799 14.0444 7.0332 13.7996C6.78841 13.5548 6.66602 13.2606 6.66602 12.9168V4.5835C6.66602 4.23975 6.78841 3.94548 7.0332 3.70068C7.27799 3.45589 7.57227 3.3335 7.91602 3.3335H14.5827C14.9264 3.3335 15.2207 3.45589 15.4655 3.70068C15.7103 3.94548 15.8327 4.23975 15.8327 4.5835V12.9168C15.8327 13.2606 15.7103 13.5548 15.4655 13.7996C15.2207 14.0444 14.9264 14.1668 14.5827 14.1668H7.91602ZM7.91602 12.9168H14.5827V4.5835H7.91602V12.9168ZM5.41602 16.6668C5.07227 16.6668 4.77799 16.5444 4.5332 16.2996C4.28841 16.0548 4.16602 15.7606 4.16602 15.4168V5.8335H5.41602V15.4168H13.3327V16.6668H5.41602Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><i class=\"se-btn__icon-fill check\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M8.10417 14.4375L4.0625 10.4167L5.125 9.33333L8.10417 12.3125L14.875 5.5625L15.9375 6.625L8.10417 14.4375Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><\/div>Copy<\/div><\/div><div class=\"se-code-block__content\"><pre><code>DELETE https:\/\/api4.seranking.com\/site-groups\/{group_id}<\/code><\/pre><\/div><\/div><\/div>\n<h4>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h4>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u043f\u0435\u0445\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 HTTP 204.<\/p>\n<h4>\u041e\u0448\u0438\u0431\u043a\u0438<\/h4>\n<table class=\"wp-block-table\">\n<tbody>\n<tr>\n<td>HTTP-\u043a\u043e\u0434<\/td>\n<td>\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435<\/td>\n<\/tr>\n<tr>\n<td>404<\/td>\n<td>Group not found<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"anchor4\">\u0421\u043f\u0438\u0441\u043e\u043a \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/h2>\n<p>\u041c\u0435\u0442\u043e\u0434 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<h4>\u0424\u043e\u0440\u043c\u0430\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/h4>\n<div class=\"se-code-block\" data-tooltip=\"&lt;pre&gt;&lt;code&gt; GET https:\/\/api4.seranking.com\/site-groups&lt;\/code&gt;&lt;\/pre&gt;\"><div class=\"se-code-block-inner\"><div class=\"se-code-block-bar\"><div class=\"se-code-block__copy-btn se-btn_text se-btn se-btn_tert\"><div class=\"se-btn__icon-container\"><i class=\"se-btn__icon-fill copy\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M7.91602 14.1668C7.57227 14.1668 7.27799 14.0444 7.0332 13.7996C6.78841 13.5548 6.66602 13.2606 6.66602 12.9168V4.5835C6.66602 4.23975 6.78841 3.94548 7.0332 3.70068C7.27799 3.45589 7.57227 3.3335 7.91602 3.3335H14.5827C14.9264 3.3335 15.2207 3.45589 15.4655 3.70068C15.7103 3.94548 15.8327 4.23975 15.8327 4.5835V12.9168C15.8327 13.2606 15.7103 13.5548 15.4655 13.7996C15.2207 14.0444 14.9264 14.1668 14.5827 14.1668H7.91602ZM7.91602 12.9168H14.5827V4.5835H7.91602V12.9168ZM5.41602 16.6668C5.07227 16.6668 4.77799 16.5444 4.5332 16.2996C4.28841 16.0548 4.16602 15.7606 4.16602 15.4168V5.8335H5.41602V15.4168H13.3327V16.6668H5.41602Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><i class=\"se-btn__icon-fill check\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M8.10417 14.4375L4.0625 10.4167L5.125 9.33333L8.10417 12.3125L14.875 5.5625L15.9375 6.625L8.10417 14.4375Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><\/div>Copy<\/div><\/div><div class=\"se-code-block__content\"><pre><code> GET https:\/\/api4.seranking.com\/site-groups<\/code><\/pre><\/div><\/div><\/div>\n<h4>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h4>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u043f\u0435\u0445\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0433\u0440\u0443\u043f\u043f.<\/p>\n<table class=\"wp-block-table\">\n<tbody>\n<tr>\n<td>\u0418\u043c\u044f<\/td>\n<td>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/td>\n<td>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/td>\n<\/tr>\n<tr>\n<td>id<\/td>\n<td>\u0414\u0430<\/td>\n<td>ID \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/td>\n<\/tr>\n<tr>\n<td>name<\/td>\n<td>\u0414\u0430<\/td>\n<td>\u0418\u043c\u044f \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0442\u0432\u0435\u0442\u0430<\/h4>\n<div class=\"se-code-block\" data-tooltip=\"&lt;pre&gt;&lt;code&gt;[&lt;br \/&gt;\n{&lt;br \/&gt;\n&quot;id&quot;: &quot;123&quot;,&lt;br \/&gt;\n&quot;name&quot;: &quot;Group1&quot;&lt;br \/&gt;\n},&lt;br \/&gt;\n{&lt;br \/&gt;\n&quot;id&quot;: &quot;456&quot;,&lt;br \/&gt;\n&quot;name&quot;: &quot;Group2&quot;&lt;br \/&gt;\n}&lt;br \/&gt;\n]&lt;\/code&gt;&lt;\/pre&gt;\"><div class=\"se-code-block-inner\"><div class=\"se-code-block-bar\"><div class=\"se-code-block__copy-btn se-btn_text se-btn se-btn_tert\"><div class=\"se-btn__icon-container\"><i class=\"se-btn__icon-fill copy\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M7.91602 14.1668C7.57227 14.1668 7.27799 14.0444 7.0332 13.7996C6.78841 13.5548 6.66602 13.2606 6.66602 12.9168V4.5835C6.66602 4.23975 6.78841 3.94548 7.0332 3.70068C7.27799 3.45589 7.57227 3.3335 7.91602 3.3335H14.5827C14.9264 3.3335 15.2207 3.45589 15.4655 3.70068C15.7103 3.94548 15.8327 4.23975 15.8327 4.5835V12.9168C15.8327 13.2606 15.7103 13.5548 15.4655 13.7996C15.2207 14.0444 14.9264 14.1668 14.5827 14.1668H7.91602ZM7.91602 12.9168H14.5827V4.5835H7.91602V12.9168ZM5.41602 16.6668C5.07227 16.6668 4.77799 16.5444 4.5332 16.2996C4.28841 16.0548 4.16602 15.7606 4.16602 15.4168V5.8335H5.41602V15.4168H13.3327V16.6668H5.41602Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><i class=\"se-btn__icon-fill check\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M8.10417 14.4375L4.0625 10.4167L5.125 9.33333L8.10417 12.3125L14.875 5.5625L15.9375 6.625L8.10417 14.4375Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><\/div>Copy<\/div><\/div><div class=\"se-code-block__content\"><pre><code>[<br \/>\n{<br \/>\n\"id\": \"123\",<br \/>\n\"name\": \"Group1\"<br \/>\n},<br \/>\n{<br \/>\n\"id\": \"456\",<br \/>\n\"name\": \"Group2\"<br \/>\n}<br \/>\n]<\/code><\/pre><\/div><\/div><\/div>\n<h2 id=\"anchor5\">\u041f\u0435\u0440\u0435\u043d\u043e\u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432 \u0433\u0440\u0443\u043f\u043f\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/h2>\n<h4>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/h4>\n<p>\u041c\u0435\u0442\u043e\u0434 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0438\u0437 \u043e\u0434\u043d\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432 \u0434\u0440\u0443\u0433\u0443\u044e.<\/p>\n<h4>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/h4>\n<table class=\"wp-block-table\">\n<tbody>\n<tr>\n<td>\u0418\u043c\u044f<\/td>\n<td>\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/td>\n<td>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/td>\n<\/tr>\n<tr>\n<td>site_ids<\/td>\n<td>\u0414\u0430<\/td>\n<td>\u041c\u0430\u0441\u0441\u0438\u0432 ID \u0441\u0430\u0439\u0442\u043e\u0432 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u0424\u043e\u0440\u043c\u0430\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/h4>\n<div class=\"se-code-block\" data-tooltip=\"&lt;pre&gt;&lt;code&gt;POST https:\/\/api4.seranking.com\/site-groups\/{group_id}\/sites&lt;br \/&gt;\n{&lt;br \/&gt;\n&quot;site_ids&quot; : [1,2,3,4,5]&lt;br \/&gt;\n}&lt;\/code&gt;&lt;\/pre&gt;\"><div class=\"se-code-block-inner\"><div class=\"se-code-block-bar\"><div class=\"se-code-block__copy-btn se-btn_text se-btn se-btn_tert\"><div class=\"se-btn__icon-container\"><i class=\"se-btn__icon-fill copy\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M7.91602 14.1668C7.57227 14.1668 7.27799 14.0444 7.0332 13.7996C6.78841 13.5548 6.66602 13.2606 6.66602 12.9168V4.5835C6.66602 4.23975 6.78841 3.94548 7.0332 3.70068C7.27799 3.45589 7.57227 3.3335 7.91602 3.3335H14.5827C14.9264 3.3335 15.2207 3.45589 15.4655 3.70068C15.7103 3.94548 15.8327 4.23975 15.8327 4.5835V12.9168C15.8327 13.2606 15.7103 13.5548 15.4655 13.7996C15.2207 14.0444 14.9264 14.1668 14.5827 14.1668H7.91602ZM7.91602 12.9168H14.5827V4.5835H7.91602V12.9168ZM5.41602 16.6668C5.07227 16.6668 4.77799 16.5444 4.5332 16.2996C4.28841 16.0548 4.16602 15.7606 4.16602 15.4168V5.8335H5.41602V15.4168H13.3327V16.6668H5.41602Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><i class=\"se-btn__icon-fill check\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M8.10417 14.4375L4.0625 10.4167L5.125 9.33333L8.10417 12.3125L14.875 5.5625L15.9375 6.625L8.10417 14.4375Z\" fill=\"#101423\"\/>\n<\/svg>\n<\/i><\/div>Copy<\/div><\/div><div class=\"se-code-block__content\"><pre><code>POST https:\/\/api4.seranking.com\/site-groups\/{group_id}\/sites<br \/>\n{<br \/>\n\"site_ids\" : [1,2,3,4,5]<br \/>\n}<\/code><\/pre><\/div><\/div><\/div>\n<h4>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h4>\n<p>\u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u043f\u0435\u0445\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 HTTP 204.<\/p>\n<h4>\u041e\u0448\u0438\u0431\u043a\u0438<\/h4>\n<table class=\"wp-block-table\">\n<tbody>\n<tr>\n<td>HTTP-\u043a\u043e\u0434<\/td>\n<td>\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435<\/td>\n<\/tr>\n<tr>\n<td>404<\/td>\n<td>Group not found<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u041c\u0435\u0442\u043e\u0434 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u0424\u043e\u0440\u043c\u0430\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0418\u043c\u044f \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 name \u0414\u0430 \u0418\u043c\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u043f\u0435\u0445\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u0435\u0440\u043d\u0435\u0442 HTTP 201 \u0438 ID \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432. \u0418\u043c\u044f \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 group_id \u0414\u0430 ID \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u041f\u0440\u0438\u043c\u0435\u0440 \u043e\u0442\u0432\u0435\u0442\u0430 \u041e\u0448\u0438\u0431\u043a\u0438 HTTP-\u043a\u043e\u0434 \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 400 Empty name [&hellip;]<\/p>\n","protected":false},"author":154,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"post-templates\/single-api.php","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3586","post","type-post","status-publish","format-standard","hentry","category-category-nocategorized"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442 SE Ranking<\/title>\n<meta name=\"description\" content=\"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0430\u043d\u043d\u044b\u043c \u043e\u043d\u043b\u0430\u0439\u043d-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 SE Ranking \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442 SE Ranking.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/seranking.com\/ru\/api-project-groups.html\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442 SE Ranking\" \/>\n<meta property=\"og:description\" content=\"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0430\u043d\u043d\u044b\u043c \u043e\u043d\u043b\u0430\u0439\u043d-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 SE Ranking \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442 SE Ranking.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/seranking.com\/ru\/api-project-groups.html\" \/>\n<meta property=\"og:site_name\" content=\"SE Ranking Russia\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-22T10:06:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-30T13:05:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/seranking.com\/ru\/wp-content\/uploads\/sites\/28\/2024\/09\/1200\u0445675.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442 SE Ranking","description":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0430\u043d\u043d\u044b\u043c \u043e\u043d\u043b\u0430\u0439\u043d-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 SE Ranking \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442 SE Ranking.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/seranking.com\/ru\/api-project-groups.html","og_locale":"ru_RU","og_type":"article","og_title":"API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442 SE Ranking","og_description":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0430\u043d\u043d\u044b\u043c \u043e\u043d\u043b\u0430\u0439\u043d-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 SE Ranking \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442 SE Ranking.","og_url":"https:\/\/seranking.com\/ru\/api-project-groups.html","og_site_name":"SE Ranking Russia","article_published_time":"2019-07-22T10:06:28+00:00","article_modified_time":"2022-03-30T13:05:36+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/seranking.com\/ru\/wp-content\/uploads\/sites\/28\/2024\/09\/1200\u0445675.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/seranking.com\/ru\/api-project-groups.html","url":"https:\/\/seranking.com\/ru\/api-project-groups.html","name":"API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442 SE Ranking","isPartOf":{"@id":"https:\/\/seranking.com\/ru\/#website"},"datePublished":"2019-07-22T10:06:28+00:00","dateModified":"2022-03-30T13:05:36+00:00","author":{"@id":""},"description":"\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0430\u043d\u043d\u044b\u043c \u043e\u043d\u043b\u0430\u0439\u043d-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 SE Ranking \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043e\u0442 SE Ranking.","breadcrumb":{"@id":"https:\/\/seranking.com\/ru\/api-project-groups.html#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/seranking.com\/ru\/api-project-groups.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/seranking.com\/ru\/api-project-groups.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f","item":"https:\/\/seranking.com\/ru\/"},{"@type":"ListItem","position":2,"name":"API \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u043f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432"}]},{"@type":"WebSite","@id":"https:\/\/seranking.com\/ru\/#website","url":"https:\/\/seranking.com\/ru\/","name":"SE Ranking Russia","description":"\u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0434\u043b\u044f SEO \u043f\u0440\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u0441\u0430\u0439\u0442\u0430, PPC \u0438 SMM. \u0428\u0438\u0440\u043e\u043a\u0438\u0439 \u0432\u044b\u0431\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u043e\u043d\u043b\u0430\u0439\u043d-\u043c\u0430\u0440\u043a\u0435\u0442\u0438\u043d\u0433\u0430. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0438 \u0412\u044b!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/seranking.com\/ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Person","@id":""}]}},"_links":{"self":[{"href":"https:\/\/seranking.com\/ru\/wp-json\/wp\/v2\/posts\/3586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seranking.com\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/seranking.com\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/seranking.com\/ru\/wp-json\/wp\/v2\/users\/154"}],"replies":[{"embeddable":true,"href":"https:\/\/seranking.com\/ru\/wp-json\/wp\/v2\/comments?post=3586"}],"version-history":[{"count":0,"href":"https:\/\/seranking.com\/ru\/wp-json\/wp\/v2\/posts\/3586\/revisions"}],"wp:attachment":[{"href":"https:\/\/seranking.com\/ru\/wp-json\/wp\/v2\/media?parent=3586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/seranking.com\/ru\/wp-json\/wp\/v2\/categories?post=3586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/seranking.com\/ru\/wp-json\/wp\/v2\/tags?post=3586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}