Project

General

Profile

Actions

Task(タスク) #4433

open

JSON API ドキュメントの見直しと修正

Added by kaoru n almost 5 years ago. Updated almost 4 years ago.

Status:
Pending Testing(テスト待ち)
Priority:
Normal(通常)
Assignee:
Target version:
Start date:
2020-04-06
Due date:
% Done:

70%

Estimated time:

Description

http://houou.github.io/api.php/index.html
ドキュメント製作時からの時間経過とともにソースのみ変更されてドキュメントの整備がされていないものが散見されるため、全体的に見直す必要がある。


Related issues 26 (1 open25 closed)

Related to OpenPNE 3 - Bug(バグ) #4448: JSON API activity/search.json が GET に対応していないWorks for me(再現せず)kaoru n2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4449: JSON API activity/member.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4450: JSON API activity/friends.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4451: JSON API activity/community.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4452: JSON API activity/post.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4453: JSON API activity/mentions.json が GET に対応していないInvalid(無効)kaoru n2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4454: JSON API member/community.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4455: JSON API member/search.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4456: JSON API member/friend_accept.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4457: JSON API member/friend_request.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4458: JSON API community/search.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4459: JSON API community/member.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4460: JSON API community/join.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4461: JSON API push/read.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4463: JSON API topic/delete.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4464: JSON API topic/search.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4465: JSON API topic_comment/post.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4466: JSON API topic_comment/delete.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4467: JSON API topic_comment/search.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4468: JSON API diary/delete が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to opDiaryPlugin - Bug(バグ) #4469: JSON API diary/search が 401 エラーになるAccepted(着手)kaoru n2020-06-22

Actions
Related to opDiaryPlugin - Bug(バグ) #4470: JSON API diary_comment/search が 401 エラーになるInvalid(無効)kaoru n2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4471: JSON API diary_comment/post が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4472: JSON API diary_comment/delete が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4473: JSON API activity/delete.json が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Related to OpenPNE 3 - Bug(バグ) #4475: JSON API diary/post が GET に対応していないWorks for me(再現せず)2020-06-22

Actions
Actions #1

Updated by kaoru n over 4 years ago

diary/search.json

エラー内容

サンプルリクエスト normal を実行すると下記エラーが発生する

400 Bad Request: invalid target

原因

実行時パラメータに 'target' が存在しないため
https://github.com/tejimaya/opDiaryPlugin/blob/dev-1.5.x/lib/action/opDiaryPluginAPIActions.class.php#L22-L60

Actions #2

Updated by isao sano over 4 years ago

JSON API ドキュメントの検証を行いました。
結果は以下の表です。

https://docs.google.com/spreadsheets/d/1OHcM1lTD_GHHd_KGvSQ5QY9LEtxv6nttidbV0qNMdAE/edit#gid=0

※API自体の修正時には個別にチケットを作成する必要あり

Actions #3

Updated by isao sano over 4 years ago

  • Status changed from New(新規) to Accepted(着手)
  • Assignee set to isao sano

https://github.com/houou/api.php/pull/11
にてPOSTのみを受け付けるAPIのサンプルリクエストを修正しました。

Actions #4

Updated by isao sano over 4 years ago

https://github.com/houou/api.php/pull/11
にてコミュニティイベントのページを追加しました。

Actions #5

Updated by isao sano over 4 years ago

  • Status changed from Accepted(着手) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50

https://github.com/houou/api.php/pull/11
にてmember/friend_request.json の内容を修正しました。

Actions #6

Updated by kaoru n over 4 years ago

https://docs.google.com/spreadsheets/d/1OHcM1lTD_GHHd_KGvSQ5QY9LEtxv6nttidbV0qNMdAE/edit#gid=0
のアクセス権をリンクを知っている全員が閲覧できるように変更してください。
編集権限は今のままで良いです。

Actions #7

Updated by kaoru n over 4 years ago

Actions #8

Updated by isao sano over 4 years ago

Actions #9

Updated by isao sano over 4 years ago

Actions #10

Updated by isao sano over 4 years ago

  • Related to Bug(バグ) #4450: JSON API activity/friends.json が GET に対応していない added
Actions #11

Updated by isao sano over 4 years ago

  • Related to Bug(バグ) #4451: JSON API activity/community.json が GET に対応していない added
Actions #12

Updated by isao sano over 4 years ago

Actions #13

