We are using the Confluence v2 API to retrieve page content.
Previously, when calling: /wiki/api/v2/pages/{id}?body-format=view the response included GitLab macro information, which allowed us to call the GitLab API and fetch the related file details.
Recently, this endpoint only returns a placeholder like: <div>GitLab File</div> and the GitLab metadata is missing.
Hello and welcome to Atlassian community @jobin
Which GitLab integration is this Atlassian's native GitLab Smart Link, or a Marketplace GitLab macro/app?
And btw. Could you try retrieving the same page/version with:
?body-format=atlas_doc_format
and, for comparison:
?body-format=storage
Best,
Arek 🤠
We are using the GitLab Marketplace app/macro. The structure of ?body-format=atlas_doc_format is different from body-format=view. With body-format=view, the other macros work fine — only the GitLab-related items are missing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Given your confirmation that this is a Marketplace application, I recommend raising this with the application vendor. Specifically, inquire whether there have been recent changes to the REST or static representation of their GitLab macro.
If the vendor confirms that nothing changed on their side and this is caused by a Confluence rendering/API change, then I think it would make sense for you to involve Atlassian Support.
Other way we will go too deep into guessing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.