Получение ключей через API в личном кабинете/en: различия между версиями
Новая страница: «Getting API Keys via the Personal Account» |
Новая страница: «== '''Description of the Situation''' == The SmartPlayer platform has added a feature that allows users to request an API key for integration through the personal account. This page explains how to correctly use this solution. {{Note|To create an API key, the user must have the “Administrator” role.|warn}} == '''Action Algorithm''' == To request an API key, the user must log in or register on the SmartPlayer platform.<br> Next, the user should scroll dow...» |
||
| Строка 1: | Строка 1: | ||
== '''Description of the Situation''' == | |||
== ''' | The SmartPlayer platform has added a feature that allows users to request an API key for integration through the personal account. This page explains how to correctly use this solution. | ||
{{Note|To create an API key, the user must have the “Administrator” role.|warn}} | |||
{{Note| | == '''Action Algorithm''' == | ||
== ''' | To request an API key, the user must log in or register on the SmartPlayer platform.<br> | ||
Next, the user should scroll down the main page and go to the “Settings” section. | |||
[[File:Настройки раздел лк.png|thumb|center| Example of the “Settings” section in the personal account |800px]] | |||
[[File:Настройки раздел лк.png|thumb|center| | In the “Settings” section, the user must also scroll down and find the “For Developers” category and click on it. | ||
[[File:Для разработчиков в настройки.png|thumb|center| Example of the “For Developers” category display |800px]] | |||
[[File:Для разработчиков в настройки.png|thumb|center| | In the expanded window, the user needs to click the “Open” button in the upper left part of the screen to open the page with parameters for creating an API key. | ||
[[File:Кнопка_открыть.png|thumb|center| Example of the “Open” button |800px]] | |||
[[File:Кнопка_открыть.png|thumb|center| | == '''API Key Creation Page''' == | ||
== ''' | After opening the new page, the user will see a table with fields and two buttons: “Delete all keys” and “Create key” in the upper right corner. | ||
[[File:Кнопка_открыть.png|thumb|center| Example of the API key creation page |800px]] | |||
[[File:Кнопка_открыть.png|thumb|center| | The API key creation page includes the following elements: | ||
* “Delete all keys” button — allows you to delete all created API keys at once. To complete the process, confirmation in a modal window is required; | |||
* | * “Create key” button — opens the modal window for API key creation. To complete the process, fields must be filled and the key created; | ||
* | * Selection checkbox — allows multiple API keys to be selected for batch actions; | ||
* | * Key name — the field where the key's name is displayed; | ||
* | * Key — the field where the user can see the last 4 characters of the API key; | ||
* | * Creation date — the field displaying the API key creation date; | ||
* | * Expiration date — the field displaying the date after which the API key becomes invalid; | ||
* | * Last used — the field displaying the date the API key was last used for connection; | ||
* | * “Delete” icon (trash can) — button to delete selected API keys. | ||
* | [[File:Созданный_апиключ.png|thumb|center| Example of the page with filled-in fields |800px]] | ||
[[File:Созданный_апиключ.png|thumb|center| | === '''Creating an API Key''' === | ||
=== ''' | After clicking the “Create key” button, the user will see a modal window. | ||
[[File:Созданный_апиключ.png|thumb|center| Example of the modal window for API key creation |800px]] | |||
[[File:Созданный_апиключ.png|thumb|center| | In the window, the user must: | ||
# Come up with a name for the API key. | |||
# | # Select its expiration date using the calendar. | ||
# | [[File:Создание_ключа.png|thumb|center| Example of filling out API key creation parameters |800px]] | ||
[[File:Создание_ключа.png|thumb|center| | Then the user must copy the key using the special icon (highlighted in the screenshot) and check the “I have copied the key” box. This step is mandatory to complete the process — otherwise the system will not allow further actions. | ||
[[File:Завершение_создания_ключа.png|thumb|center| Example of the API key creation process |800px]] | |||
[[File:Завершение_создания_ключа.png|thumb|center| | {{Note|It is recommended to read the description of the created key. | ||
{{Note| | [[File:Примечание_описание.png|thumb|center| Example of a note display |800px]]|warn}} | ||
[[File:Примечание_описание.png|thumb|center| | == '''Feature Details''' == | ||
== ''' | This feature includes a set of specific characteristics: | ||
* It is not allowed to use the same name for multiple API keys; | |||
* | * The lifespan of one API key is 1 year; | ||
* | * Each created API key is unique; | ||
* | * After creating an API key, it must be copied. If the user does not copy the key and leaves the API key creation page, it will no longer be possible to retrieve or copy it; | ||
* | * The API key inherits and passes along the set of permissions of the user who created it. | ||
* API | == '''Video Tutorial''' == | ||
== ''' | [https://vk.com/video-227547238_456239078 Getting API Keys via the Personal Account] | ||
[https://vk.com/video-227547238_456239078 | == '''Additional Information''' == | ||
== ''' | If this article does not help you use the feature as intended or you still have questions after reading it, you can ask them in the “Discussions” section at the top of the page. | ||
[[File:Обсуждение_апи-ключ.png|thumb|center| Example of the “Discussions” tab on a wiki page |800px]] | |||
[[File:Обсуждение_апи-ключ.png|thumb|center| | You can also find more information on the page [[Как взаимодействовать пользователю с разделом "Обсуждения"]] | ||
Текущая версия от 10:52, 13 июня 2025
Description of the Situation
The SmartPlayer platform has added a feature that allows users to request an API key for integration through the personal account. This page explains how to correctly use this solution.
Action Algorithm
To request an API key, the user must log in or register on the SmartPlayer platform.
Next, the user should scroll down the main page and go to the “Settings” section.

In the “Settings” section, the user must also scroll down and find the “For Developers” category and click on it.

In the expanded window, the user needs to click the “Open” button in the upper left part of the screen to open the page with parameters for creating an API key.

API Key Creation Page
After opening the new page, the user will see a table with fields and two buttons: “Delete all keys” and “Create key” in the upper right corner.

The API key creation page includes the following elements:
- “Delete all keys” button — allows you to delete all created API keys at once. To complete the process, confirmation in a modal window is required;
- “Create key” button — opens the modal window for API key creation. To complete the process, fields must be filled and the key created;
- Selection checkbox — allows multiple API keys to be selected for batch actions;
- Key name — the field where the key's name is displayed;
- Key — the field where the user can see the last 4 characters of the API key;
- Creation date — the field displaying the API key creation date;
- Expiration date — the field displaying the date after which the API key becomes invalid;
- Last used — the field displaying the date the API key was last used for connection;
- “Delete” icon (trash can) — button to delete selected API keys.

Creating an API Key
After clicking the “Create key” button, the user will see a modal window.

In the window, the user must:
- Come up with a name for the API key.
- Select its expiration date using the calendar.

Then the user must copy the key using the special icon (highlighted in the screenshot) and check the “I have copied the key” box. This step is mandatory to complete the process — otherwise the system will not allow further actions.

Feature Details
This feature includes a set of specific characteristics:
- It is not allowed to use the same name for multiple API keys;
- The lifespan of one API key is 1 year;
- Each created API key is unique;
- After creating an API key, it must be copied. If the user does not copy the key and leaves the API key creation page, it will no longer be possible to retrieve or copy it;
- The API key inherits and passes along the set of permissions of the user who created it.
Video Tutorial
Getting API Keys via the Personal Account
Additional Information
If this article does not help you use the feature as intended or you still have questions after reading it, you can ask them in the “Discussions” section at the top of the page.

You can also find more information on the page Как взаимодействовать пользователю с разделом "Обсуждения"
