server properties
/properties [GET]
API Support | Available since | Last updated | Output |
---|---|---|---|
6.0000 | 6.0000 | json, xml |
Description
Returns the PageSeeder server properties from the configuration files.
Properties types
The table below list the properties by type.
Type | Corresponding properties |
---|---|
global | Global properties defined in global.properties |
database | Database properties defined in database.properties |
jdo | JDO properties defined in built-in system configuration |
mime | MIME properties defined in built-in system configuration |
project | The default project properties defined in built-in system configuration |
group | The default group properties defined in group.properties |
Parameters
Name | Description | Required | Type | Default value |
---|---|---|---|---|
reload | If true then the properties are reloaded | no | boolean | false |
Permission
This service requires Administrator.
Response
Returns the following XML:
<server-properties> <properties type="[type]"> <property name="[name]" value="[value]" /> ... </properties> ... </server-properties>
Or the following JSON:
[ { "type": string, "properties": [ { "name": string, "value": string } ] } ]
In JSON, all property values are returned as strings, even if they are boolean or numbers. For example: { "name": "disableIndexing", "value": "false" }
Error Handling
No specific errors expected for this generator.