This service is used for mapping between users and phone numbers. It supports the following private API calls:
-
URL
/rpc/subscription/subscription/add
-
Method
POST
-
Data Params
Required
actorId [string] - Actor id
phoneNumber [string] - Phone number
-
Success Response
- Code: 200
ContentsubscriptionId [number] - Subscription id
actorId [string] - Actor id
phoneNumber [string] - Phone number
- Code: 200
-
URL
/rpc/subscription/subscription/get
-
Method
POST
-
Data Params
Optional
actorId [string] - Actor id
phoneNumber [string] - Phone number
-
Success Response
- Code: 200
ContentactorId [string] - Actor id
phoneNumber [string] - Phone number
- Code: 200
-
URL
/rpc/subscription/subscription/remove
-
Method
POST
-
Data Params
Optional
subscriptionId [number] - Subscription id
-
Success Response
- Code: 200
ContentsubscriptionId [number] - Subscription id
- Code: 200