Feature #10384
closedVersions REST API - Please add the WIKI field in the XML output
Added by Yannick SAVANIER over 12 years ago. Updated over 5 years ago.
0%
Description
Hi,
Actualy the Versions REST API isn't sending the wiki page linked to the version and thus we have to extrapolate the wiki adress based on the version's name, hoping the syntax is the same...
Files
redmine-versions-api-wiki.patch (926 Bytes) redmine-versions-api-wiki.patch | wiki patch for versions REST API | Yannick SAVANIER, 2012-03-07 09:35 | |
redmine_versions_wiki_page.patch (1.69 KB) redmine_versions_wiki_page.patch | Brice Beaumesnil, 2012-03-08 09:35 | ||
redmine_versions_wiki_page.patch (1.7 KB) redmine_versions_wiki_page.patch | Brice Beaumesnil, 2012-03-08 09:39 |
Related issues
Updated by Yannick SAVANIER over 12 years ago
Here is the patch to solve the issue.
Updated by Yannick SAVANIER over 12 years ago
- Status changed from New to Resolved
Updated by Jean-Philippe Lang over 12 years ago
I don't know. I don't like to version/wiki_page mechanism very much and I'd find awkward to put this logic in the API. I'd prefer to add the wiki page content as an attribute of the version in the API (eg. full_description or something). Maybe on the UI as well.
Updated by Jean-Philippe Lang over 12 years ago
- Tracker changed from Defect to Feature
Updated by Brice Beaumesnil over 12 years ago
something like this in index.api.rsb ?
api.full_description version.wiki_page.content.text if version.wiki_page
Updated by Brice Beaumesnil over 12 years ago
It's done in this patch
Updated by Brice Beaumesnil over 12 years ago
sorry i forgot an underscore in show.api.rsb file.
Updated by Yannick SAVANIER over 12 years ago
Thank you Jean-Philippe for this suggestion as it seems more efficient.
Thank you Brice for the update.
I hope this will get to the next release :)
Updated by Etienne Massip over 12 years ago
- Assignee deleted (
Yannick SAVANIER)
Updated by Jonas De Meulenaere over 12 years ago
- Assignee deleted (
Jonas De Meulenaere)
Updated by onalbertsopr billaa over 12 years ago
- Assignee set to Jean-Baptiste Barth
Updated by RedminePro Yang over 12 years ago
Please show "sharing", "status" value of Version in the json output
Updated by Yannick SAVANIER over 12 years ago
Are you planning adding those 2 lines of code anytime soon ?
Could you tell us what we can do to help you to solve this issue ?
Don't hesitate asking.
Cheers :)
Updated by Yannick SAVANIER over 12 years ago
- Assignee changed from Jean-Baptiste Barth to Etienne Massip
This onalbertsopr billaa did assign this issue to a man who logged last year...
Updated by Yannick SAVANIER over 12 years ago
- Assignee set to Jean-Philippe Lang
Hi sorry of poking you this way but could you please give us feedback about the patch provided so we can do what is still needed for this issue to be resolved ?
Thank you.
Updated by Jean-Philippe Lang over 12 years ago
The patch does not allow to update the full description. Does it make sense to add it to the API as read-only?
Updated by Benoit Duffez about 11 years ago
Allow me to bump this: it's not implemented in Redmine, yet I feel like it is missing.
The versions REST API doesn't return the associated wiki page in read mode.
Read-only access would be a start, while RW access would of course be better!
Thanks.
Updated by Go MAEDA over 5 years ago
- Related to Feature #26237: Support wiki_page_title attribute in Versions REST API added
Updated by Go MAEDA over 5 years ago
- Status changed from New to Closed
- Assignee deleted (
Jean-Philippe Lang) - Resolution set to Fixed
Versions API returns associated wiki page name after r18091. It will be delivered in Redmine 4.1.0.