UNA
|
Private API, which uses secure token for communication, token can be retrived via API Public
Delete page with all blocks
Scopes: api
HTTP Method: POST
Request params:
uri
- page URIRequest header:
Response (success):
Response (error):
Change account password
Scopes: api
HTTP Method: POST
Request params:
password
- new passwordRequest header:
Response (success):
Response (error):
Switch account active profile
Scopes: api
HTTP Method: POST
Request params:
profile_id
- profile idRequest header:
Response (success):
Response (error):
Provides information about current profile.
Scopes: basic
, service
, market
HTTP Method: GET
Request header:
Response (success):
Response (error):
Provides information about particular profile profile.
Parameters:
id
- profile IDEverything else is equivalent to /m/oauth2/api/me
Get list of friends.
Scopes: basic
, service
, market
HTTP Method: GET
Parameters:
id
- profile IDRequest header:
Response (success):
Response (error):
Market service call.
Scopes: market
, service
Everything is equivalent to /m/oauth2/api/service, only module name parameter can be ommited
Perform system call. For a list of avalibale service calls and their parameters refer to Service Calls page.
URL should look like this in case of service API call:
Scopes: service
HTTP Method: GET
, POST
Parameters:
module
- module name to perform service call inmethod
- service call methodparams
- parameters arrayclass
- custom module name if different from main module classRequest header:
Response (success): Depends on particular service call
Response (error): Error responce is described in particular service method. In case of general error (for example when service call isn't found, or error with token), the format is following: