Difference between revisions of "REST API:developConfig Resource"

From LongJump Support Wiki
imported>Aeric
m (Text replace - 'Record Identifier' to 'Record Id')
imported>Aeric
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


===Access Permissions===
===Access Permissions===
{{permissions|Manage Develop Features|use the <tt>developConfig</tt> Resource in the [[REST API]]}}
{{permissions|Use Development Features|use this resource]}}


===Read developConfig Settings ===
===Read developConfig Settings ===
;Method:GET
;Method:GET
   
   
;URI:<tt><nowiki>https://{domain}/networking/rest/developConfig</nowiki></tt>
;URI:<tt>{{platformURL}}/rest/developConfig</tt>


;Response:
;Response:
Line 30: Line 30:
;Method:PUT
;Method:PUT
   
   
;URI:<tt><nowiki>https://{domain}/networking/rest/developConfig/{recordId}</nowiki></tt>  
;URI:<tt>{{platformURL}}/rest/developConfig/{recordId}</tt>  


;Request:
;Request:

Latest revision as of 00:40, 8 June 2012

Manage development configuration details using the REST API.

Access Permissions

Lock-tiny.gif

Users that have the Use Development Features permission can use this resource] 

Read developConfig Settings

Method
GET
URI
https://na.longjump.com/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://na.longjump.com/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 Id
log_level Number Editable on Update
namespace String Editable on Update