Added google androidpublisher/v3 api to verify google purchase tokens

This commit is contained in:
2022-11-25 22:42:21 +01:00
parent 6d80638cf8
commit 3a0c65a849
18 changed files with 608 additions and 163 deletions

View File

@@ -213,7 +213,7 @@
}
},
"/api/db-test": {
"get": {
"post": {
"tags": [
"Common"
],
@@ -1013,7 +1013,7 @@
}
}
},
"/api/users/": {
"/api/users": {
"post": {
"tags": [
"API-v2"
@@ -2366,12 +2366,6 @@
},
"handler.CreateUser.body": {
"type": "object",
"required": [
"agent_model",
"agent_version",
"client_type",
"fcm_token"
],
"properties": {
"agent_model": {
"type": "string"
@@ -2385,6 +2379,9 @@
"fcm_token": {
"type": "string"
},
"no_client": {
"type": "boolean"
},
"pro_token": {
"type": "string"
},

View File

@@ -71,15 +71,12 @@ definitions:
type: string
fcm_token:
type: string
no_client:
type: boolean
pro_token:
type: string
username:
type: string
required:
- agent_model
- agent_version
- client_type
- fcm_token
type: object
handler.DatabaseTest.response:
properties:
@@ -615,7 +612,7 @@ paths:
tags:
- API-v1
/api/db-test:
get:
post:
operationId: api-common-dbtest
responses:
"200":
@@ -1162,7 +1159,7 @@ paths:
summary: Upgrade a free account to a paid account
tags:
- API-v1
/api/users/:
/api/users:
post:
operationId: api-user-create
parameters: