プロジェクト

全般

プロフィール

Vote #70908

完了

CRUD operations for "Issue categories" in REST API

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

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

10%

予定工数:
category_id:
32
version_id:
36
issue_org_id:
9553
author_id:
7834
assigned_to_id:
1
comments:
5
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

journals

r7880 lets you retrieve issue categories using: GET /projects/id.xml?include=issue_categories
--------------------------------------------------------------------------------
Done in r7882. See [[Rest_IssueCategories]].
--------------------------------------------------------------------------------
Not sure that the @:shallow => true@ is effective here (in r7881) since it is designed to apply to nested resources.
I already had a doubt for project news.
--------------------------------------------------------------------------------
I don't get it. Categories are nested resources, aren't they?
The @:shallow => true@ shortens the url for a category (eg: @/issue_categories/5@ instead of @/projects/foo/issue_categories/5@).
--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> I don't get it. Categories are nested resources, aren't they?
> The @:shallow => true@ shortens the url for a category (eg: @/issue_categories/5@ instead of @/projects/foo/issue_categories/5@).

I guess you're right, I didn't make any test on my own; I guess I've been fooled by RoR documentation example where @:shallow@ option is set at parent (project) level.

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

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

  • カテゴリREST API_32 にセット
  • 対象バージョン1.3.0_36 にセット

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

いいね!0
いいね!0