Article - CS429272

Need an API request for wysiwyg/convertHTMLToWiki.spr and the other way around: Wiki to html in Codebeamer

Modified: 18-Oct-2024   


Applies To

  • Codebeamer 2.0 to 2.2

Description

  • Need an API request for wysiwyg/convertHTMLToWiki.spr and the other way around: Wiki to html. 
  • Requirement to convert HTML snippets to wikitext for posting as items via API.
  • Frontend running an HTML editor requires conversion to markup.
  • Previous method used an unofficial API call: <baseURL>/cB/wysiwyg/convertHTMLToWiki.spr.
  • Conversion needed for HTML content from an Angular Frontend Editor to wikitext.
  • Posting converted content via Swagger API to Codebeamer instance as a new item.
This is a printer-friendly version of Article 429272 and may be out of date. For the latest version click CS429272