UNPKG

node-vk-sdk

Version:

VK API SDK for Node.js

2,182 lines 196 kB
{ "$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" }, "secret": { "type": "string", "description": "New secret" } }, "required": [ "token" ] } }, "required": [ "response" ] }, "account_getActiveOffers_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/account_offer" } } }, "required": [ "count", "items" ] } }, "required": [ "response" ] }, "account_getAppPermissions_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "Permissions mask" } }, "required": [ "response" ] }, "account_getBanned_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "type": "integer" } }, "profiles": { "type": "array", "items": { "$ref": "objects.json#/definitions/users_user_min" } }, "groups": { "type": "array", "items": { "$ref": "objects.json#/definitions/groups_group" } } }, "required": [ "count", "items" ] } }, "required": [ "response" ] }, "account_getCounters_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/account_account_counters" } }, "required": [ "response" ] }, "account_getInfo_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/account_info" } }, "required": [ "response" ] }, "account_getProfileInfo_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/account_user_settings" } }, "required": [ "response" ] }, "account_getPushSettings_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/account_push_settings" } }, "required": [ "response" ] }, "account_saveProfileInfo_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "changed": { "description": "1 if changes has been processed", "$ref": "objects.json#/definitions/base_bool_int" }, "name_request": { "$ref": "objects.json#/definitions/account_name_request" } } } }, "required": [ "response" ] }, "ads_addOfficeUsers_response": { "type": "object", "properties": { "response": { "type": "boolean", "description": "true if success" } }, "required": [ "response" ] }, "ads_checkLink_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/ads_link_status" } }, "required": [ "response" ] }, "ads_createAds_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "type": "integer", "description": "Ad ID" } } }, "required": [ "response" ] }, "ads_createCampaigns_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "type": "integer", "description": "Campaign ID" } } }, "required": [ "response" ] }, "ads_createClients_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "type": "integer", "description": "Client ID" } } }, "required": [ "response" ] }, "ads_createTargetGroup_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "id": { "type": "integer", "description": "Group ID" }, "pixel": { "type": "string", "description": "Pixel code" } } } }, "required": [ "response" ] }, "ads_deleteAds_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "type": "integer", "description": "0 if success" } } }, "required": [ "response" ] }, "ads_deleteCampaigns_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "0 if success" } }, "required": [ "response" ] }, "ads_deleteClients_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "0 if sucess" } }, "required": [ "response" ] }, "ads_getAccounts_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_account" } } }, "required": [ "response" ] }, "ads_getAdsLayout_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_ad_layout" } } }, "required": [ "response" ] }, "ads_getAdsTargeting_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_targ_settings" } } }, "required": [ "response" ] }, "ads_getAds_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_ad" } } }, "required": [ "response" ] }, "ads_getBudget_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "Budget" } }, "required": [ "response" ] }, "ads_getCampaigns_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_campaign" } } }, "required": [ "response" ] }, "ads_getCategories_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "v1": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_category" }, "description": "Old categories" }, "v2": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_category" }, "description": "Actual categories" } } } }, "required": [ "response" ] }, "ads_getClients_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_client" } } }, "required": [ "response" ] }, "ads_getDemographics_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_demo_stats" } } }, "required": [ "response" ] }, "ads_getFloodStats_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/ads_flood_stats" } }, "required": [ "response" ] }, "ads_getLookalikeRequests_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total count of found lookalike requests", "minimum": 0 }, "items": { "type": "array", "description": "found lookalike requests", "items": { "$ref": "objects.json#/definitions/ads_lookalike_request" } } }, "required": [ "count", "items" ] } }, "required": [ "response" ] }, "ads_getMusicians_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_musician" }, "description": "Musicians" } }, "required": [ "items" ] } }, "required": [ "response" ] }, "ads_getOfficeUsers_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_users" } } }, "required": [ "response" ] }, "ads_getPostsReach_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_promoted_post_reach" } } }, "required": [ "response" ] }, "ads_getRejectionReason_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/ads_reject_reason" } }, "required": [ "response" ] }, "ads_getStatistics_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_stats" } } }, "required": [ "response" ] }, "ads_getSuggestions_cities_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_targ_suggestions_cities" } } }, "required": [ "response" ] }, "ads_getSuggestions_regions_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_targ_suggestions_regions" } } }, "required": [ "response" ] }, "ads_getSuggestions_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_targ_suggestions" } } }, "required": [ "response" ] }, "ads_getSuggestions_schools_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_targ_suggestions_schools" } } }, "required": [ "response" ] }, "ads_getTargetGroups_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_target_group" } } }, "required": [ "response" ] }, "ads_getTargetingStats_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/ads_targ_stats" } }, "required": [ "response" ] }, "ads_getUploadURL_response": { "type": "object", "properties": { "response": { "type": "string", "description": "Photo upload URL" } }, "required": [ "response" ] }, "ads_getVideoUploadURL_response": { "type": "object", "properties": { "response": { "type": "string", "description": "Video upload URL" } }, "required": [ "response" ] }, "ads_importTargetContacts_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "Imported contacts number" } }, "required": [ "response" ] }, "ads_removeOfficeUsers_response": { "type": "object", "properties": { "response": { "type": "boolean", "description": "true if success" } }, "required": [ "response" ] }, "ads_updateAds_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "type": "integer", "description": "Ad ID" } } }, "required": [ "response" ] }, "ads_updateCampaigns_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "Campaign ID" } }, "required": [ "response" ] }, "ads_updateClients_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "Client ID" } }, "required": [ "response" ] }, "ads_updateOfficeUsers_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/ads_updateOfficeUsers_result" } } }, "required": [ "response" ] }, "adsweb_getAdCategories_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "categories": { "type": "array", "items": { "$ref": "objects.json#/definitions/adsweb_getAdCategories_response_categories_category" } } }, "required": [ "categories" ] } }, "required": [ "response" ] }, "adsweb_getAdUnitCode_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "html": { "type": "string" } }, "required": [ "html" ] } }, "required": [ "response" ] }, "adsweb_getAdUnits_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer" }, "ad_units": { "type": "array", "items": { "$ref": "objects.json#/definitions/adsweb_getAdUnits_response_ad_units_ad_unit" } } }, "required": [ "count" ] } }, "required": [ "response" ] }, "adsweb_getFraudHistory_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer" }, "entries": { "type": "array", "items": { "$ref": "objects.json#/definitions/adsweb_getFraudHistory_response_entries_entry" } } }, "required": [ "count" ] } }, "required": [ "response" ] }, "adsweb_getSites_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer" }, "sites": { "type": "array", "items": { "$ref": "objects.json#/definitions/adsweb_getSites_response_sites_site" } } }, "required": [ "count" ] } }, "required": [ "response" ] }, "adsweb_getStatistics_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "next_page_id": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/adsweb_getStatistics_response_items_item" } } }, "required": [ "items" ] } }, "required": [ "response" ] }, "appWidgets_getAppImageUploadServer_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "upload_url": { "type": "string", "description": "To upload an image, generate POST-request to upload_url with a file in photo field. Then call appWidgets.saveAppImage method" } } } }, "required": [ "response" ] }, "appWidgets_getAppImages_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/appWidgets_photos" } }, "required": [ "response" ] }, "appWidgets_getGroupImageUploadServer_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "upload_url": { "type": "string", "description": "To upload an image, generate POST-request to upload_url with a file in photo field. Then call appWidgets.saveAppImage method" } } } }, "required": [ "response" ] }, "appWidgets_getGroupImages_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/appWidgets_photos" } }, "required": [ "response" ] }, "appWidgets_getImagesById_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/appWidgets_photo" } } }, "required": [ "response" ] }, "appWidgets_saveAppImage_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/appWidgets_photo" } }, "required": [ "response" ] }, "appWidgets_saveGroupImage_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/appWidgets_photo" } }, "required": [ "response" ] }, "apps_getCatalog_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/apps_app" } }, "profiles": { "type": "array", "items": { "$ref": "objects.json#/definitions/users_user_min" } } } } }, "required": [ "response" ] }, "apps_getFriendsList_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/users_user_full" } } } } }, "required": [ "response" ] }, "apps_getLeaderboard_extended_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/apps_leaderboard" } }, "profiles": { "type": "array", "items": { "$ref": "objects.json#/definitions/users_user_min" } } } } }, "required": [ "response" ] }, "apps_getLeaderboard_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/apps_leaderboard" } } } } }, "required": [ "response" ] }, "apps_getScopes_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/apps_scope" } } }, "required": [ "count", "items" ] } }, "required": [ "response" ] }, "apps_getScore_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "Score number" } }, "required": [ "response" ] }, "apps_get_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of applications", "minimum": 0 }, "items": { "type": "array", "description": "List of applications", "items": { "$ref": "objects.json#/definitions/apps_app" } } } } }, "required": [ "response" ] }, "apps_sendRequest_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "Request ID" } }, "required": [ "response" ] }, "auth_restore_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "success": { "type": "integer", "description": "1 if success", "enum": [ 1 ], "enumNames": [ "ok" ] }, "sid": { "type": "string", "description": "Parameter needed to grant access by code" } } } }, "required": [ "response" ] }, "base_bool_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/base_bool_int" } }, "required": [ "response" ] }, "base_getUploadServer_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/base_upload_server" } }, "required": [ "response" ] }, "base_ok_response": { "type": "object", "properties": { "response": { "type": "integer", "default": 1, "enum": [ 1 ], "enumNames": [ "ok" ] } }, "required": [ "response" ] }, "board_addTopic_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "Topic ID" } }, "required": [ "response" ] }, "board_createComment_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "Comment ID" } }, "required": [ "response" ] }, "board_getComments_extended_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/board_topic_comment" } }, "poll": { "$ref": "objects.json#/definitions/board_topic_poll" }, "profiles": { "type": "array", "items": { "$ref": "objects.json#/definitions/users_user" } }, "groups": { "type": "array", "items": { "$ref": "objects.json#/definitions/groups_group" } } }, "required": [ "count", "items", "profiles", "groups" ] } }, "required": [ "response" ] }, "board_getComments_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/board_topic_comment" } }, "poll": { "$ref": "objects.json#/definitions/board_topic_poll" } }, "required": [ "count", "items" ] } }, "required": [ "response" ] }, "board_getTopics_extended_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/board_topic" } }, "default_order": { "$ref": "objects.json#/definitions/board_default_order" }, "can_add_topics": { "description": "Information whether current user can add topic", "$ref": "objects.json#/definitions/base_bool_int" }, "profiles": { "type": "array", "items": { "$ref": "objects.json#/definitions/users_user_min" } } }, "required": [ "count", "items", "default_order", "can_add_topics", "profiles" ] } }, "required": [ "response" ] }, "board_getTopics_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/board_topic" } }, "default_order": { "$ref": "objects.json#/definitions/board_default_order" }, "can_add_topics": { "description": "Information whether current user can add topic", "$ref": "objects.json#/definitions/base_bool_int" } }, "required": [ "count", "items", "default_order", "can_add_topics" ] } }, "required": [ "response" ] }, "database_getChairs_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/base_object" } } } } }, "required": [ "response" ] }, "database_getCitiesById_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/base_object" } } }, "required": [ "response" ] }, "database_getCities_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/database_city" } } } } }, "required": [ "response" ] }, "database_getCountriesById_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/base_country" } } }, "required": [ "response" ] }, "database_getCountries_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/base_country" } } } } }, "required": [ "response" ] }, "database_getFaculties_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/database_faculty" } } } } }, "required": [ "response" ] }, "database_getMetroStationsById_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/database_station" } } }, "required": [ "response" ] }, "database_getMetroStations_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/database_station" } } } } }, "required": [ "response" ] }, "database_getRegions_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/database_region" } } } } }, "required": [ "response" ] }, "database_getSchoolClasses_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "type": "array", "items": { "type": [ "string", "integer" ], "description": "Class ID or letter" } } } }, "required": [ "response" ] }, "database_getSchools_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/database_school" } } } } }, "required": [ "response" ] }, "database_getUniversities_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/database_university" } } } } }, "required": [ "response" ] }, "docs_add_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "Document ID" } }, "required": [ "response" ] }, "docs_getById_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/docs_doc" } } }, "required": [ "response" ] }, "docs_getTypes_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/docs_doc_types" } } } } }, "required": [ "response" ] }, "docs_getUploadServer": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/base_upload_server" } }, "required": [ "response" ] }, "docs_get_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/docs_doc" } } }, "required": [ "count", "items" ] } }, "required": [ "response" ] }, "docs_save_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "type": { "$ref": "objects.json#/definitions/docs_doc_attachment_type" }, "audio_message": { "$ref": "objects.json#/definitions/messages_audio_message" }, "doc": { "$ref": "objects.json#/definitions/docs_doc" }, "graffiti": { "$ref": "objects.json#/definitions/messages_graffiti" } }, "required": [ "response" ] } }, "required": [ "response" ] }, "docs_search_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/docs_doc" } } }, "required": [ "count", "items" ] } }, "required": [ "response" ] }, "donut_getSubscription_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/donut_donator_subscription_info" } }, "required": [ "response" ] }, "donut_getSubscriptions_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "subscriptions": { "type": "array", "items": { "$ref": "objects.json#/definitions/donut_donator_subscription_info" } }, "count": { "type": "integer", "minimum": 0 }, "profiles": { "type": "array", "items": { "$ref": "objects.json#/definitions/users_user_full" } }, "groups": { "type": "array", "items": { "$ref": "objects.json#/definitions/groups_group_full" } } }, "required": [ "subscriptions" ] } }, "required": [ "response" ] }, "downloadedGames_paid_status_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "is_paid": { "type": "boolean", "description": "Game has been paid" } }, "required": [ "is_paid" ] } }, "required": [ "response" ] }, "fave_addTag_response": { "type": "object", "properties": { "response": { "$ref": "objects.json#/definitions/fave_tag" } }, "required": [ "response" ] }, "fave_getPages_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/fave_page" } } } } }, "required": [ "response" ] }, "fave_getTags_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/fave_tag" } } } } }, "required": [ "response" ] }, "fave_get_extended_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/fave_bookmark" } }, "profiles": { "type": "array", "items": { "$ref": "objects.json#/definitions/users_user_full" } }, "groups": { "type": "array", "items": { "$ref": "objects.json#/definitions/groups_group" } } } } }, "required": [ "response" ] }, "fave_get_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number" }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/fave_bookmark" } } } } }, "required": [ "response" ] }, "friends_addList_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "list_id": { "type": "integer", "description": "List ID", "minimum": 1 } }, "required": [ "list_id" ] } }, "required": [ "response" ] }, "friends_add_response": { "type": "object", "properties": { "response": { "type": "integer", "description": "Friend request status", "enum": [ 1, 2, 4 ], "enumNames": [ "SEND", "APPROVED", "RESEND" ] } }, "required": [ "response" ] }, "friends_areFriends_extended_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/friends_friend_extended_status" } } }, "required": [ "response" ] }, "friends_areFriends_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/friends_friend_status" } } }, "required": [ "response" ] }, "friends_delete_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "success": { "type": "integer", "default": 1 }, "friend_deleted": { "type": "integer", "description": "Returns 1 if friend has been deleted", "enum": [ 1 ], "enumNames": [ "ok" ] }, "out_request_deleted": { "type": "integer", "description": "Returns 1 if out request has been canceled", "enum": [ 1 ], "enumNames": [ "ok" ] }, "in_request_deleted": { "type": "integer", "description": "Returns 1 if incoming request has been declined", "enum": [ 1 ], "enumNames": [ "ok" ] }, "suggestion_deleted": { "type": "integer", "description": "Returns 1 if suggestion has been declined", "enum": [ 1 ], "enumNames": [ "ok" ] } }, "required": [ "success" ], "maxProperties": 2 } }, "required": [ "response" ] }, "friends_getAppUsers_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "type": "integer", "description": "User ID", "minimum": 1 } } }, "required": [ "response" ] }, "friends_getByPhones_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/friends_user_xtr_phone" } } }, "required": [ "response" ] }, "friends_getLists_response": { "type": "object", "properties": { "response": { "type": "object", "properties": { "count": { "type": "integer", "description": "Total number of friends lists", "minimum": 0 }, "items": { "type": "array", "items": { "$ref": "objects.json#/definitions/friends_friends_list" } } }, "required": [ "count", "items" ] } }, "required": [ "response" ] }, "friends_getMutual_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "type": "integer", "description": "User ID", "minimum": 1 } } }, "required": [ "response" ] }, "friends_getMutual_target_uids_response": { "type": "object", "properties": { "response": { "type": "array", "items": { "$ref": "objects.json#/definitions/friends_mutual_friend" } } }, "required": [ "response" ] }, "friends_g