Feature #26237

REST API for related wiki page in version

Added by Masahiro Kitagawa 7 months ago. Updated 27 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:4.1.0
Resolution:

Description

According to below wiki, there is no way to access version's related wiki page.("version_wiki_page_title")

Rest_Versions

We expect more extended REST API like follows,

<?xml version="1.0" encoding="UTF-8"?>
<versions type="array" total_count="34">
  <version>
    <id>1</id>
    <project name="Redmine" id="1"/>
    <name>0.7</name>
    <description/>
    <status>closed</status>
    <due_date>2008-04-28</due_date>
    <created_on>2008-03-09T12:52:06+01:00</created_on>
    <updated_on>2009-11-15T12:22:12+01:00</updated_on>    
    <version_wiki_page_title>FooBarWikiPage</version_wiki_page_title>
  </version>
</versions>

versions_api_wiki_page_title.diff Magnifier - Patch for Version API (1.73 KB) Severin Schols, 2017-12-19 02:25

26237-test-update.diff Magnifier (893 Bytes) Go MAEDA, 2017-12-24 05:28

History

#1 Updated by Go MAEDA 7 months ago

  • Category set to REST API

#2 Updated by Toshi MARUYAMA 6 months ago

  • Description updated (diff)

#3 Updated by Severin Schols about 1 month ago

Just ran into the same thing, and decided to get a fix in place right away. This works for us. Output is not exactly as shown above, but like this (taking the same data as example)

<?xml version="1.0" encoding="UTF-8"?>
<versions type="array" total_count="34">
  <version>
    <id>1</id>
    <project name="Redmine" id="1"/>
    <name>0.7</name>
    <description/>
    <status>closed</status>
    <due_date>2008-04-28</due_date>
    <created_on>2008-03-09T12:52:06+01:00</created_on>
    <updated_on>2009-11-15T12:22:12+01:00</updated_on>    
    <wiki_page_title>FooBarWikiPage</wiki_page_title>
  </version>
</versions>

#4 Updated by Go MAEDA 27 days ago

LGTM. I updated a test.
Setting target version to 4.1.0.

Also available in: Atom PDF