REST API:developConfig Resource

From LongJump Support Wiki
Revision as of 22:54, 14 January 2011 by imported>Aeric
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Manage development configuration details using the REST API.

Access Permissions

Lock-tiny.gif

Users that have the Manage Develop Features permission can use the developConfig Resource in the REST API 

Read developConfig Settings

Method
GET
URI
https://{domain}/networking/rest/developConfig
Response
<platform>
    <developConfig>
        <id>...</id>
        <log_level>3</log_level>
        <namespace>demo</namespace>
    </developConfig>

    <message>
        <code>0</code>
        <description>Success</description>
    </message>
</platform>
See also: REST API:Error Codes

Update developConfig Settings

Method
PUT
URI
https://{domain}/networking/rest/developConfig/{recordId}
Request
<platform>
    <developConfig>
        <log_level>3</log_level>
        <namespace>demo</namespace>
    </developConfig>
</platform>
Response
<platform>
    <message>
        <code>0</code>
        <description>Success</description>
    </message>
</platform>
See also: REST API:Error Codes

Fields

Name Type Attribute Required During Add Description Additional Information
id String Read Only Record Identifier
log_level Number Editable on Update
namespace String Editable on Update