##// END OF EJS Templates
Lists can be reordered with drag and drop (#12909)....
Lists can be reordered with drag and drop (#12909). git-svn-id: http://svn.redmine.org/redmine/trunk@15336 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12015:71b43ea1c7c1
r14954:42b5c332b2c2
Show More
show.api.rsb
18 lines | 518 B | text/plain | TextLexer
Jean-Philippe Lang
REST API for retrieving wiki pages (#7082)....
r10504 api.wiki_page do
api.title @page.title
if @page.parent
api.parent :title => @page.parent.title
end
api.text @content.text
api.version @content.version
api.author(:id => @content.author_id, :name => @content.author.name)
Jean-Philippe Lang
Wiki Pages REST API with version returns wrong comments (#15235)....
r12015 api.comments @content.comments
Jean-Philippe Lang
REST API for retrieving wiki pages (#7082)....
r10504 api.created_on @page.created_on
api.updated_on @content.updated_on
Jean-Philippe Lang
Adds ?include=attachments option when retrieving a wiki page with the REST API (#7082)....
r10506
api.array :attachments do
@page.attachments.each do |attachment|
render_api_attachment(attachment, api)
end
end if include_in_api_response?('attachments')
Jean-Philippe Lang
REST API for retrieving wiki pages (#7082)....
r10504 end