Project

General

Profile

Actions

Patch #15986

open

Hook for REST API

Added by Kirill Bezrukov (RedmineUP) about 12 years ago. Updated 10 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-

Description

Would be nice if issue (and other API objects) will have hooks for adding specific data to the API output.

call_hook(:api_issue_show, :issue => @issue)

Files

api_hooks.patch (2.86 KB) api_hooks.patch Kirill Bezrukov (RedmineUP), 2014-01-28 15:31

Related issues

Related to Redmine - Feature #26045: Does API REST show fields added by plugins?NewActions
Actions #1

Updated by Hashem Nasarat about 8 years ago

The provided patch looks reasonable to me.

I found this because I was looking for a way to get the tags associated with a ticket via the rest api.
(Kirill, I'm using your Redmineup Tags plugin -- thanks!)

Maintainers, please can we merge this in? I don't want to have to resort to scaping the Issues page.

I see others are requesting this feature as well #26045 (should probably be closed as duplicate/rejected)

Actions #2

Updated by Mischa The Evil about 8 years ago

  • Related to Feature #26045: Does API REST show fields added by plugins? added
Actions #3

Updated by Stephan Meyer 10 days ago

Hello everyone,
is there any update on this ticket?
I’d also like to know if there is already an estimated timeframe for the implementation.
Thanks in advance!

Actions

Also available in: Atom PDF