-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
vkcom
authored and
Ruslan Kalinov
committed
Sep 28, 2022
1 parent
da39986
commit 748a5e3
Showing
136 changed files
with
49,321 additions
and
48,440 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"title": "responses", | ||
"definitions": { | ||
"account_changePassword_response": { | ||
"type": "object", | ||
"properties": { | ||
"response": { | ||
"type": "object", | ||
"properties": { | ||
"token": { | ||
"type": "string", | ||
"description": "New token", | ||
"required": true | ||
}, | ||
"secret": { | ||
"type": "string", | ||
"description": "New secret" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"account_getActiveOffers_response": { | ||
"type": "object", | ||
"properties": { | ||
"response": { | ||
"type": "object", | ||
"properties": { | ||
"count": { | ||
"type": "integer", | ||
"description": "Total number", | ||
"required": true | ||
}, | ||
"items": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../account/objects.json#/definitions/account_offer" | ||
}, | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"account_getAppPermissions_response": { | ||
"type": "object", | ||
"properties": { | ||
"response": { | ||
"type": "integer", | ||
"description": "Permissions mask", | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"account_getBanned_response": { | ||
"type": "object", | ||
"properties": { | ||
"response": { | ||
"type": "object", | ||
"properties": { | ||
"count": { | ||
"type": "integer", | ||
"description": "Total number", | ||
"required": true | ||
}, | ||
"items": { | ||
"type": "array", | ||
"items": { | ||
"entity": "owner", | ||
"format": "int64", | ||
"type": "integer" | ||
}, | ||
"required": true | ||
}, | ||
"profiles": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../users/objects.json#/definitions/users_user_full" | ||
} | ||
}, | ||
"groups": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "../groups/objects.json#/definitions/groups_group" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"account_getCounters_response": { | ||
"type": "object", | ||
"properties": { | ||
"response": { | ||
"$ref": "../account/objects.json#/definitions/account_account_counters", | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"account_getInfo_response": { | ||
"type": "object", | ||
"properties": { | ||
"response": { | ||
"$ref": "../account/objects.json#/definitions/account_info", | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"account_getProfileInfo_response": { | ||
"type": "object", | ||
"properties": { | ||
"response": { | ||
"$ref": "../account/objects.json#/definitions/account_user_settings", | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"account_getPushSettings_response": { | ||
"type": "object", | ||
"properties": { | ||
"response": { | ||
"$ref": "../account/objects.json#/definitions/account_push_settings", | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"account_saveProfileInfo_response": { | ||
"type": "object", | ||
"properties": { | ||
"response": { | ||
"type": "object", | ||
"properties": { | ||
"changed": { | ||
"description": "1 if changes has been processed", | ||
"$ref": "../base/objects.json#/definitions/base_bool_int", | ||
"required": true | ||
}, | ||
"name_request": { | ||
"$ref": "../account/objects.json#/definitions/account_name_request" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": true | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "objects", | ||
"definitions": { | ||
"addresses_fields": { | ||
"type": "string", | ||
"enum": [ | ||
"id", | ||
"title", | ||
"address", | ||
"additional_address", | ||
"country_id", | ||
"city_id", | ||
"metro_station_id", | ||
"latitude", | ||
"longitude", | ||
"distance", | ||
"work_info_status", | ||
"timetable", | ||
"phone", | ||
"time_offset" | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.