プロジェクト

全般

プロフィール

Vote #78562

完了

Support wiki_page_title attribute in Versions REST API

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
REST API_32
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
32
version_id:
127
issue_org_id:
26237
author_id:
294196
assigned_to_id:
332
comments:
8
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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,




  
    1
    
    0.7
    
    closed
    2008-04-28
    2008-03-09T12:52:06+01:00
    2009-11-15T12:22:12+01:00    
    FooBarWikiPage
  


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
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)

<pre><code class="xml">
<?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>
</code></pre>

--------------------------------------------------------------------------------
LGTM. I updated a test.
Setting target version to 4.1.0.
--------------------------------------------------------------------------------
Is it possible to get this in 4.0.0? It's a small fix, so I guess it's not a problem to change the target release.
--------------------------------------------------------------------------------
I added PUT and POST tests to the test code written by Go MAEDA.
attachment:versions_api_wiki_page_title.diff works as expected.
--------------------------------------------------------------------------------
Committed the patches. Thank you for your contribution.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,10384,Versions REST API - Please add the WIKI field in the XML output

Admin Redmine さんが3年以上前に更新

  • カテゴリREST API_32 にセット
  • 対象バージョン4.1.0_127 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0