discussions.getAttachedResources ✎ Edit on GitHub

NameRequiredTypeDescription
attach_ids true String[]
fields false FieldSets

Authorization

Session is required

Required permissions:

  • VALUABLE_ACCESS

Response

{ "attachments": [ [ { "id": "String" }, { "content_locations": [ { "ct": "String", "url": "String" } ], "id": "String" }, { "actor_ids": [ "String" ], "added_to_watch_later": "Boolean", "album_id_for_autoplay": "String", "author_ref": "String", "big_thumbnail_url": "String", "blocked": "Boolean", "collage": { "count": "int", "frequency": "int", "height": "int", "url": "String", "width": "int" }, "comments_count": "Integer", "content_presentations": [ [ "chat_archive", "collage_45", "dash", "external", "failover_host", "hls", "image_135", "image_270", "image_405", "image_540", "image_72", "image_720", "live_hls", "mp4_1080", "mp4_144", "mp4_1440", "mp4_2160", "mp4_240", "mp4_360", "mp4_480", "mp4_720", "orientations", "subtitles_srt" ] ], "content_type": "String", "created": "Date", "created_ms": "Long", "daily_views": "Integer", "description": "String", "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_STATUS" ] }, "duration": "Integer", "failover_host": "String", "from_time": "Integer", "gps": { "lat": "float", "lng": "float" }, "group_id": "String", "hd_thumbnail_url": "String", "height": "Integer", "high_thumbnail_url": "String", "id": "String", "like_summary": { "count": "Integer", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "self": "Boolean", "unlike_possible": "Boolean" }, "likes_count": "Integer", "live_movie_stats": { "history": { "comments": [ "long[]" ], "end": "Long", "likes": [ "long[]" ], "start": "Long", "step": "Integer", "viewers_peak": [ "int[]" ] }, "total_comments": "Long", "total_likes": "Long", "total_view_time": "Long", "viewers_peak": "Integer" }, "live_stream": { "chat_server": "String", "ends_in": "Integer", "live_sources": [ { "adaptive_rate": "Boolean", "bitrate": "Long", "transparent": "Boolean", "url": "String" } ], "login_string": "String", "online_viewers": "Integer", "starts_in": "Integer", "stream_key": "String", "stream_server": "String", "url_hls": "String" }, "movie_3d_type": "String", "owner_id": "String", "owner_ref": "String", "payment_info": { "domain": "String", "expiry_date": "Long", "price": "Integer", "product_code": "String", "status": "String", "title": "String" }, "permalink": "String", "place_ref": "String", "processing_status": { "progress": "Float", "stage": "String", "total_progress": "Float" }, "provider": "String", "ref": "String", "reshare_summary": { "count": "Integer", "impression_id": "String", "last_reshare_date_ms": "Long", "reshare_like_id": "String", "reshare_object_ref": "String", "reshare_possible": "Boolean", "reshare_unavailable_reason": "String", "self": "Boolean", "self_owner": "Boolean" }, "small_thumbnail_url": "String", "status": [ "BLOCKED", "CENSORED", "COPYRIGHTS_RESTRICTED", "CREATING", "ERROR", "LIMITED_ACCESS", "LIVE_ENDED", "LIVE_NOT_STARTED", "LIVE_RECORD", "OFFLINE", "OK", "ONLINE", "ON_MODERATION", "PROCESSING", "UNAVAILABLE", "UNKNOWN", "UPLOADING" ], "streamer_app_ref": "String", "thumbnail_url": "String", "title": "String", "total_views": "Integer", "url": "String", "url_chat_archive": "String", "url_dash": "String", "url_fullhd": "String", "url_high": "String", "url_hls": "String", "url_live_hls": "String", "url_low": "String", "url_medium": "String", "url_mobile": "String", "url_mp4": "String", "url_orientations": "String", "url_provider": "String", "url_quadhd": "String", "url_tiny": "String", "url_ultrahd": "String", "video_advertisement": { "content_id": "Long", "duration": "Integer", "puidList": [ { "key": "String", "value": "String" } ], "puids": { "String": "String" }, "site_zone": "Integer", "slot": "Integer", "user_id": "Long" }, "width": "Integer" }, { "id": "String", "pic1024max": "String", "pic1024x768": "String", "pic128max": "String", "pic128x128": "String", "pic180min": "String", "pic190x190": "String", "pic240min": "String", "pic320min": "String", "pic50x50": "String", "pic640x480": "String", "pic_base": "String", "pic_max": "String", "picgif": "String", "picmp4": "String", "picwebm": "String" }, { "id": "String", "media_topic": { "app_ref": "String", "attachment": { "additionalInfo": { "String": "String" }, "caption": "String", "comments_xid": "String", "description": "String", "disableComments": "Boolean", "href": "String", "impression_id": "String", "media": [ [ { "actions": [ { "mark": "String", "text": "String" } ], "images": [ { "mark": "String", "size": "int", "title": "String", "url": "String" } ], "subId": "int", "text": "String", "type": "app" }, { "appId": "long", "subId": "int", "type": "app-ref" }, { "expandedHeight": "Integer", "expandedWidth": "Integer", "height": "Integer", "imgsrc": "String", "subId": "int", "swfsrc": "String", "type": "flash", "width": "Integer" }, { "decodedPresentTypeIds": [ "long[]" ], "options": "long", "presentTypeRefs": [ "String" ], "subId": "int", "type": "gifts" }, { "href": "String", "src": "String", "subId": "int", "type": "image" }, { "id": "long", "objectType": [ "APP", "GROUP", "USER", "VIDEO_ALBUM" ], "subId": "int", "type": "internal-ref" }, { "mediaIdx": "Integer", "mediaIdxList": [ "int[]" ], "noDescription": "boolean", "noImage": "boolean", "signature": "String", "subId": "int", "type": "link", "url": "String" }, { "album": "String", "artist": "String", "src": "String", "subId": "int", "title": "String", "type": "mp3" }, { "list": [ { "id": "Long", "url": "String" } ], "subId": "int", "type": "movie" }, { "decodedIntermediaryId": "Long", "decodedMovieId": "Long", "intermediaryId": "String", "movieId": "String", "subId": "int", "type": "movie-reshare" }, { "list": [ { "albumId": "Long", "albumName": "String", "artistId": "Long", "artistName": "String", "id": "Long", "title": "String", "uploaderId": "Long" } ], "subId": "int", "type": "music" }, { "list": [ { "decodedIntermediaryId": "Long", "decodedResharePhotoId": "Long", "group": "boolean", "id": "String", "intermediaryId": "String", "photoId": "String", "reshare": "boolean" } ], "subId": "int", "type": "photo" }, { "answers": [ { "text": "String" } ], "options": [ [ "AnonymousVoting", "ResultsAfterVoting", "SingleChoice", "VotingClosed" ] ], "question": "String", "subId": "int", "type": "poll" }, { "subId": "int", "text": "String", "textTokens": [ { "ref": "String", "text": "String" } ], "type": "text" }, { "decodedIntermediaryId": "Long", "decodedTopicId": "Long", "group": "boolean", "intermediaryId": "String", "subId": "int", "topicId": "String", "type": "topic" } ] ], "name": "String", "onBehalfOfGroup": "Boolean", "place": { "category": "String", "city": "String", "cityTownId": "Long", "city_town_id": "String", "country_code": "String", "house_number": "String", "lat": "Double", "lng": "Double", "phone": "String", "place_name": "String", "street": "String", "website": "String" }, "placeId": "Long", "place_id": "String", "propagate": "Boolean", "property": [ { "href": "String", "key": "String", "value": "String" } ], "publishAt": "String", "publishAtMs": "Long", "withFriends": [ "Long" ], "with_friends": [ "String[]" ] }, "author_ref": "String", "capabilities": "String", "created_ms": "Long", "delete_id": "String", "discussion_summary": { "comments_count": "Integer", "discussion_id": "String", "discussion_type": [ "CHAT", "CITY_NEWS", "GROUP_MOVIE", "GROUP_PHOTO", "GROUP_TOPIC", "HAPPENING_TOPIC", "MOVIE", "SCHOOL_FORUM", "SHARE", "USER_ALBUM", "USER_FORUM", "USER_PHOTO", "USER_STATUS" ] }, "has_more": "Boolean", "id": "String", "is_commenting_denied": "Boolean", "is_hidden_post": "Boolean", "is_moderated_banner": "Boolean", "is_on_behalf_of_group": "Boolean", "is_promo": "Boolean", "is_sticky": "Boolean", "is_text_cut": "Boolean", "is_unmodifiable": "Boolean", "like_summary": { "count": "Integer", "impression_id": "String", "last_like_date_ms": "Long", "like_id": "String", "like_possible": "Boolean", "like_unavailable_reason": "String", "self": "Boolean", "unlike_possible": "Boolean" }, "mark_as_spam_id": "String", "media": [ { "advert_category": "String", "advert_ccy": "String", "advert_price": "String", "advert_status": "String", "app_action_mark": "String", "app_action_text": "String", "app_image": "String", "app_image_mark": "String", "app_image_title": "String", "app_ref": "String", "app_text": "String", "attachment_media": [ { "actions": [ { "mark": "String", "text": "String" } ], "images": [ { "mark": "String", "size": "int", "title": "String", "url": "String" } ], "subId": "int", "text": "String", "type": "app" }, { "appId": "long", "subId": "int", "type": "app-ref" }, { "expandedHeight": "Integer", "expandedWidth": "Integer", "height": "Integer", "imgsrc": "String", "subId": "int", "swfsrc": "String", "type": "flash", "width": "Integer" }, { "decodedPresentTypeIds": [ "long[]" ], "options": "long", "presentTypeRefs": [ "String" ], "subId": "int", "type": "gifts" }, { "href": "String", "src": "String", "subId": "int", "type": "image" }, { "id": "long", "objectType": [ "APP", "GROUP", "USER", "VIDEO_ALBUM" ], "subId": "int", "type": "internal-ref" }, { "mediaIdx": "Integer", "mediaIdxList": [ "int[]" ], "noDescription": "boolean", "noImage": "boolean", "signature": "String", "subId": "int", "type": "link", "url": "String" }, { "album": "String", "artist": "String", "src": "String", "subId": "int", "title": "String", "type": "mp3" }, { "list": [ { "id": "Long", "url": "String" } ], "subId": "int", "type": "movie" }, { "decodedIntermediaryId": "Long", "decodedMovieId": "Long", "intermediaryId": "String", "movieId": "String", "subId": "int", "type": "movie-reshare" }, { "list": [ { "albumId": "Long", "albumName": "String", "artistId": "Long", "artistName": "String", "id": "Long", "title": "String", "uploaderId": "Long" } ], "subId": "int", "type": "music" }, { "list": [ { "decodedIntermediaryId": "Long", "decodedResharePhotoId": "Long", "group": "boolean", "id": "String", "intermediaryId": "String", "photoId": "String", "reshare": "boolean" } ], "subId": "int", "type": "photo" }, { "answers": [ { "text": "String" } ], "options": [ [ "AnonymousVoting", "ResultsAfterVoting", "SingleChoice", "VotingClosed" ] ], "question": "String", "subId": "int", "type": "poll" }, { "subId": "int", "text": "String", "textTokens": [ { "ref": "String", "text": "String" } ], "type": "text" }, { "decodedIntermediaryId": "Long", "decodedTopicId": "Long", "group": "boolean", "intermediaryId": "String", "subId": "int", "topicId": "String", "type": "topic" } ], "comment_ref": [ "String" ], "description": "String", "media_topic_refs": [ "String" ], "movie_refs": [ "String" ], "music_track_refs": [ "String" ], "photo_refs": [ "String" ], "poll_refs": [ "String" ], "present_refs": [ "String" ], "reshare": "Boolean", "reshare_owner_refs": [ "String" ], "text": "String", "text_tokens": [ { "ref": "String", "text": "String" } ], "title": "String", "type": [ "advert", "app", "comment", "gift", "link", "movie", "music", "photo", "poll", "stub", "text", "topic" ], "url": "String", "url_image": "String", "url_images": [ { "height": "Integer", "type": [ "AVATAR", "BIG", "STICKER" ], "url_prefix": "String", "width": "Integer" } ], "video_channel_refs": [ "String" ] } ], "owner_ref": "String", "place_ref": "String", "propagation_expiration_ms": "Long", "publication_date_ms": "Long", "ref": "String", "reshare_count": "Integer", "reshare_summary": { "count": "Integer", "impression_id": "String", "last_reshare_date_ms": "Long", "reshare_like_id": "String", "reshare_object_ref": "String", "reshare_possible": "Boolean", "reshare_unavailable_reason": "String", "self": "Boolean", "self_owner": "Boolean" }, "tags": [ { "tag_id": "Long", "value": "String" } ], "with_friend_refs": [ "String" ] } } ] ] }

Application paramters

User session data

Method

List of paramters

Используем для подписи secret_key = session_secret_key
Используем для подписи secret_key = application_secret_key
Используем для подписи secret_key = MD5(access_token + application_secret_key)
secret_key =
Сортируем и склеиваем параметры запроса и secret_key
Рассчитываем MD5 от полученной строки и получаем параметр sig