Hi there! I am trying to create page with link to another Confluence page using rest API. In storage format link macros is
<ac:link><ri:page ri:content-title="{ref}" /><ac:plain-text-link-body><![CDATA[{name}]]></ac:plain-text-link-body></ac:link>where
{ref} - Title another confluence page
{name} - Showed link name
But this doesn't work for me. When i am trying to create page with API using this code i getting error.
I have found another example which works for me
<ac:link><ri:page ri:content-title="{ref}" /></ac:link>where
{ref} - Title another confluence page
but i can't set link name.
How i can create link to another Confluence page with link name setting?
P. s.
Common link creating is not suitable for me
<a href="{ref}">{name}</a>