Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

show.api.rsb 518B

123456789101112131415161718
  1. api.wiki_page do
  2. api.title @page.title
  3. if @page.parent
  4. api.parent :title => @page.parent.title
  5. end
  6. api.text @content.text
  7. api.version @content.version
  8. api.author(:id => @content.author_id, :name => @content.author.name)
  9. api.comments @content.comments
  10. api.created_on @page.created_on
  11. api.updated_on @content.updated_on
  12. api.array :attachments do
  13. @page.attachments.each do |attachment|
  14. render_api_attachment(attachment, api)
  15. end
  16. end if include_in_api_response?('attachments')
  17. end