Feature #10384
closedVersions REST API - Please add the WIKI field in the XML output
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
Related issues
       Updated by Yannick SAVANIER over 13 years ago
      Updated by Yannick SAVANIER over 13 years ago
      
    
    
    Here is the patch to solve the issue.
       Updated by Yannick SAVANIER over 13 years ago
      Updated by Yannick SAVANIER over 13 years ago
      
    
    - Status changed from New to Resolved
       Updated by Jean-Philippe Lang over 13 years ago
      Updated by Jean-Philippe Lang over 13 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 13 years ago
      Updated by Jean-Philippe Lang over 13 years ago
      
    
    - Tracker changed from Defect to Feature
       Updated by Brice Beaumesnil over 13 years ago
      Updated by Brice Beaumesnil over 13 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 13 years ago
      Updated by Brice Beaumesnil over 13 years ago
      
    
    
    It's done in this patch
       Updated by Brice Beaumesnil over 13 years ago
      Updated by Brice Beaumesnil over 13 years ago
      
    
    
    sorry i forgot an underscore in show.api.rsb file.
       Updated by Yannick SAVANIER over 13 years ago
      Updated by Yannick SAVANIER over 13 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 13 years ago
      Updated by Etienne Massip over 13 years ago
      
    
    - Assignee deleted (Yannick SAVANIER)
       Updated by Jonas De Meulenaere over 13 years ago
      Updated by Jonas De Meulenaere over 13 years ago
      
    
    - Assignee deleted (Jonas De Meulenaere)
       Updated by onalbertsopr billaa over 13 years ago
      Updated by onalbertsopr billaa over 13 years ago
      
    
    - Assignee set to Jean-Baptiste Barth
       Updated by RedminePro Yang over 13 years ago
      Updated by RedminePro Yang over 13 years ago
      
    
    Please show "sharing", "status" value of Version in the json output
       Updated by Yannick SAVANIER over 13 years ago
      Updated by Yannick SAVANIER over 13 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 13 years ago
      Updated by Yannick SAVANIER over 13 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 13 years ago
      Updated by Yannick SAVANIER over 13 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 13 years ago
      Updated by Jean-Philippe Lang over 13 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 over 12 years ago
      Updated by Benoit Duffez over 12 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 6 years ago
      Updated by Go MAEDA over 6 years ago
      
    
    - Related to Feature #26237: Support wiki_page_title attribute in Versions REST API added
       Updated by Go MAEDA over 6 years ago
      Updated by Go MAEDA over 6 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.