惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LINUX DO - 热门话题
Stack Overflow Blog
Stack Overflow Blog
B
Blog
WordPress大学
WordPress大学
Project Zero
Project Zero
P
Palo Alto Networks Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - 司徒正美
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
T
Tailwind CSS Blog
Forbes - Security
Forbes - Security
F
Full Disclosure
SecWiki News
SecWiki News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hacker News: Ask HN
Hacker News: Ask HN
C
Check Point Blog
Microsoft Security Blog
Microsoft Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
F
Fortinet All Blogs
Cisco Talos Blog
Cisco Talos Blog
G
Google Developers Blog
J
Java Code Geeks
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recorded Future
Recorded Future
O
OpenAI News
Spread Privacy
Spread Privacy
MongoDB | Blog
MongoDB | Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
C
Cybersecurity and Infrastructure Security Agency CISA
S
Securelist
V
Vulnerabilities – Threatpost
Y
Y Combinator Blog
IT之家
IT之家
U
Unit 42
腾讯CDC
S
Security Affairs
C
Cisco Blogs
Schneier on Security
Schneier on Security
The Last Watchdog
The Last Watchdog
B
Blog RSS Feed
宝玉的分享
宝玉的分享
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Security @ Cisco Blogs
Cyberwarzone
Cyberwarzone
T
The Blog of Author Tim Ferriss

V2EX API

https://www.v2ex.com/api/v2/nodes/:name 接口 name 中有此符号 - 时会报 404 - V2EX API 基础功能完善 - V2EX 如何参与 API 接口的开发 - V2EX 是否考虑在 API 中加入返回 Solana 地址? - V2EX https://www.v2ex.com/api/v2/topics/1/replies?p=2 接口分页参数无效 - V2EX 支持创建主题和回复主题 - V2EX 创建 token 时 Scope 的两种类型有什么区别呢?文档中没有看到 - V2EX 获取收藏的帖子 - V2EX 如何获取相关节点 - V2EX 获取指定主题时能否添加收藏数 - V2EX 账号不能登陆,提示密码错误,找回密码提示账号不存在 - V2EX [API 2.0 Beta] 获取指定节点下的主题 - 可以返回更多字段吗? - V2EX V2EX 的 RESTful API 似乎配置错误(Method Not Allowed) - V2EX 获取指定主题下的回复,默认一次只能获取 20 条回复 - V2EX 这个 api 为啥挂代理特别慢,我挂代理访问 youtube 都比较快 - V2EX 希望支持管理收藏的 API - V2EX 使用 API 2.0 Beta 怎么签到呢 - V2EX 使用 Personal Access Token 进行认证时 API Rate Limit 能否改为限制到 Account ? - V2EX 需要一些新 API - V2EX GET member 获取的 avatar url 全都是 mini 的 - V2EX V2EX 新的 API - V2EX
tokens api 有点小问题 - V2EX
mornlight · 2021-11-07 · via V2EX API

mornlight

V2EX  ›  V2EX API

 

mornlight · gexiao · 2021 年 11 月 7 日 · 3238 次点击

这是一个创建于 1680 天前的主题,其中的信息可能已经有所发展或是发生改变。

https://www.v2ex.com/help/api 文档里提到:

expiration - 可支持的值:259200 ,5184000 或者 15552000 ,即 30 天,60 天或者 180 天的秒数
完整例子:

POST https://www.v2ex.com/api/v2/tokens
Authorization: Bearer bd1f2c67-cc7f-48e3-a48a-e5b88b427146
{"scope": "everything", "expiration": 259200}

这个示例有偏差,30 天的秒数是 2592000 。

另外,实测传入 5184000 会返回错误:Invalid expiration provided