fields/content/categories

POST {{base_url}}/{{base_path}}/fields/content/categories

Generated from a curl request: curl -X POST '{{base url}}/{{base path}}/fields/content/categories' -H 'X-Joomla-Token: {{auth apikey}}' -H 'Content-Type: application/json' -d '{ access :1, context :"com content.categories , default value : , description : , group id :0, label : content category field , language : * , name : content-category-field , note : , params :{ class : , display : 2 , display readonly : 2 , hint : , label class : , label render class : , layout : , prefix : , render class : , show on : , showlabel : 1 , suffix : }, fieldparams :{ filter : alnum , maxlength :40}, required :0, state :1, title : content category field , type : text"}'

Request Body

{"access"=>1, "context"=>"com_content.categories", "default_value"=>"", "description"=>"", "group_id"=>0, "label"=>"content category field", "language"=>"*", "name"=>"content-category-field", "note"=>"", "params"=>{"class"=>"", "display"=>"2", "display_readonly"=>"2", "hint"=>"", "label_class"=>"", "label_render_class"=>"", "layout"=>"", "prefix"=>"", "render_class"=>"", "show_on"=>"", "showlabel"=>"1", "suffix"=>""}, "fieldparams"=>{"filter"=>"alnum", "maxlength"=>40}, "required"=>0, "state"=>1, "title"=>"content category field", "type"=>"text"}

HEADERS

| Key | Datatype | Required | Description | | Content-Type | string | | |

RESPONSES

status: ``