Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Request Header Parameters

Authorisation is required.

Request Parameters

...

Code Block
languagejson
{
    "name": "Embed Video Via API",
    "description": "Added via api",
    "composite_attributes": {
        "body": "<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/AWvdpouEl0w\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe><iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/vJmQUy6lV2c\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe><iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/_NYgl-qzYPI\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>"
    },
    "community_ids": [
        <valid_community_id>
    ]
}

...

...

Request body example (HTML in article body):

Code Block
languagejson
{
    "name": "Acer SpatialLabs™ View/Pro RMA solution (Qisda DS1) NEW",
    "description": "added via api",
    "composite_attributes": {
        "body": "<h1><span style=\"font-size: 24px;\">Monthly CSD Report</span></h1><table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" style=\"width: 900px;\"><tbody id=\"technical_news_table\"><tr><td style=\"width: 240px; text-align: center;\"><div class=\"info\"><span style=\"font-size:20px;\">Update Date</span></div></td><td style=\"width: 544px; text-align: center;\"><div class=\"info\"><span style=\"font-size:20px;\">Subject</span></div></td><td style=\"text-align: center; width: 128px;\"><div class=\"info\"><span style=\"font-size:20px;\">Version</span></div></td><td style=\"width: 138px; text-align: center;\"><div class=\"info\"><span style=\"font-size:20px;\">Owner</span></div></td><td style=\"width: 89px; text-align: center;\"> <div class=\"info\"><span style=\"font-size:20px;\">Link</span></div></td></tr><tr><td style=\"text-align: center; width: 240px;\">2020/05/22</td><td style=\"width: 544px;\">2020 Jan. CSD Monthly Report</td><td style=\"width: 128px; text-align: center;\">V0.1</td><td style=\"width: 138px; text-align: center;\">Vivian Lo</td><td style=\"width: 89px; text-align: center;\"><a href=https://dzf8vqv24eqhg.cloudfront.net/userfiles/14618/18978/ckfinder/files/PAPcsd012020.pdf>Link</a></td></tr><tr><td style=\"width: 240px; text-align: center;\">2020/05/22</td><td style=\"width: 544px;\">2020 Feb. CSD Monthly Report</td><td style=\"width: 128px; text-align: center;\">V0.1</td><td style=\"width: 138px; text-align: center;\">Vivian Lo</td><td style=\"width: 89px; text-align: center;\"><a href=https://dzf8vqv24eqhg.cloudfront.net/userfiles/14618/18978/ckfinder/files/PAPcsd022020.pdf>Link</a></td></tr><tr><td style=\"text-align: center; width: 240px;\">2020/05/22</td><td style=\"width: 544px;\">2020 Mar. CSD Monthly Report</td><td style=\"width: 128px; text-align: center;\">V0.1</td><td style=\"width: 138px; text-align: center;\">Vivian Lo</td><td style=\"width: 89px; text-align: center;\"><p><a href=https: //dzf8vqv24eqhg.cloudfront.net/userfiles/14618/18978/ckfinder/files/PAPcsd032020.pdf>Link</a></p></td></tr>"
    },
    "community_ids": [
        <valid_community_id>
    ]
}

...