Updated by isao sano over 4 years ago

  • Related to Bug(バグ) #4453: JSON API activity/mentions.json が GET に対応していない added
Actions #14

Updated by isao sano over 4 years ago

  • Related to Bug(バグ) #4454: JSON API member/community.json が GET に対応していない added
Actions #15

Updated by isao sano over 4 years ago

Actions #16

Updated by isao sano over 4 years ago

  • Related to Bug(バグ) #4456: JSON API member/friend_accept.json が GET に対応していない added
Actions #17

Updated by isao sano over 4 years ago

  • Related to Bug(バグ) #4457: JSON API member/friend_request.json が GET に対応していない added
Actions #18

Updated by isao sano over 4 years ago

  • Related to Bug(バグ) #4458: JSON API community/search.json が GET に対応していない added
Actions #19

Updated by isao sano over 4 years ago

  • Related to Bug(バグ) #4459: JSON API community/member.json が GET に対応していない added
Actions #20

Updated by isao sano over 4 years ago

Actions #21

Updated by isao sano over 4 years ago

Actions #22

Updated by isao sano over 4 years ago

Actions #23

Updated by isao sano over 4 years ago

Actions #24

Updated by isao sano over 4 years ago

  • Related to Bug(バグ) #4465: JSON API topic_comment/post.json が GET に対応していない added
Actions #25

Updated by isao sano over 4 years ago

  • Related to Bug(バグ) #4466: JSON API topic_comment/delete.json が GET に対応していない added
Actions #26

Updated by isao sano over 4 years ago

  • Related to Bug(バグ) #4467: JSON API topic_comment/search.json が GET に対応していない added
Actions #27

Updated by isao sano over 4 years ago

Actions #28

Updated by isao sano over 4 years ago

Actions #29

Updated by isao sano over 4 years ago

Actions #30

Updated by isao sano over 4 years ago

Actions #31

Updated by isao sano over 4 years ago

Actions #32

Updated by isao sano over 4 years ago

Actions #34

Updated by isao sano over 4 years ago

Actions #35

Updated by isao sano over 4 years ago

https://github.com/houou/api.php/pull/11
にてdiary/delete.json のパラメーター名を変更しました。

Actions #36

Updated by isao sano over 4 years ago

JSON API ドキュメントの検証を再度行い、最新の結果に更新しました。
https://docs.google.com/spreadsheets/d/1OHcM1lTD_GHHd_KGvSQ5QY9LEtxv6nttidbV0qNMdAE/edit#gid=0

Actions #37

Updated by isao sano about 4 years ago

https://github.com/houou/api.php/pull/11
にてdiary/post.json のサンプルリクエストの誤記を修正しました。

残りの問題は下記の3チケットです。

・https://redmine.openpne.jp/issues/4453

※下記の修正により現行のopTimelinePlugin ではスクリーンネームの設定が削除されています。
https://github.com/kashiwasan/opTimelinePlugin/issues/34

・https://redmine.openpne.jp/issues/4469

・https://redmine.openpne.jp/issues/4470

Actions #38

Updated by kaoru n almost 4 years ago

  • Status changed from Pending Review(レビュー待ち) to Fixed(完了)
  • % Done changed from 50 to 100
Actions #39

Updated by kaoru n almost 4 years ago

  • Status changed from Fixed(完了) to Rejected(差し戻し)
  • % Done changed from 100 to 50
Actions #40

Updated by kaoru n almost 4 years ago

  • Status changed from Rejected(差し戻し) to Fixed(完了)
  • % Done changed from 50 to 100
Actions #41

Updated by kaoru n almost 4 years ago

  • Status changed from Fixed(完了) to Rejected(差し戻し)
  • % Done changed from 100 to 50

参照: https://redmine.openpne.jp/issues/4453#note-6

curl でリクエストを投げる際に複数パラメータを「&」でつないで渡す場合は、「&」をエスケープしなければいけないので、サンプルリクエストの修正をお願いします。

Actions #42

Updated by isao sano almost 4 years ago

  • Status changed from Rejected(差し戻し) to Pending Testing(テスト待ち)
  • % Done changed from 50 to 70

に関して
https://github.com/houou/api.php/pull/12
にてプルリクエストしました。

Actions #43

Updated by isao sano almost 4 years ago

  • #4469#note-8
  • 「開発版API VER. 3.9.X〜」の表記の削除

に関しても
https://github.com/houou/api.php/pull/12
にてプルリクエストしました。

Actions

Also available in: Atom PDF