get uri publish config
/members/{member}/groups/{group}/uris/{uri}/publishconfig [GET]
| API Support | Available since | Last updated | Output |
|---|---|---|---|
| 4.8103 | 6.2000 | xml |
Description
Gets the publish config for a URI.
Parameters
| Name | Description | Required | Type | Default |
|---|---|---|---|---|
| type | A comma-separated list of action types to include – all if not specified (export,publish,process,upload,upload-preview) | no | string | |
| source | A comma-separated list of source types to include – defaults to group, folder, or document depending on URI and can also be publication | no | string | group |
Permission
This service requires guest or higher unless the group is public.
Response
The output has the following format:
<publish-config manager-in-project="[true|false]">
<publishing project="acme">
<action type="export">
<source type="document"
extension="psml"
document-type="type2"/>
<target name="export-psml"
perspective="developer"
role="contributor">
<description>Type 2 Export</description>
<param name="isbn"
type="text"
label="ISBN"
placeholder="Enter a valid ISBN
13 number (97xxxxxxxxxxx)"
pattern="97[89][0-9]{10}"/>
<param name="in-stock"
type="checkbox"
label="In Stock"
perspective="developer"/>
<param name="language"
type="select"
label="Language">
<value>English</value>
<value>French</value>
<value>Spanish</value>
</param>
</target>
</action>
...
</publishing>
<publishing project="default"> ... </publishing>
</publish-config>
Error Handling
| Code | Cause / Description |
|---|---|
| 0x1022 | If the member does not belong to the group |