Skip to content
本文共 0 字
预计阅读 1 分钟

愚人节整蛊接口

GET https://www.endlesspixel.cn/api/fool
POST https://www.endlesspixel.cn/api/fool

提示

这是一个纯整蛊娱乐接口,固定返回 HTTP 418 I'm a teapot 状态码,用于愚人节趣味互动,无任何实际业务功能

每次请求都会随机生成不同文案、心情、错误、推荐仓库,几乎不会重复。


GET 请求

获取完整整蛊信息 + 随机推荐 EndlessPixel GitHub 仓库 + 临时随机记录。

返回示例

请求成功,返回茶壶整蛊数据 418

json
{
  // HTTP 状态码(固定 418)
  "code": 418,
  // 整蛊主消息
  "message": "I'm a teapot 🫖 — can't brew coffee, only EndlessPixel's projects!",
  // 茶壶心情状态(随机)
  "teapot_mood": "chaotic",
  // 虚假错误信息
  "fake_error": "TeapotError: Teapot stuck in infinite tea loop 🔁 (April Fools' Fake Error)",
  // 愚人节标志(固定 true)
  "april_fools": true,
  // 服务器时间(ISO 8601 格式)
  "time": "2026-04-10T12:34:56.789Z",
  // 茶壶的需求
  "teapot_demand": "Buy the teapot a biscuit 🍪",
  // 茶壶的建议
  "teapot_advice": "If code breaks, blame the teapot — it works every time 😜",
  // 虚假 API 状态
  "fake_api_status": "Prank engine: ONLINE 🤖",
  // 虚假技术支持
  "fake_support": "Teapot Tech Support: Call ☎️ 1-800-TEAPOT (fake number) — we'll ignore you (April Fools)",
  // 整蛊表情包
  "prank_emojis": "🫖🥔✨",
  // 整蛊强度百分比
  "prank_strength": "78%",
  // 茶壶液位百分比
  "tea_level": "63%",
  // 广告/推荐信息
  "ad": {
    // 广告标语
    "slogan": "Secret Repo Drop: Only teapot insiders get this 🤫",
    // 随机推荐的仓库列表(数量随机 3-7 个)
    "picks": [
      "PotatoMC [April Fools: Minecraft runs on potato + teapot power 🥔🫖]: https://github.com/EndlessPixel/PotatoMC",
      "EP-XPcheckin [April Fools: Checkin gives tea XP instead of points ☕️]: https://github.com/EndlessPixel/EP-XPcheckin",
      "EndlessPixel-Wiki [April Fools: Wiki pages are all tea facts 🫖]: https://github.com/EndlessPixel/EndlessPixel-Wiki",
      "Chat-Box [April Fools: Talks way too much 🗣️]: https://github.com/EndlessPixel/Chat-Box"
    ],
    // 整蛊免责声明
    "prank_disclaimer": "Disclaimer: This teapot is not responsible for any repo pranks (April Fools' Day 2026 🎉)",
    // 茶壶评分
    "teapot_rating": "5/5 cups of tea ☕️",
    // 愚人节挑战
    "april_fools_challenge": "Find all tea emojis in this response 👀",
    // 虚假下载量
    "fake_downloads": "12345 (fake) downloads 📥",
    // 仓库随机种子
    "repo_shuffle_seed": 123456
  },
  // 虚假请求ID
  "fake_request_id": "TEAPOT-123456-APRILFOOLS-X7Z9",
  // 虚假加载时间
  "fake_load_time": "2.45s (fake) ⏱️",
  // 临时随机记录
  "temp_record": {
    // 临时记录ID
    "record_id": "TEMP-8S2KF93Z",
    // 记录类型
    "record_type": "tea_brewing_record",
    // 执行动作
    "action": "brewed fresh virtual tea",
    // 附加说明
    "extra_note": "tea level: 97%",
    // 随机种子
    "random_seed": 12345678
  }
}

POST 请求

在 GET 所有返回字段基础上,额外增加 POST 专属整蛊字段。

返回示例

请求成功,返回 POST 专属整蛊数据 418

