group resources
API Support | Available since | Last updated | Output |
---|---|---|---|
4.9023 | 6.0009 | xml |
Description
Creates or updates a project resource.
The location parameter must be the location of the resource to create relative to the web app folder. For example:
/WEB-INF/config/template/myproject/config/project.properties
/WEB-INF/config/template/myproject/psml/spec/style/document.css
/WEB-INF/config/template/myproject/organization/style/logo.svg
Only resources which are not part of the default template can be created or updated.
Any files under a style
folder are publicly accessible without authentication.
Parameters
Name | Description | Required | Type | Default |
---|---|---|---|---|
location | The path to the project resource to update from the Web container root | yes | path | |
content | The actual content of the resource. DEPRECATED use enclosed entity content of the request | maybe | string | |
overwrite | A flag to allow overwriting of existing resources | no | boolean | false |
Permission
This service requires administrator except that project manager is allowed when the location filename is one of: document-template.psml
, document-config.xml
, publish-config.xml
, xref-config.xml
, publication-config.xml
, editor-config.xml
, document.css
, media-template.psml
, pdf-export-config.xml
, word-export-config.xml
, word-import-config.xml
, psml-split-config.xml
,
project.properties
, *.sch
or /member/*.xml
.
Response
<file name="[name]" path="[path]" type="[folder|file]" mediatype="[mediatype]" status="[forbidden| created| modified| not-modified]" />
The actual content of the resource must be in the enclosed entity content of the request.
Error Handling
No specific errors expected for this service.