newsfeeds/feeds
POST {{base_url}}/{{base_path}}/newsfeeds/feeds
Generated from a curl request:
curl -X POST '{{baseurl}}/{{basepath}}/newsfeeds/feeds' -H 'X-Joomla-Token: {{authapikey}}' -H 'Content-Type: application/json' -d '{access
:1,alias
:alias
,catid
:5,description
:",
images:{
floatfirst:
,
floatsecond:
,
imagefirst:
,
imagefirstalt:
,
imagefirstcaption:
,
imagesecond:
,
imagesecondalt:
,
imagesecondcaption:
},
language:
*,
link:
http://samoylov/joomla/gsoc19webservices/index.php,
metadata:{
hits:
,
rights:
,
robots:
,
tags:{
tags:
,
typeAlias:null}},
metadesc:
,
metakey:
,
name:
Name,
ordering:1,
params:{
feedcharactercount:
,
feeddisplayorder:
,
newsfeedlayout:
,
showfeeddescription:
,
showfeedimage:
,
showitem_description:
},
published":1}'
Request Body
{"access"=>1, "alias"=>"alias", "catid"=>5, "description"=>"", "images"=>{"float_first"=>"", "float_second"=>"", "image_first"=>"", "image_first_alt"=>"", "image_first_caption"=>"", "image_second"=>"", "image_second_alt"=>"", "image_second_caption"=>""}, "language"=>"*", "link"=>"http://samoylov/joomla/gsoc19_webservices/index.php", "metadata"=>{"hits"=>"", "rights"=>"", "robots"=>"", "tags"=>{"tags"=>"", "typeAlias"=>nil}}, "metadesc"=>"", "metakey"=>"", "name"=>"Name", "ordering"=>1, "params"=>{"feed_character_count"=>"", "feed_display_order"=>"", "newsfeed_layout"=>"", "show_feed_description"=>"", "show_feed_image"=>"", "show_item_description"=>""}, "published"=>1}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |