<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://wiki.smartplayer.org/index.php?action=history&amp;feed=atom&amp;title=Translations%3A%D0%9F%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BA_%D0%B2%D0%BD%D0%B5%D1%88%D0%BD%D0%B5%D0%BC%D1%83_REST_API%2F1%2Fen</id>
	<title>Translations:Подключение к внешнему REST API/1/en - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.smartplayer.org/index.php?action=history&amp;feed=atom&amp;title=Translations%3A%D0%9F%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BA_%D0%B2%D0%BD%D0%B5%D1%88%D0%BD%D0%B5%D0%BC%D1%83_REST_API%2F1%2Fen"/>
	<link rel="alternate" type="text/html" href="https://wiki.smartplayer.org/index.php?title=Translations:%D0%9F%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BA_%D0%B2%D0%BD%D0%B5%D1%88%D0%BD%D0%B5%D0%BC%D1%83_REST_API/1/en&amp;action=history"/>
	<updated>2026-04-29T03:36:06Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.smartplayer.org/index.php?title=Translations:%D0%9F%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BA_%D0%B2%D0%BD%D0%B5%D1%88%D0%BD%D0%B5%D0%BC%D1%83_REST_API/1/en&amp;diff=19644&amp;oldid=prev</id>
		<title>N.Bloshkin: Новая страница: «== &#039;&#039;&#039;Description of the Situation&#039;&#039;&#039; == For users who want to connect via REST API, it is recommended to use our dedicated resource. On this resource, the user can test methods and requests that allow connection and data retrieval from the SmartPlayer platform. {{Note|&#039;&#039;&#039;The REST API portal is available [https://restapi.smartplayer.org/ here]. You can request authorization credentials (login and password) by contacting us via the [https://smartplayer.ru/ po...»</title>
		<link rel="alternate" type="text/html" href="https://wiki.smartplayer.org/index.php?title=Translations:%D0%9F%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5_%D0%BA_%D0%B2%D0%BD%D0%B5%D1%88%D0%BD%D0%B5%D0%BC%D1%83_REST_API/1/en&amp;diff=19644&amp;oldid=prev"/>
		<updated>2026-04-26T19:49:31Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «== &amp;#039;&amp;#039;&amp;#039;Description of the Situation&amp;#039;&amp;#039;&amp;#039; == For users who want to connect via REST API, it is recommended to use our dedicated resource. On this resource, the user can test methods and requests that allow connection and data retrieval from the SmartPlayer platform. {{Note|&amp;#039;&amp;#039;&amp;#039;The REST API portal is available [https://restapi.smartplayer.org/ here]. You can request authorization credentials (login and password) by contacting us via the [https://smartplayer.ru/ po...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== &amp;#039;&amp;#039;&amp;#039;Description of the Situation&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
