##// END OF EJS Templates
Introduce virtual MenuNodes (#15880)....
Introduce virtual MenuNodes (#15880). They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12015:71b43ea1c7c1
r15119:53710d80fc88
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