vkcom / vk-api-schema
VK API JSON Schema
Installs: 687
Dependents: 6
Suggesters: 0
Security: 0
Stars: 208
Watchers: 32
Forks: 64
Open Issues: 44
Language:Shell
- dev-master
- v5.199.63
- v5.199.26
- v5.131.148
- v5.131.146
- v5.131.141
- v5.131.134
- v5.131.133
- v5.131.132
- v5.131.131
- v5.131.129
- v5.131.123
- v5.131.119
- v5.131.118
- v5.131.116
- v5.131.112
- v5.131.110
- v5.131.102
- v5.131.92
- v5.131.90
- v5.131.89
- v5.131.88
- v5.131.85
- v5.131.83
- v5.131.75
- v5.130.74
- v5.130.69
- v5.130.67
- v5.130.62
- v5.130.61
- v5.130.57
- v5.130.0
- v5.126.14
- v5.126.13
- v5.126.12
- v5.126.11
- v5.126.10
- v5.126.9
- v5.126.8
- v5.126.7
- v5.126.6
- v5.126.5
- v5.126.4
- v5.126.3
- v5.126.2
- v5.126.1
- v5.126.0
- v5.124.0
- v5.122.2
- v5.122.1
- v5.122
- v5.116.7
- v5.116.6
- v5.116.4
- v5.116.3
- v5.116.2
- v5.116.1
- v5.116.0
- v5.107.0
- v5.101.0
- 5.100.0
- 5.95.7
- 5.95.6
- 5.95.5
- 5.95.4
- 5.95.3
- 5.92
- 5.80.1
- 5.80.0
- 1.8.0
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.1
- 1.4.0
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.0
This package is auto-updated.
Last update: 2024-11-26 12:55:48 UTC
README
This repository contains JSON Schema documents explaining all the VK.COM API objects and methods mentioned here.
JSON Schema standard specifications and the most common usage scenarios could be found here: http://json-schema.org/
These schemes are compatible with JSON Schema version draft-07 and VK API version 5.199.
Structure
Repository contains several .json files.
- "methods.json" describes all of VK API methods (could be found at this page).
- "objects.json" describes objects which are used in methods responses.
- "responses.json" describes methods responses structure.
- "errors.json" describes possible method errors.
- "schema.json" describes additional keywords used in our implementation, such as "method", "error", "parameter" and others so to extend the canonical specification for our needs.
Samples
users.get method description:
{ "name": "users.get", "description": "Returns detailed information on users.", "open": true, "parameters": [ { "name": "user_ids", "description": "User IDs or screen names ('screen_name'). By default, current user ID.", "type": "array", "items": { "type": "string" }, "maxItems": 1000 }, { "name": "domains", "type": "array", "items": { "type": "string" } }, { "name": "fields", "description": "Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'contacts', 'education', 'online', 'counters', 'relation', 'last_seen', 'activity', 'can_write_private_message', 'can_see_all_posts', 'can_post', 'universities';", "type": "array", "items": { "type": "string" } }, { "name": "name_case", "description": "Case for declension of user name and surname:; 'nom' — nominative (default); 'gen' — genitive ; 'dat' — dative; 'acc' — accusative ; 'ins' — instrumental ; 'abl' — prepositional", "type": "string" } ], "responses": { "response": { "$ref": "responses.json#/definitions/users_get_response" } } }
market_market_album object description:
"market_market_album": { "type": "object", "properties": { "id": { "type": "integer", "description": "Market album ID", "minimum": 1 }, "owner_id": { "type": "integer", "description": "Market album owner's ID" }, "title": { "type": "string", "description": "Market album title" }, "count": { "type": "integer", "description": "Items number", "minimum": 0 }, "updated_time": { "type": "integer", "description": "Date when album has been updated last time in Unixtime", "minimum": 0 }, "photo": { "$ref": "#/definitions/photos_photo" } }, "required": [ "id", "owner_id", "title", "count", "updated_time" ] }