← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 795: System resource

 

------------------------------------------------------------
revno: 795
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Mon 2013-09-02 14:48:21 +0200
message:
  System resource
modified:
  src/docbkx/en/dhis2_user_man_web_api.xml
  src/docbkx/en/resources/css/docbook_bsd.css


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml	2013-08-27 13:42:14 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml	2013-09-02 12:48:21 +0000
@@ -2162,9 +2162,32 @@
 ]</screen>
     <para>To get information about the current system you can do a GET request to this URL:</para>
     <screen>http://yourdomain.com/api/system/info</screen>
-    <para>The system info response currently includes the following:</para>
+    <para>The system info response currently includes the below properties. Note that if the user
+      who is requesting this resourec does not have full authority in the system then only the first
+      seven properties will be included, as this information is security sensitive.</para>
     <screen>{
-    contextPath: "http://yourdomain.com";
+    contextPath: "http://yourdomain.com";,
+    userAgent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36",
+    version: "2.13-SNAPSHOT",
+    revision: "11852",
+    buildTime: "2013-09-01T21:36:21.000+0000",
+    serverDate: "2013-09-02T12:35:54.311+0000",
+    environmentVariable: "DHIS2_HOME",
+    javaVersion: "1.7.0_06",
+    javaVendor: "Oracle Corporation",
+    javaIoTmpDir: "/tmp",
+    javaOpts: "-Xms600m -Xmx1500m -XX:PermSize=400m -XX:MaxPermSize=500m",
+    osName: "Linux",
+    osArchitecture: "amd64",
+    osVersion: "3.2.0-52-generic",
+    externalDirectory: "/home/dhis/config/dhis2",
+    databaseInfo: {
+        type: "PostgreSQL",
+        name: "dhis2",
+        user: "dhis"
+    },
+    memoryInfo: "Mem Total in JVM: 848 Free in JVM: 581 Max Limit: 1333",
+    cpuCores: 8    
 }</screen>
   </section>
   <section>

=== modified file 'src/docbkx/en/resources/css/docbook_bsd.css'
--- src/docbkx/en/resources/css/docbook_bsd.css	2013-09-01 20:15:45 +0000
+++ src/docbkx/en/resources/css/docbook_bsd.css	2013-09-02 12:48:21 +0000
@@ -173,6 +173,10 @@
 	padding: 1ex;
 	color: #2B8328;
 }
+
+.CODE {
+  color: #333;
+}
   
 .PROGRAMLISTING {  
 	padding: 1ex;