json
{
  // ========== 通用字段(与 GET 相同)==========
  "code": 418,
  "message": "I'm a teapot 🫖 — can't brew coffee, only EndlessPixel's projects!",
  "teapot_mood": "chaotic",
  "fake_error": "TeapotError: Teapot stuck in infinite tea loop 🔁",
  "april_fools": true,
  "time": "2026-04-10T12:34:56.789Z",
  "teapot_demand": "Buy the teapot a biscuit 🍪",
  "teapot_advice": "If code breaks, blame the teapot — it works every time 😜",
  "fake_api_status": "Prank engine: ONLINE 🤖",
  "fake_support": "Teapot Tech Support: Call ☎️ 1-800-TEAPOT (fake number)",
  "prank_emojis": "🫖🥔✨",
  "prank_strength": "78%",
  "tea_level": "63%",
  "ad": { ... },
  "fake_request_id": "TEAPOT-123456-APRILFOOLS-X7Z9",
  "fake_load_time": "2.45s (fake) ⏱️",

  // ========== POST 专属字段 ==========
  // POST 整蛊消息
  "post_prank": "Your POST data was brewed into tea — here's some repos to sip on ☕️",
  // 虚假解决方案
  "fake_fix": "Solution: Star 5 repos and the teapot will return your data ⭐️",
  // 虚假POST处理信息
  "fake_post_processing": "POST data brewed into premium tea 🍵",
  // 虚假数据保存信息
  "fake_data_saved": "Data saved to teapot storage (876KB fake) 💾",
  // 虚假响应延迟
  "fake_response_delay": "13ms (we were making tea) ⏳",
  // 临时记录(POST 专属类型)
  "temp_record": {
    "record_id": "TEMP-7A2DB91C",
    "record_type": "repo_hijack_note",
    "action": "rejected serious API request",
    "extra_note": "mood updated automatically",
    "random_seed": 87654321
  }
}

响应字段说明

字段类型说明
codenumber固定为 418(I'm a teapot)
messagestring整蛊主消息,随机生成
teapot_moodstring茶壶心情:happy/grumpy/chaotic/sleepy
fake_errorstring虚假错误信息,模仿真实报错格式
april_foolsboolean愚人节标志,固定为 true
timestringISO 8601 格式服务器时间
teapot_demandstring茶壶的需求(随机)
teapot_advicestring茶壶的建议(随机)
fake_api_statusstring虚假 API 状态信息
fake_supportstring虚假技术支持信息
prank_emojisstring整蛊相关表情包
prank_strengthstring整蛊强度百分比(随机 40%-100%)
tea_levelstring茶壶液位百分比(随机)
adobject广告/推荐信息对象
ad.sloganstring广告标语
ad.picksarray随机推荐的 GitHub 仓库列表(3-7 个)
ad.prank_disclaimerstring整蛊免责声明
ad.teapot_ratingstring茶壶评分(随机)
ad.april_fools_challengestring愚人节挑战信息
ad.fake_downloadsstring虚假下载量
ad.repo_shuffle_seednumber仓库随机种子
fake_request_idstring虚假请求ID
fake_load_timestring虚假加载时间
temp_recordobject临时随机记录
temp_record.record_idstring临时记录ID
temp_record.record_typestring记录类型
temp_record.actionstring执行的动作
temp_record.extra_notestring附加说明
temp_record.random_seednumber随机种子

POST 专属字段

字段类型说明
post_prankstringPOST 请求专属整蛊消息
fake_fixstring虚假解决方案
fake_post_processingstring虚假 POST 处理信息
fake_data_savedstring虚假数据保存信息
fake_response_delaystring虚假响应延迟

注意事项

  1. 纯娱乐用途:本接口仅供愚人节趣味互动,无任何实际业务功能
  2. 固定状态码:无论请求成功与否,均返回 HTTP 418 I'm a teapot
  3. 内容随机:每次请求返回的内容均不同,几乎不会重复
  4. 无副作用:接口不写入任何数据,不修改任何状态

"Minecraft" 和 "我的世界" 是 Mojang AB 的注册商标。本站与 Mojang 或 Microsoft 无任何关联。