プロジェクト

全般

プロフィール

Vote #71594

未完了

JSON property key for assignee is not unique in REST_API

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
REST API_32
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
32
version_id:
0
issue_org_id:
10583
author_id:
50974
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
41
ステータス-->[New]

説明

When using the JSON-based version of the Redmine REST API for CRUD operations of issues, the JSON key for the assignee of the issue is not unique:
for creation, one needs to use "assigned_to_id"; when retrieving issues, though, the assignee's id is transmitted using the key "assigned_to".

In java-based clients (for instance the Redmine Java API), this makes usage of Gson for parsing and creating JSON code that is accepted by Redmine pretty hard, as Gson uses a (single) annotation on the members for specifying that kind of serialization information.


journals

--------------------------------------------------------------------------------

Admin Redmine さんがほぼ4年前に更新

  • カテゴリREST API_32 にセット

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

いいね!0
いいね!0