2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Qiita API v2で一部リソースにアクセスできなくなったので確認してみた

Last updated at Posted at 2019-01-11

下記の記事でQiita API v2を利用しているのですが、2019/01/11 11時の更新ができてなかったので、調べてみたらQiita API v2の一部リソースにアクセスできなくなった模様。。。(2019/01/11 16時時点)

Qiita週間ストック数ランキング【自動更新】 - Qiita
https://qiita.com/kai_kou/items/180a91fd88dbbbd746f6

Not foundなので、アクセストークンが無効ってわけでもなさそう。

# items: OK
curl "https://qiita.com/api/v2/items
[{"rendered_body":"()

# items/:item_id: OK
> curl "https://qiita.com/api/v2/items/b4ac2d316920e08ac75a"
{"rendered_body":()

# items/:item_id/like: NG
> curl "https://qiita.com/api/v2/items/b4ac2d316920e08ac75a/like" \
  -H "Authorization: Bearer Qiitaのアクセストークン"
{"message":"Not found","type":"not_found"}

# items/:item_id/stock: NG
> curl "https://qiita.com/api/v2/items/b4ac2d316920e08ac75a/stock" \
  -H "Authorization: Bearer Qiitaのアクセストークン"
{"message":"Not found","type":"not_found"}

:item_id以下のリソースにアクセスできなくなってるので、ルーティングまわりの改修でデグレた疑惑w

Qiita:Supportへ問合せしたものの、金曜日だし夕方だし、いつ対応になるやら。。。
そういえば、前に同じようなことがあったのも金曜日だったようなぁぁぁ。。。

Qiitaのコメント数表示がおかしくなったので調べてみた - Qiita
https://qiita.com/kai_kou/items/58e8e009b058ffaed6a3

参考

Qiita API v2ドキュメント - Qiita:Developer
https://qiita.com/api/v2/docs#%E6%8A%95%E7%A8%BF

2
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?