=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml' --- src/docbkx/en/dhis2_user_man_web_api.xml 2014-07-09 08:10:45 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-07-09 09:08:34 +0000 @@ -4255,7 +4255,7 @@ api/maintenance/categoryOptionComboUpdate Cache clearing will clear the application Hibernate cache and the analytics partition caches: - api/maintenance/cacheClearing + api/maintenance/cache
System resource @@ -5048,12 +5048,14 @@ To insert Javascript from a file called script.js you - can interact with the files/script resource: + can interact with the files/script resource with a + POST-request: curl -d @script.js "localhost/api/files/script" -H "Content-Type:application/javascript" -u system:System123 -v You can fetch the Javascript content with a GET-request: localhost/api/files/script To insert CSS from a file called style.css you can - interact with the files/style resource: + interact with the files/style resource with a + POST-request: curl -d @style.css "localhost/api/files/style" -H "Content-Type:text/css" -u system:System123 -v You can fetch the CSS content with a GET-request: localhost/api/files/style