All URIs are relative to https://api.dtf.ru/v1.6
Method | HTTP request | Description |
---|---|---|
FavoriteAdd | POST /user/me/favorites | |
FavoriteRemove | POST /user/me/favorites/remove | |
GetUser | GET /user/{id} | |
GetUserComments | GET /user/{id}/comments | |
GetUserEntries | GET /user/{id}/entries | |
GetUserFavoritesComments | GET /user/{id}/favorites/comments | |
GetUserFavoritesEntries | GET /user/{id}/favorites/entries | |
GetUserFavoritesVacancies | GET /user/{id}/favorites/vacancies | |
GetUserMe | GET /user/me | |
GetUserMeComments | GET /user/me/comments | |
GetUserMeEntries | GET /user/me/entries | |
GetUserMeFavoritesComments | GET /user/me/favorites/comments | |
GetUserMeFavoritesEntries | GET /user/me/favorites/entries | |
GetUserMeFavoritesVacancies | GET /user/me/favorites/vacancies | |
GetUserMeSubscriptionsRecommended | GET /user/me/subscriptions/recommended | |
GetUserMeSubscriptionsSubscribed | GET /user/me/subscriptions/subscribed | |
GetUserMeTuneCatalog | GET /user/me/tunecatalog | |
GetUserMeUpdates | GET /user/me/updates | |
GetUserMeUpdatesCount | GET /user/me/updates/count | |
UserMeTuneCatalog | POST /user/me/tunecatalog | |
UserMeUpdatesRead | POST /user/me/updates/read | |
UserMeUpdatesReadId | POST /user/me/updates/read/{id} |
InlineResponse20017 FavoriteAdd (Object id, Object type)
Добавить в избранное
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class FavoriteAddExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
var id = 8.14; // Object | Id элемента (optional)
var type = 789; // Object | Тип элемента. 1 - ENTRY, 2 - COMMENT (optional)
try
{
InlineResponse20017 result = apiInstance.FavoriteAdd(id, type);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.FavoriteAdd: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Object | Id элемента | [optional] |
type | Object | Тип элемента. 1 - ENTRY, 2 - COMMENT | [optional] |
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20017 FavoriteRemove (Object id, Object type)
Удалить из избранного
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class FavoriteRemoveExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
var id = 8.14; // Object | Id элемента (optional)
var type = 789; // Object | Тип элемента. 1 - ENTRY, 2 - COMMENT (optional)
try
{
InlineResponse20017 result = apiInstance.FavoriteRemove(id, type);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.FavoriteRemove: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Object | Id элемента | [optional] |
type | Object | Тип элемента. 1 - ENTRY, 2 - COMMENT | [optional] |
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20012 GetUser (int? id)
Получить информацию о пользователе
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserExample
{
public void main()
{
var apiInstance = new UserApi();
var id = 56; // int? |
try
{
InlineResponse20012 result = apiInstance.GetUser(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUser: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | int? |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2003 GetUserComments (Object id, long? count, long? offset)
Получить комментарии пользователя
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserCommentsExample
{
public void main()
{
var apiInstance = new UserApi();
var id = 8.14; // Object |
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse2003 result = apiInstance.GetUserComments(id, count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserComments: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Object | ||
count | long? | [optional] | |
offset | long? | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2001 GetUserEntries (Object id, long? count, long? offset)
Получить записи пользователя
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserEntriesExample
{
public void main()
{
var apiInstance = new UserApi();
var id = 8.14; // Object |
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse2001 result = apiInstance.GetUserEntries(id, count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserEntries: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Object | ||
count | long? | [optional] | |
offset | long? | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2003 GetUserFavoritesComments (Object id, long? count, long? offset)
Получить избранные комментарии пользователя
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserFavoritesCommentsExample
{
public void main()
{
var apiInstance = new UserApi();
var id = 8.14; // Object |
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse2003 result = apiInstance.GetUserFavoritesComments(id, count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserFavoritesComments: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Object | ||
count | long? | [optional] | |
offset | long? | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2001 GetUserFavoritesEntries (Object id, long? count, long? offset)
Получить избранные записи пользователя
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserFavoritesEntriesExample
{
public void main()
{
var apiInstance = new UserApi();
var id = 8.14; // Object |
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse2001 result = apiInstance.GetUserFavoritesEntries(id, count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserFavoritesEntries: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Object | ||
count | long? | [optional] | |
offset | long? | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20015 GetUserFavoritesVacancies (Object id, long? count, long? offset)
Получить избранные вакансии пользователя
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserFavoritesVacanciesExample
{
public void main()
{
var apiInstance = new UserApi();
var id = 8.14; // Object |
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse20015 result = apiInstance.GetUserFavoritesVacancies(id, count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserFavoritesVacancies: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | Object | ||
count | long? | [optional] | |
offset | long? | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20012 GetUserMe ()
Получить информацию о текущем пользователе
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserMeExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
try
{
InlineResponse20012 result = apiInstance.GetUserMe();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserMe: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2003 GetUserMeComments (long? count, long? offset)
Получить комментарии текущего пользователя
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserMeCommentsExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse2003 result = apiInstance.GetUserMeComments(count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserMeComments: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
count | long? | [optional] | |
offset | long? | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2001 GetUserMeEntries (long? count, long? offset)
Получить записи текущего пользователя
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserMeEntriesExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse2001 result = apiInstance.GetUserMeEntries(count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserMeEntries: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
count | long? | [optional] | |
offset | long? | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2003 GetUserMeFavoritesComments (long? count, long? offset)
Получить избранные комментарии текущего пользователя
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserMeFavoritesCommentsExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse2003 result = apiInstance.GetUserMeFavoritesComments(count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserMeFavoritesComments: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
count | long? | [optional] | |
offset | long? | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2001 GetUserMeFavoritesEntries (long? count, long? offset)
Получить избранные записи текущего пользователя
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserMeFavoritesEntriesExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse2001 result = apiInstance.GetUserMeFavoritesEntries(count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserMeFavoritesEntries: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
count | long? | [optional] | |
offset | long? | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20015 GetUserMeFavoritesVacancies (long? count, long? offset)
Получить вакансии текущего пользователя
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserMeFavoritesVacanciesExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
var count = 789; // long? | (optional)
var offset = 789; // long? | (optional)
try
{
InlineResponse20015 result = apiInstance.GetUserMeFavoritesVacancies(count, offset);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserMeFavoritesVacancies: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
count | long? | [optional] | |
offset | long? | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20016 GetUserMeSubscriptionsRecommended ()
Получить рекомендуемые подсайты
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserMeSubscriptionsRecommendedExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
try
{
InlineResponse20016 result = apiInstance.GetUserMeSubscriptionsRecommended();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserMeSubscriptionsRecommended: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20016 GetUserMeSubscriptionsSubscribed ()
Получить подсайты, на которые пользователь подписан
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserMeSubscriptionsSubscribedExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
try
{
InlineResponse20016 result = apiInstance.GetUserMeSubscriptionsSubscribed();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserMeSubscriptionsSubscribed: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20016 GetUserMeTuneCatalog ()
Получить список подсайтов для экрана настройки подсайтов
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserMeTuneCatalogExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
try
{
InlineResponse20016 result = apiInstance.GetUserMeTuneCatalog();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserMeTuneCatalog: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20013 GetUserMeUpdates (long? isRead, long? lastId)
Получить список уведомлений
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserMeUpdatesExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
var isRead = 789; // long? | Если равен 1, то все уведомления считаются прочитанными (optional) (default to 1)
var lastId = 789; // long? | Указывает, начиная с какого уведомления загружать список уведомлений (optional)
try
{
InlineResponse20013 result = apiInstance.GetUserMeUpdates(isRead, lastId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserMeUpdates: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
isRead | long? | Если равен 1, то все уведомления считаются прочитанными | [optional] [default to 1] |
lastId | long? | Указывает, начиная с какого уведомления загружать список уведомлений | [optional] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20014 GetUserMeUpdatesCount ()
Получить количество непрочитанных уведомлений у текущего пользователя
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class GetUserMeUpdatesCountExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
try
{
InlineResponse20014 result = apiInstance.GetUserMeUpdatesCount();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.GetUserMeUpdatesCount: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20011 UserMeTuneCatalog ()
Создать запись
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class UserMeTuneCatalogExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
try
{
InlineResponse20011 result = apiInstance.UserMeTuneCatalog();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.UserMeTuneCatalog: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20013 UserMeUpdatesRead (string ids)
Сделать уведомления прочитанными
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class UserMeUpdatesReadExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
var ids = ids_example; // string | Список Id через запятую (optional)
try
{
InlineResponse20013 result = apiInstance.UserMeUpdatesRead(ids);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.UserMeUpdatesRead: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
ids | string | Список Id через запятую | [optional] |
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse20013 UserMeUpdatesReadId (long? id)
Сделать уведомление прочитанным
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class UserMeUpdatesReadIdExample
{
public void main()
{
// Configure API key authorization: XDeviceToken
Configuration.Default.ApiKey.Add("X-Device-Token", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Configuration.Default.ApiKeyPrefix.Add("X-Device-Token", "Bearer");
var apiInstance = new UserApi();
var id = 789; // long? |
try
{
InlineResponse20013 result = apiInstance.UserMeUpdatesReadId(id);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UserApi.UserMeUpdatesReadId: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | long? |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]