Skip to content

Instantly share code, notes, and snippets.

@simong
Created December 5, 2013 18:06
Show Gist options
  • Save simong/7810276 to your computer and use it in GitHub Desktop.
Save simong/7810276 to your computer and use it in GitHub Desktop.
$.ajax({
'type': 'POST',
'url': '/api/content/reprocessPreviews',
'data': {
'revision_mime': [
'application/msword',
'application/rdf+xml',
'application/vnd.ms-excel',
'application/vnd.ms-powerpoint',
'application/vnd.oasis.opendocument.presentation',
'application/vnd.oasis.opendocument.spreadsheet',
'application/vnd.oasis.opendocument.text',
'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'application/x-mspowerpoint',
'application/x-pdf',
'application/x-powerpoint',
'text/plain',
'application/pdf'
]
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment