Project

General

Profile

Actions

Defect #42173

closed

getting "include"-data via REST-API doesn't work

Added by Nicolai Schirawski 3 months ago. Updated 3 months ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

When calling the api, all "include"-data ist missing.

I called the api like: /projects/12.xml?include=trackers,issue_categories
Checking xml and json,
checking different tables,
checking different includes
none ever gave back any included data.

The requesting user is admin.

Also (since I primarily want to see time_entry_activities), calling the endpoint /enumerations/time_entry_activities.xml
only delivers a very short list.
It looks like, in this list, only some basic time_entry_activities are listed.
Every new project seems to create its own time_entry_activities that are not shown.

A workaround to show the project-specific time_entry_activities would also do.

System information:
Environment:
Redmine version 3.4.13.stable
Ruby version 2.4.10-p364 (2020-03-31) [x86_64-linux-musl]
Rails version 4.2.11.1
Environment production
Database adapter Mysql2
SCM:
Subversion 1.12.2
Mercurial 4.9.1
Bazaar 2.7.0
Git 2.22.2
Filesystem
Redmine plugins:
progressive_projects_list 4.0.0
redmine_editauthor 0.11.0
redmine_messenger 1.0.5
redmine_shady 0.7.0

Actions

Also available in: Atom PDF