For users who want to connect via REST API, it is recommended to use our dedicated resource. On this resource, the user can test methods and requests that allow connection and data retrieval from the SmartPlayer platform.&lt;br /&gt;
{{Note|&amp;#039;&amp;#039;&amp;#039;The REST API portal is available [https://restapi.smartplayer.org/ here]. You can request authorization credentials (login and password) by contacting us via the [https://smartplayer.ru/ portal] or your assigned SmartPlayer specialist. You can also write to this [https://smartplayer.atlassian.net/servicedesk/customer/portal/1 email].&amp;#039;&amp;#039;&amp;#039; |warn}}&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Portal Operation&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
This section is built on the Swagger Plugin and allows not only to ознакомиться with connection information for REST API, but also to test described methods and receive real results. Advanced users can also test these methods using Postman.&lt;br /&gt;
{{Note|&amp;#039;&amp;#039;&amp;#039;Some methods described on the portal may not work correctly. The SmartPlayer team is aware of these issues and is working on fixing them.&amp;#039;&amp;#039;&amp;#039;|warn}}&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Usage Scenario&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
It is assumed that interaction with the portal will follow a specific sequence. Usage scenario:&lt;br /&gt;
# Authorization on the portal.&lt;br /&gt;
# Selecting the required server for testing requests.&lt;br /&gt;
# Obtaining a token to use the &amp;quot;Authorize&amp;quot; button.&lt;br /&gt;
# Selecting the required method and reviewing its information. &lt;br /&gt;
# Sending a request using the &amp;quot;Try it out&amp;quot; button.&lt;br /&gt;
# Receiving and reviewing the server response.&lt;br /&gt;
# Studying the &amp;quot;Schemas&amp;quot; section.&lt;br /&gt;
{{Note|Details are provided below on the page.|warn}}&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Information on the Portal&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
After authorization, the user will see the main page displaying the following information:&lt;br /&gt;
[[File:Стартовая_страница_портала.png|thumb|center| Example of the REST API portal main page |800px]]&lt;br /&gt;
The portal page includes information about:&lt;br /&gt;
* contact information for interacting with the SmartPlayer team;&lt;br /&gt;
* list of available servers for testing;&lt;br /&gt;
* &amp;quot;Authorize&amp;quot; button (details below);&lt;br /&gt;
* list of methods;&lt;br /&gt;
* &amp;quot;Schemas&amp;quot; section (scroll to the bottom of the page).&lt;br /&gt;
[[File:Разделение_страницы в апи.png|thumb|center| Example of portal page structure|800px]]&lt;br /&gt;
[[File:Раздел_schemas.png|thumb|center| Example of the &amp;quot;Schemas&amp;quot; section at the bottom |800px]]&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Server Selection&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
To test requests, the user must select one of the available servers. Each server is displayed as: &amp;quot;name&amp;quot; + &amp;quot;short description&amp;quot; (in English).&lt;br /&gt;
[[File:Списко_серверов.png|thumb|center| Example of available servers |800px]]&lt;br /&gt;
{{Note|The server list is not final. Users can connect manually via Postman to any server in the list or use other SmartPlayer servers such as &amp;quot;rc.smartplayer.org&amp;quot;.|warn}}&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;&amp;quot;Authorize&amp;quot; Button&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
Clicking the &amp;quot;Authorize&amp;quot; button opens a modal window where the user must enter a bearer token. Instructions for obtaining the token are provided via a link in the window.&lt;br /&gt;
[[File:Модальное окно для токенов.png|thumb|center| Example of authorization modal window |800px]]&lt;br /&gt;
After entering the token, click &amp;quot;Close&amp;quot;. The authorization icon will change (lock icon will be closed and highlighted).&lt;br /&gt;
[[File:Иконка_авторизации.png|thumb|center| Example of authorization icon change |800px]]&lt;br /&gt;
{{Note|Hovering over the authorization icon will display an additional icon to copy the request to the clipboard.&lt;br /&gt;
[[File:Копировать_в_буфер_обмена.png|thumb|center| Example of copy-to-clipboard icon |800px]] |warn}}&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Methods Information&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;border:1px solid #aaa; padding:8px; background:#f9f9f9;&amp;quot;&amp;gt;&lt;br /&gt;
Currently, the portal provides two types of methods:&lt;br /&gt;
# GET — used to retrieve data. Parameters are passed via URL. Safe (idempotent) and cacheable. &lt;br /&gt;
# POST — sends data in the request body. Used to create or modify resources. Suitable for sensitive data.&lt;br /&gt;
[[File:Пример_методов.png|thumb|center| Example of GET and POST methods |800px]]&lt;br /&gt;
Each method has an endpoint specified after the method name and highlighted in bold.&lt;br /&gt;
[[File:Конечная_точка.png|thumb|center| Example of endpoint display|800px]]&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Interaction with Methods&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
The list of methods allows users to test connections and retrieve sample data. A successful request returns method data and allows analysis of SmartPlayer behavior.&lt;br /&gt;
=== &amp;#039;&amp;#039;&amp;#039;Method Areas&amp;#039;&amp;#039;&amp;#039; ===&lt;br /&gt;
Methods are grouped by system areas:&lt;br /&gt;
* Authorization;&lt;br /&gt;
* Broadcast;&lt;br /&gt;
* Content;&lt;br /&gt;
* Notifications;&lt;br /&gt;
* IP-TV;&lt;br /&gt;
* User;&lt;br /&gt;
* Settings;&lt;br /&gt;
* Schedule;&lt;br /&gt;
* Devices&lt;br /&gt;
[[File:Список_методов.png|thumb|center| Example of method list |800px]]&lt;br /&gt;
{{Note|Each method includes a short English description.&lt;br /&gt;
[[File:Краткое_описание_метода.png|thumb|center| Example of method description|800px]]|warn}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>N.Bloshkin</name></author>
	</entry>
</feed>