Project

General

Profile

Bug(バグ) #4470

JSON API diary_comment/search が 401 エラーになる

Added by isao sano over 2 years ago. Updated almost 2 years ago.

Status:
Invalid(無効)
Priority:
Normal(通常)
Assignee:
Target version:
Start date:
2020-06-22
Due date:
% Done:

0%

3.6 で発生するか:
Unknown (未調査)
[QA]バグ通知済:
No
3.8 で発生するか:
Yes (はい)

Description

概要

JSON API diary_comment/search が

401 Unauthorized: apiKey parameter not specified.

となる


Related issues

Related to OpenPNE 3 - Task(タスク) #4433: JSON API ドキュメントの見直しと修正 Pending Testing(テスト待ち) 2020-04-06

History

#1 Updated by isao sano over 2 years ago

#2 Updated by kaoru n over 2 years ago

  • Target version changed from OpenPNE 3.10.x to OpenPNE 3.11.x

#3 Updated by isao sano over 2 years ago

400 Bad Request: invalid target と表示される

#4 Updated by kaoru n almost 2 years ago

  • Project changed from OpenPNE 3 to opDiaryPlugin
  • Target version deleted (OpenPNE 3.11.x)
  • [QA]バグ通知済 set to No

#5 Updated by kaoru n almost 2 years ago

  • Target version set to dev-1.5.x

#6 Updated by kaoru n almost 2 years ago

  • Status changed from New(新規) to Accepted(着手)
  • Assignee set to kaoru n

#7 Updated by isao sano almost 2 years ago

確認環境

http://apitest2.sano.dazai3.pne.jp
※ opDiaryPlugin dev-1.5.x

確認方法

下記の api を実行

curl http://apitest2.sano.dazai3.pne.jp/api.php/diary/search.json?apiKey=5dae2152d959494456d9e00ccd91aa55797ad8529e1be2d7e7b5306f975c23fb\&id=1

結果

400 Bad Request: invalid target

#8 Updated by isao sano almost 2 years ago

#note-7 にて api を間違えていました。
下記の api を実行で succes しました

curl http://apitest.sano.dazai3.pne.jp/diary_comment/apiKey=5dae2152d959494456d9e00ccd91aa55797ad8529e1be2d7e7b5306f975c23fb\&diary_id=1

#9 Updated by kaoru n almost 2 years ago

  • Status changed from Accepted(着手) to Invalid(無効)

#4433-41
上記チケットにてドキュメント修正で対応してください。
このチケットは終了します。

Also available in: Atom PDF