The translation was generated automatically and may contain mistakes

The recording on the wall

An object that describes an entry on a user's or community's wall contains the following fields:

id

integer

Record ID.

owner_id

integer

Identification of the owner of the wall on which the recording is placed. B. versions The API below 5.7 is called to_id .

from_id

integer

Identifier of the author of the record (on whose behalf the record is published).

created_by

integer

The administrator ID that published the record (returns only for communities when requested with the administrator access key). Returns in notes posted less than 24 hours ago.

date

integer

Time of publication of the record in format unixtime .

text

string

Text of the recording.

reply_owner_id

integer

Identification of the owner of the record, in response to which the current one was left.

reply_post_id

integer

The identifier of the record in response to which the current one was left.

friends_only

integer

1 if the record was created with the option “Friends Only?2?.

comments

object

Information about comments to the record, object with fields:

  • count ( integer (a) the number of comments;
  • can_post* ( integer ) — information about whether the current user can comment on the record ( 1 - maybe, 0 (It cannot);
  • groups_can_post ( integer information about whether communities can comment on the record;
  • can_close ( boolean — whether the current user can close comments on the record;
  • can_open ( boolean ) — whether the current user can open comments to the record.

copyright

object

Source of material, object with fields:

  • id ( integer );
  • link* ( string );
  • name* ( string );
  • type* ( string ).

likes

object

Information about likes to the record, object with fields:

  • count ( integer number of users who liked the recording;
  • user_likes* ( integer ) — the presence of the “I like” mark from the current user ( 1 - there is, 0 (No);
  • can_like* ( integer — information about whether the current user can put a mark “I like” ( 1 - maybe, 0 (It cannot);
  • can_publish* ( integer ) — information about whether the current user can repost the record ( 1 - maybe, 0 - can't).

reposts

object

Information about reposts of the record ("Tell Friends"), object with fields:

  • count ( integer the number of users who copied the record;
  • user_reposted* ( integer ) — presence of a repost from the current user ( 1 - there is, 0 - No..

views

object

Information about viewing the recording. An object with a single field:

  • count ( integer ) — the number of views of the record.

post_type

string

The type of record can take the following values: post , copy , reply , postpone , suggest .

post_source

object

The field is returned only for Standalone applications with the access key obtained earlier in Implicit Flow. Since June 25, 2024, the method of obtaining the Implicit Flow user key is not available.

Information about how to place the record. Description of the object is on a separate page .

attachments

array

An array of objects corresponding to media resources attached to the record: photos, documents, video files and others. Detailed description — in the section Media attachments in the notes on the wall .

geo

object

The location information contains the fields:

  • type ( string (a) type of place;
  • coordinates ( string (b) coordinates of the location;
  • place ( object A description of the place (if added). Location .

signer_id

integer

Author ID if the entry was published on behalf of the community and signed by the user;

copy_history

array

An array containing the repost history for the record. Returns only if the record is a repost. Each of the array objects, in turn, is a record object of the standard format.

can_pin

integer

Information about whether the current user can secure the record ( 1 - maybe, 0 - can't).

can_delete

integer

Information about whether the current user can delete the record ( 1 - maybe, 0 - can't).

can_edit

integer

Information about whether the current user can edit the record ( 1 - maybe, 0 - can't).

is_pinned

integer

Information that the recording is fixed.

marked_as_ads

integer

Information about whether the record contains a mark "advertising" ( 1 - Yeah, 0 - No..

is_favorite

boolean

true if the object is bookmarked by the current user.

donut

object

Information about the VK Donat recording:

  • is_donut ( boolean ) — the record is available only to paid subscribers of VK Donat;
  • paid_duration ( integer ) — the time during which the record will be available only to paid subscribers of VK Donat;
  • placeholder ( object ) — a stub for users who have not subscribed to VK Donat. It is displayed instead of the contents of the recording.
  • can_publish_free_copy ( boolean ) — whether it is possible to open the record for all users, and not only subscribers of VK Donat;
  • edit_mode ( string ) — information about what values of VK Donat can be changed in the record. Possible values:
    • all - all information about VK Donat.
    • duration - the time during which the record will be available only to paid subscribers of VK Donat.

postponed_id

integer

Deferred record ID. This field returns when the record was on the timer.