From d28ac373510b03c80ed988e897a523580a937314 Mon Sep 17 00:00:00 2001 From: Gavin Cornwell Date: Wed, 9 Sep 2009 10:36:17 +0000 Subject: [PATCH] - MOB-1259: Audit REST API: Added skeleton implementation for 'file audit log as record' action to allow Lawrence to implement the UI and have a service to call. URL is /api/rma/admin/rmauditlog, a JSON structure needs to be POSTed representing the destination for the record and the parameters for the audit log. - All audit log URLs now need admin authentication - Added 'event' parameter to audit trail, allows audit log to be restricted by event (not wired up yet though) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16165 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/java/org/alfresco/repo/content/MimetypeMap.java | 1 + 1 file changed, 1 insertion(+) diff --git a/source/java/org/alfresco/repo/content/MimetypeMap.java b/source/java/org/alfresco/repo/content/MimetypeMap.java index 2d33dc2f82..fe51adbe8d 100644 --- a/source/java/org/alfresco/repo/content/MimetypeMap.java +++ b/source/java/org/alfresco/repo/content/MimetypeMap.java @@ -63,6 +63,7 @@ public class MimetypeMap implements MimetypeService public static final String MIMETYPE_HTML = "text/html"; public static final String MIMETYPE_XHTML = "application/xhtml+xml"; public static final String MIMETYPE_PDF = "application/pdf"; + public static final String MIMETYPE_JSON = "application/json"; public static final String MIMETYPE_WORD = "application/msword"; public static final String MIMETYPE_EXCEL = "application/vnd.excel"; public static final String MIMETYPE_BINARY = "application/octet-stream";