...
Info |
---|
Please refer to the Response Codes page for more information. |
Example requests
...
Request URL
...
example:
Code Block |
---|
https://<instance_name>.fuseuniversal.com/api/v4.4/contents/article?auth_token=<valid_auth_token> |
...
Request body example (basic article body):
Code Block | ||
---|---|---|
| ||
{ "name": "API content", "description": "Created With API", "composite_attributes": { "body": "This is a body of an article posted with the API" }, "community_ids": [<valid_community_id>] } |
...
...
Request body example (embed video in article body):
Code Block | ||
---|---|---|
| ||
{ "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>" }, "community_ids": [<valid_community_id>] } |
...
...
Request body example (Embed multiple videos in article body):
Code Block | ||
---|---|---|
| ||
{ "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> ] } |
...