Designs

Get design by ID

get/designs/{id}

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/designs/{id}
  • Auth: none declared

Path parameters

idinteger required

Design ID

Response

Success response

Example response

{
  "response": {
    "design_info": {
      "id": 123,
      "title": "Dark Blue Theme",
      "description": "Minimalistic dark theme with blue accents.",
      "background_url": "https://cdn.example.com/backgrounds/theme-123.webp",
      "is_fav": true,
      "install_count": 5,
      "rating": 9.4,
      "timestamps": {
        "created_at": 1753632000,
        "updated_at": 1753718400
      },
      "votes": {
        "likes": 12,
        "dislikes": 1,
        "vote": 1
      }
    },
    "author": {
      "id": 1,
      "nickname": "root",
      "avatars": {
        "big": "https://example.com/big.webp",
        "full": "https://example.com/full.avif",
        "small": "https://example.com/small.webp"
      }
    },
    "data": {
      "--color-green": "#4CAF50",
      "--color-red": "#F44336",
      "--color-pink": "#E91E63",
      "--color-purple": "#9C27B0",
      "--color-yellow": "#FFC107",
      "--color-gray": "#9E9E9E",
      "--color-blue": "#2196F3",
      "--main": "#1A1A1A",
      "--main-permanent": "#181818",
      "--minor": "#2A2A2A",
      "--head": "#111111",
      "--block": "#252525",
      "--block-inner": "#303030",
      "--border": "#3C3C3C",
      "--radius": "12px",
      "--radius-small": "6px",
      "--radius-big": "20px",
      "--shadow-color": "rgba(0, 0, 0, 0.25)",
      "--ripple-color": "rgba(255, 255, 255, 0.15)",
      "--background": "#fffff",
      "--font-family": "\"Inter\", sans-serif",
      "--font-size": "16px"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.