I have a large body of documentation that continues to grow each day. The growth is handled through templates that all have "multiexcerpt" macros on the pages. I am trying to create an API module that will update a "report" page for me to review for any pages where the multi excerpt macro has not yet been filled in (an indicator that the documentation is not yet complete).
When I try to update a page with the following XHTML storage format code I get a http500 Internal Server Error response. (I can update the page with just "text" just fine, it is only when I am trying to add a macro that I get the error)
{"version":{"number":17},"type":"page","title":"Report Example","id":"2330636946","body":{
"storage":{"value":
"<p><ac:structured-macro ac:name=\"multiexcerpt-include\" ac:schema-version=\"1\">
<ac:parameter ac:name=\"MultiExcerptName\">InfraSME</ac:parameter>
<ac:parameter ac:name=\"PageWithExcerpt\"><ac:link><ri:page ri:content-title=\"TheDocumentation\" /></ac:link></ac:parameter>
<ac:parameter ac:name=\"shouldDisplayInlineCommentsInIncludes\"> false </ac:parameter>
</ac:structured-macro></p>","representation":"storage"
}
}
}
Help?
I have opened support with AppFire and they directed me back to general Atlassian support as they believe this is an API issue.