Difference between revisions of "REST API:developConfig Resource"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Manage development configuration | Manage development configuration setting using the [[REST API]]. | ||
===Access Permissions=== | ===Access Permissions=== | ||
{{permissions| | {{permissions|Use Development Features|use this resource.}} | ||
===Read developConfig Settings === | ===Read developConfig Settings === | ||
;Method:GET | ;Method:GET | ||
;URI:<tt> | ;URI:<tt>{{platformURL}}/rest/developConfig</tt> | ||
;Response: | ;Response: | ||
Line 30: | Line 30: | ||
;Method:PUT | ;Method:PUT | ||
;URI:<tt> | ;URI:<tt>{{platformURL}}/rest/developConfig/{recordId}</tt> | ||
;Request: | ;Request: | ||
Line 58: | Line 58: | ||
! Name!!Type!!Attribute!!Required During Add!!Description!!Additional Information | ! Name!!Type!!Attribute!!Required During Add!!Description!!Additional Information | ||
|- | |- | ||
| id || String || align="center"|Read Only || || || [[Record | | id || String || align="center"|Read Only || || || [[Record Id]] | ||
|- | |- | ||
| log_level || Number || align="center"|Editable on Update || || || | | log_level || Number || align="center"|Editable on Update || || || |
Latest revision as of 22:43, 12 June 2014
Manage development configuration setting using the REST API.
Access Permissions
Users that have the Use Development Features permission can use this resource.
Read developConfig Settings
- Method
- GET
- URI
- https://{yourDomain}/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://{yourDomain}/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