Feature #10384
Versions REST API - Please add the WIKI field in the XML output
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | REST API | |||
Target version: | - | |||
Resolution: | Fixed |
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...
Related issues
History
#1
Updated by Yannick SAVANIER about 10 years ago
- File redmine-versions-api-wiki.patch
added
Here is the patch to solve the issue.
#2
Updated by Yannick SAVANIER about 10 years ago
- Status changed from New to Resolved
#3
Updated by Etienne Massip about 10 years ago
- Status changed from Resolved to New
#4
Updated by Jean-Philippe Lang about 10 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.
#5
Updated by Jean-Philippe Lang about 10 years ago
- Tracker changed from Defect to Feature
#6
Updated by Brice Beaumesnil about 10 years ago
something like this in index.api.rsb ?
api.full_description version.wiki_page.content.text if version.wiki_page
#7
Updated by Brice Beaumesnil about 10 years ago
- File redmine_versions_wiki_page.patch
added
It's done in this patch
#8
Updated by Brice Beaumesnil about 10 years ago
- File redmine_versions_wiki_page.patch
added
sorry i forgot an underscore in show.api.rsb file.
#9
Updated by Yannick SAVANIER about 10 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 :)
#11
Updated by Etienne Massip about 10 years ago
- Assignee deleted (
Yannick SAVANIER)
#13
Updated by Jonas De Meulenaere about 10 years ago
- Assignee deleted (
Jonas De Meulenaere)
#15
Updated by Etienne Massip about 10 years ago
- Assignee deleted (
Maxim Krušina)
#16
Updated by onalbertsopr billaa about 10 years ago
- Assignee set to Jean-Baptiste Barth
#17
Updated by RedminePro Yang about 10 years ago
Please show "sharing", "status" value of Version in the json output
#18
Updated by Yannick SAVANIER about 10 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 :)
#19
Updated by Yannick SAVANIER about 10 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...
#20
Updated by Etienne Massip about 10 years ago
- Assignee deleted (
Etienne Massip)
#21
Updated by Yannick SAVANIER about 10 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.
#22
Updated by Jean-Philippe Lang about 10 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?
#23
Updated by Benoit Duffez almost 9 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.
#24
Updated by Go MAEDA about 3 years ago
- Related to Feature #26237: Support wiki_page_title attribute in Versions REST API added
#25
Updated by Go MAEDA about 3 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.