プロジェクト

全般

プロフィール

Enhancement(機能追加・改善) #4420

OpenPNE3 JSON API diary/post.json のサンプルリクエストの誤記

kaoru n約4年前に追加. ほぼ4年前に更新.

ステータス:
New(新規)
優先度:
Normal(通常)
担当者:
-
対象バージョン:
-
開始日:
2020-03-25
期日:
進捗率:

0%


説明

Overview (概要)

http://houou.github.io/api.php/diary_post.html
に記載のサンプルリクエストが

$ curl http://(snip)/activity/post.json?title=(snip)
になっている

https://github.com/tejimaya/opDiaryPlugin/blob/dev-1.5.x/apps/api/config/routing.yml#L7-L11
diary/post.json は post しか受け付けないよう定義されているので、post リクエストのサンプルを記載すべき。

Spec (仕様)

http://houou.github.io/api.php/diary_post.html
に記載のサンプルリクエストを

$ curl -XPOST -d 'title=タイトル&body=本文&public_flag=1&apiKey=xxxxx' http://(snip)/diary/post.json
に修正する

同様の記述がないかも調査したほうが良い。

履歴

#1 kaoru n約4年前に更新

  • 説明 を更新 (diff)

#2 kaoru nほぼ4年前に更新

  • 説明 を更新 (diff)

他の形式にエクスポート: Atom PDF