Project

General

Profile

Actions

Feature #31521

open

Make REST API for users incremental with plugins

Added by Alexander Meindl almost 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

At the moment there is no way to add custom values to REST api output for users. This patch adds a helper function to show.api and index.api, which can be overwritten by plugins to add new entries.

E.g. Some plugins like redmine_git_hosting overwrites theses templates, because there is no other way at the moment. Problem is, if two or more plugins wants to add values.


Files

user_api.patch (2.9 KB) user_api.patch Alexander Meindl, 2019-06-05 17:55
Actions #1

Updated by Alexander Meindl almost 5 years ago

Same solution is already included for projects with render_api_includes.

Actions

Also available in: Atom PDF