プロジェクト

全般

プロフィール

Vote #75458

完了

Include enabled modules in projects API

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

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

90%

予定工数:
category_id:
32
version_id:
81
issue_org_id:
17602
author_id:
347
assigned_to_id:
1188
comments:
4
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

For some API use cases, it will certainly be helpful to find out which modules are enabled in a project. It is at least for a new feature we're developing at "Planio":https://plan.io/redmine-hosting. But in general, every API client which uses - let's say the issues API - should be able to check beforehand, if the issue tracking module is active in a particular project or not.

This patch adds @enabled_modules@ to the @projects#show@ API. They will be shown only if the @include=enabled_modules@ URL parameter is used. The behaviour is exactly the same as for issue categories and trackers.

And while we're at it, it also makes the @include=...@ URL parameters (for issue categories, trackers and enabled modules) available in the @projects#index@ API.

Tests are included, only needs merging :)


journals

--------------------------------------------------------------------------------
Good addition and I don't think it needs much discussion.

So indeed, just needed merging ;) Thanks!
--------------------------------------------------------------------------------

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

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


related_issues

relates,Closed,10651,Add More Information in Project API listing
duplicates,Closed,8545,"get projects" REST API response should handle "include=trackers" parameter

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

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

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

いいね!0
いいね!0