coub small json

Coubs small JSON contains simplified data about a coub:

  • recoub (boolean) — whether the coub was recoubed;
  • like (boolean) — whether the coub was liked;
  • flag (boolean) — whether the coub has any abuses;

  • recoubs_by_users_channels (array) — the array of identifiers of channels that recoubed the coub;

  • id (integer) — the coub identifier;
  • type (string) — the type of the coub; can be one of the following:
    • Coub::Simple — the coub that was created from the external source and posted;
    • Coub::Temp — the coub that was created via an iOS app and hasn't been posted yet;
    • Coub::Recoub — the coub that was recoubed from other coub;
  • permalink (string) — the permalink of the coub;
  • title (string) — the title of the coub;

  • channel (JSON) — the channel small JSON that describes the channel, the video is upload to:

    • id (integer) — the identifier of the channel;
    • permalink (string) — the permalink of the channel;
    • description (string) — the description of the channel;
    • title (string) — the title of the channel;
    • i_follow_him (boolean) — if this channel is followed by you;
    • followers_count (integer) — the number of channel's followers;
    • following_count (integer) — the number of channels that the channel follows;
    • avatar_versions (JSON) — the JSON object that contains data about channel's thumbnail images:
      • template (string) — the template of the URLs to the files specified in this JSON;
      • versions (array) — the array of strings that refer to available image versions:
        • medium — 48x48 pixels;
        • medium_2x — 96x96 pixels;
        • profile_pic — 160x160 pixels;
        • profile_pic_2x — 320x320 pixels;
        • profile_pic_new — 110x110 pixels;
        • profile_pic_new_2x — 220x220 pixels;
        • tiny — 32x32 pixels;
        • tiny_2x — 64x64 pixels;
        • small — 38x38 pixels;
        • small_2x — 76x76 pixels;
        • ios_large — 140x140 pixels;
        • ios_small — 70x70 pixels;
  • image_versions (JSON) — the JSON object that describes available thumbnail images of the video;

    • template (string) — the template of the URLs to the files specified in this JSON;
    • version (array) — the array of strings that describe types of preview images; available types are:
      • micro — 70x46 pixels;
      • tiny — 112x85 pixels;
      • age_restrcited — 640x640 pixels; this image have the restriction sign;
      • ios_large — 600x525 pixels; intended to be dispayed on iOS devices;
      • big — 1280x1280 pixels;
      • med — 640x500 pixels;
      • small — 400x400 pixels;
      • pinterest — 600x600 pixels; intended to be dispayed in pinterest web site.