modules/{app}
POST {{base_url}}/{{base_path}}/modules/:app
Generated from a curl request:
curl -X POST '{{baseurl}}/{{basepath}}/modules/{{app}}' -H 'X-Joomla-Token: {{authapikey}}' -H 'Content-Type: application/json' -d '{access
:1
,assigned
:[101
,105
],assignment
:0
,"clientid:
0,
language:
*,
module:
modarticlesarchive,
note:
,
ordering:
1,
params:{
bootstrapsize:
0,
cache:
1,
cachetime:
900,
cachemode:
static,
count:
10,
headerclass:
,
headertag:
h3,
layout:
:default,
moduletag:
div,
moduleclasssfx:
,
style:
0},
position:
,
publishdown:
,
publish_up:
,
published:
1,
showtitle:
1,
title:
Title"}'
Request Body
{"access"=>"1", "assigned"=>["101", "105"], "assignment"=>"0", "client_id"=>"0", "language"=>"*", "module"=>"mod_articles_archive", "note"=>"", "ordering"=>"1", "params"=>{"bootstrap_size"=>"0", "cache"=>"1", "cache_time"=>"900", "cachemode"=>"static", "count"=>"10", "header_class"=>"", "header_tag"=>"h3", "layout"=>"_:default", "module_tag"=>"div", "moduleclass_sfx"=>"", "style"=>"0"}, "position"=>"", "publish_down"=>"", "publish_up"=>"", "published"=>"1", "showtitle"=>"1", "title"=>"Title"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |