Project

General

Profile

Actions

Feature #10384

closed

Versions REST API - Please add the WIKI field in the XML output

Added by Yannick SAVANIER about 12 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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...


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

Related to Redmine - Feature #26237: Support wiki_page_title attribute in Versions REST APIClosedGo MAEDA

Actions
Actions #1

Updated by Yannick SAVANIER about 12 years ago

Here is the patch to solve the issue.

Actions #2

Updated by Yannick SAVANIER about 12 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Etienne Massip about 12 years ago

  • Status changed from Resolved to New
Actions #4

Updated by Jean-Philippe Lang about 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.

Actions #5

Updated by Jean-Philippe Lang about 12 years ago

  • Tracker changed from Defect to Feature
Actions #6

Updated by Brice Beaumesnil about 12 years ago

something like this in index.api.rsb ?

api.full_description version.wiki_page.content.text if version.wiki_page
Actions #8

Updated by Brice Beaumesnil about 12 years ago

sorry i forgot an underscore in show.api.rsb file.

Actions #9

Updated by Yannick SAVANIER about 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 :)

Actions #10

Updated by clgroschmu billaa about 12 years ago

  • Assignee set to Yannick SAVANIER

-

Actions #11

Updated by Etienne Massip about 12 years ago

  • Assignee deleted (Yannick SAVANIER)
Actions #12

Updated by akestomm aifseng about 12 years ago

  • Assignee set to Jonas De Meulenaere

-

Actions #13

Updated by Jonas De Meulenaere about 12 years ago

  • Assignee deleted (Jonas De Meulenaere)
Actions #14

Updated by rosturad John about 12 years ago

  • Assignee set to Maxim Krušina

-

Actions #15

Updated by Etienne Massip about 12 years ago

  • Assignee deleted (Maxim Krušina)
Actions #16

Updated by onalbertsopr billaa about 12 years ago

  • Assignee set to Jean-Baptiste Barth
Actions #17

Updated by RedminePro Yang about 12 years ago

Please show "sharing", "status" value of Version in the json output

Actions #18

Updated by Yannick SAVANIER about 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 :)

Actions #19

Updated by Yannick SAVANIER about 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...

Actions #20

Updated by Etienne Massip about 12 years ago

  • Assignee deleted (Etienne Massip)
Actions #21

Updated by Yannick SAVANIER almost 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.

Actions #22

Updated by Jean-Philippe Lang almost 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?

Actions #23

Updated by Benoit Duffez almost 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.

Actions #24

Updated by Go MAEDA almost 5 years ago

  • Related to Feature #26237: Support wiki_page_title attribute in Versions REST API added
Actions #25

Updated by Go MAEDA almost 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.

Actions

Also available in: Atom PDF