Skip to content
Alex Trofimov edited this page May 31, 2017 · 27 revisions

UNA provides API access to the certain functionality.
API is a part of OAuth2 module, so this module must be installed to make API calls. After user is logged or joined in via OAuth2, API calls can be performed. There are several scopes which allows access to the certain endpoints:

  • basic - provides acces to me, user, friends endpoints and usually used to join user to another site via OAuth2 login/join.
  • market - provides acceess to me, market endpoints and usually used to get access to the market via UNA Studio.
  • service - provides access to service endpoint which can be used to call service methods for different purposes. This endpoint provides access to direct calls of service function and can not be considered as safe.

When key&secret pair is generated by default basic scope is assigned, there is no way to change it via interface, so for more advanced market and service scopes it should be edited directly in the database in bx_oauth_clients table, scope field.

Clone this wiki locally