Created
November 28, 2014 15:11
-
-
Save vpasquier/557519066200624a6307 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"entity-type": "documents", | |
"isPaginable": true, | |
"resultsCount": 4, | |
"pageSize": 20, | |
"maxPageSize": 1000, | |
"currentPageSize": 3, | |
"currentPageIndex": 0, | |
"numberOfPages": 1, | |
"isPreviousPageAvailable": false, | |
"isNextPageAvailable": false, | |
"isLastPageAvailable": false, | |
"isSortable": true, | |
"hasError": false, | |
"errorMessage": null, | |
"totalSize": 4, | |
"pageIndex": 0, | |
"pageCount": 1, | |
"entries": [ | |
{ | |
"entity-type": "document", | |
"repository": "default", | |
"uid": "dfee1d5d-aea7-40eb-a413-cffa0c1efb10", | |
"path": "/default-domain/UserWorkspaces/Administrator", | |
"type": "Workspace", | |
"state": "project", | |
"parentRef": "393d72cc-24fb-446a-8e60-00797f675550", | |
"versionLabel": "", | |
"isCheckedOut": true, | |
"title": "Administrator", | |
"lastModified": "2014-11-28T13:29:33.25Z", | |
"facets": [ | |
"SuperSpace", | |
"Folderish" | |
], | |
"changeToken": "1417181373254", | |
"contextParameters": { | |
"documentURL": "/nuxeo/nxdoc/default/dfee1d5d-aea7-40eb-a413-cffa0c1efb10/view_documents" | |
} | |
}, | |
{ | |
"entity-type": "document", | |
"repository": "default", | |
"uid": "2ddb920c-814d-4f82-84b8-eea691002db1", | |
"path": "/default-domain/workspaces/workspace", | |
"type": "Workspace", | |
"state": "project", | |
"parentRef": "c1492fa7-6025-4d77-80f0-8950025eba9c", | |
"versionLabel": "", | |
"isCheckedOut": true, | |
"title": "workspace", | |
"lastModified": "2014-11-28T13:39:00.18Z", | |
"facets": [ | |
"SuperSpace", | |
"Folderish" | |
], | |
"changeToken": "1417181940189", | |
"contextParameters": { | |
"documentURL": "/nuxeo/nxdoc/default/2ddb920c-814d-4f82-84b8-eea691002db1/view_documents" | |
} | |
}, | |
{ | |
"entity-type": "document", | |
"repository": "default", | |
"uid": "4e59d428-e6af-4de2-b39f-f2c3494d4623", | |
"path": "/default-domain/workspaces/workspace/file", | |
"type": "File", | |
"state": "project", | |
"parentRef": "2ddb920c-814d-4f82-84b8-eea691002db1", | |
"versionLabel": "0.0", | |
"isCheckedOut": true, | |
"title": "test", | |
"lastModified": "2014-11-28T13:39:34.89Z", | |
"facets": [ | |
"Downloadable", | |
"Commentable", | |
"Versionable", | |
"Publishable", | |
"HasRelatedText" | |
], | |
"changeToken": "1417181974892", | |
"contextParameters": { | |
"documentURL": "/nuxeo/nxdoc/default/4e59d428-e6af-4de2-b39f-f2c3494d4623/view_documents" | |
} | |
} | |
], | |
"aggregations": { | |
"dc_nature_agg": { | |
"field": "dc:nature", | |
"properties": { | |
"size": "10" | |
}, | |
"id": "dc_nature_agg", | |
"type": "terms", | |
"dateRanges": [], | |
"ranges": [], | |
"buckets": [], | |
"selection": [], | |
"extendedBuckets": [], | |
"bucketMap": {} | |
}, | |
"dc_subjects_agg": { | |
"field": "dc:subjects", | |
"properties": { | |
"size": "10" | |
}, | |
"id": "dc_subjects_agg", | |
"type": "terms", | |
"dateRanges": [], | |
"ranges": [], | |
"buckets": [], | |
"selection": [], | |
"extendedBuckets": [], | |
"bucketMap": {} | |
}, | |
"dc_creator_agg": { | |
"field": "dc:creator", | |
"properties": { | |
"size": "10" | |
}, | |
"id": "dc_creator_agg", | |
"type": "terms", | |
"dateRanges": [], | |
"ranges": [], | |
"buckets": [ | |
{ | |
"key": "Administrator", | |
"docCount": 3 | |
} | |
], | |
"selection": [], | |
"extendedBuckets": [ | |
{ | |
"key": "Administrator", | |
"docCount": 3 | |
} | |
], | |
"bucketMap": { | |
"Administrator": { | |
"key": "Administrator", | |
"docCount": 3 | |
} | |
} | |
}, | |
"dc_modified_agg": { | |
"field": "dc:modified", | |
"properties": { | |
"format": "\"dd-MM-yyyy\"" | |
}, | |
"id": "dc_modified_agg", | |
"type": "date_range", | |
"dateRanges": [ | |
{ | |
"fromDate": "now-24H", | |
"toDate": "now", | |
"fromAsString": "now-24H", | |
"toAsString": "now", | |
"key": "last24h", | |
"from": null, | |
"to": null | |
}, | |
{ | |
"fromDate": "now-7d", | |
"toDate": "now-24H", | |
"fromAsString": "now-7d", | |
"toAsString": "now-24H", | |
"key": "lastWeek", | |
"from": null, | |
"to": null | |
}, | |
{ | |
"fromDate": "now-1M", | |
"toDate": "now-7d", | |
"fromAsString": "now-1M", | |
"toAsString": "now-7d", | |
"key": "lastMonth", | |
"from": null, | |
"to": null | |
}, | |
{ | |
"fromDate": "now-1y", | |
"toDate": "now-1M", | |
"fromAsString": "now-1y", | |
"toAsString": "now-1M", | |
"key": "lastYear", | |
"from": null, | |
"to": null | |
}, | |
{ | |
"fromDate": null, | |
"toDate": "now-1y", | |
"fromAsString": null, | |
"toAsString": "now-1y", | |
"key": "priorToLastYear", | |
"from": null, | |
"to": null | |
} | |
], | |
"ranges": [], | |
"buckets": [ | |
{ | |
"key": "last24h", | |
"from": 1417100984927, | |
"to": 1417187384927, | |
"docCount": 3, | |
"fromAsDate": 1417100984927, | |
"toAsDate": 1417187384927 | |
}, | |
{ | |
"key": "lastWeek", | |
"from": 1416582584927, | |
"to": 1417100984927, | |
"docCount": 0, | |
"fromAsDate": 1416582584927, | |
"toAsDate": 1417100984927 | |
}, | |
{ | |
"key": "lastMonth", | |
"from": 1414508984927, | |
"to": 1416582584927, | |
"docCount": 0, | |
"fromAsDate": 1414508984927, | |
"toAsDate": 1416582584927 | |
}, | |
{ | |
"key": "lastYear", | |
"from": 1385651384927, | |
"to": 1414508984927, | |
"docCount": 0, | |
"fromAsDate": 1385651384927, | |
"toAsDate": 1414508984927 | |
}, | |
{ | |
"key": "priorToLastYear", | |
"from": null, | |
"to": 1385651384927, | |
"docCount": 0, | |
"fromAsDate": null, | |
"toAsDate": 1385651384927 | |
} | |
], | |
"selection": [], | |
"extendedBuckets": [ | |
{ | |
"key": "last24h", | |
"from": 1417100984927, | |
"to": 1417187384927, | |
"docCount": 3, | |
"fromAsDate": 1417100984927, | |
"toAsDate": 1417187384927 | |
}, | |
{ | |
"key": "lastWeek", | |
"from": 1416582584927, | |
"to": 1417100984927, | |
"docCount": 0, | |
"fromAsDate": 1416582584927, | |
"toAsDate": 1417100984927 | |
}, | |
{ | |
"key": "lastMonth", | |
"from": 1414508984927, | |
"to": 1416582584927, | |
"docCount": 0, | |
"fromAsDate": 1414508984927, | |
"toAsDate": 1416582584927 | |
}, | |
{ | |
"key": "lastYear", | |
"from": 1385651384927, | |
"to": 1414508984927, | |
"docCount": 0, | |
"fromAsDate": 1385651384927, | |
"toAsDate": 1414508984927 | |
}, | |
{ | |
"key": "priorToLastYear", | |
"from": null, | |
"to": 1385651384927, | |
"docCount": 0, | |
"fromAsDate": null, | |
"toAsDate": 1385651384927 | |
} | |
], | |
"bucketMap": { | |
"last24h": { | |
"key": "last24h", | |
"from": 1417100984927, | |
"to": 1417187384927, | |
"docCount": 3, | |
"fromAsDate": 1417100984927, | |
"toAsDate": 1417187384927 | |
}, | |
"lastYear": { | |
"key": "lastYear", | |
"from": 1385651384927, | |
"to": 1414508984927, | |
"docCount": 0, | |
"fromAsDate": 1385651384927, | |
"toAsDate": 1414508984927 | |
}, | |
"priorToLastYear": { | |
"key": "priorToLastYear", | |
"from": null, | |
"to": 1385651384927, | |
"docCount": 0, | |
"fromAsDate": null, | |
"toAsDate": 1385651384927 | |
}, | |
"lastWeek": { | |
"key": "lastWeek", | |
"from": 1416582584927, | |
"to": 1417100984927, | |
"docCount": 0, | |
"fromAsDate": 1416582584927, | |
"toAsDate": 1417100984927 | |
}, | |
"lastMonth": { | |
"key": "lastMonth", | |
"from": 1414508984927, | |
"to": 1416582584927, | |
"docCount": 0, | |
"fromAsDate": 1414508984927, | |
"toAsDate": 1416582584927 | |
} | |
} | |
}, | |
"common_size_agg": { | |
"field": "common:size", | |
"properties": {}, | |
"id": "common_size_agg", | |
"type": "range", | |
"dateRanges": [], | |
"ranges": [ | |
{ | |
"key": "tiny", | |
"from": null, | |
"to": 102400 | |
}, | |
{ | |
"key": "small", | |
"from": 102401, | |
"to": 1048576 | |
}, | |
{ | |
"key": "medium", | |
"from": 1048577, | |
"to": 10485760 | |
}, | |
{ | |
"key": "big", | |
"from": 10485761, | |
"to": 104857600 | |
}, | |
{ | |
"key": "huge", | |
"from": 104857601, | |
"to": null | |
} | |
], | |
"buckets": [ | |
{ | |
"key": "tiny", | |
"from": "-Infinity", | |
"to": 102400, | |
"docCount": 0 | |
}, | |
{ | |
"key": "small", | |
"from": 102401, | |
"to": 1048576, | |
"docCount": 0 | |
}, | |
{ | |
"key": "medium", | |
"from": 1048577, | |
"to": 10485760, | |
"docCount": 0 | |
}, | |
{ | |
"key": "big", | |
"from": 10485761, | |
"to": 104857600, | |
"docCount": 0 | |
}, | |
{ | |
"key": "huge", | |
"from": 104857601, | |
"to": "Infinity", | |
"docCount": 0 | |
} | |
], | |
"selection": [], | |
"extendedBuckets": [ | |
{ | |
"key": "tiny", | |
"from": "-Infinity", | |
"to": 102400, | |
"docCount": 0 | |
}, | |
{ | |
"key": "small", | |
"from": 102401, | |
"to": 1048576, | |
"docCount": 0 | |
}, | |
{ | |
"key": "medium", | |
"from": 1048577, | |
"to": 10485760, | |
"docCount": 0 | |
}, | |
{ | |
"key": "big", | |
"from": 10485761, | |
"to": 104857600, | |
"docCount": 0 | |
}, | |
{ | |
"key": "huge", | |
"from": 104857601, | |
"to": "Infinity", | |
"docCount": 0 | |
} | |
], | |
"bucketMap": { | |
"huge": { | |
"key": "huge", | |
"from": 104857601, | |
"to": "Infinity", | |
"docCount": 0 | |
}, | |
"tiny": { | |
"key": "tiny", | |
"from": "-Infinity", | |
"to": 102400, | |
"docCount": 0 | |
}, | |
"big": { | |
"key": "big", | |
"from": 10485761, | |
"to": 104857600, | |
"docCount": 0 | |
}, | |
"small": { | |
"key": "small", | |
"from": 102401, | |
"to": 1048576, | |
"docCount": 0 | |
}, | |
"medium": { | |
"key": "medium", | |
"from": 1048577, | |
"to": 10485760, | |
"docCount": 0 | |
} | |
} | |
}, | |
"dc_created_agg": { | |
"field": "dc:created", | |
"properties": { | |
"order": "key desc", | |
"interval": "year", | |
"format": "yyyy" | |
}, | |
"id": "dc_created_agg", | |
"type": "date_histogram", | |
"dateRanges": [], | |
"ranges": [], | |
"buckets": [ | |
{ | |
"key": "2014", | |
"from": 1388534400000, | |
"to": 1420070400000, | |
"docCount": 3, | |
"fromAsDate": 1388534400000, | |
"toAsDate": 1420070400000 | |
} | |
], | |
"selection": [], | |
"extendedBuckets": [ | |
{ | |
"key": "2014", | |
"from": 1388534400000, | |
"to": 1420070400000, | |
"docCount": 3, | |
"fromAsDate": 1388534400000, | |
"toAsDate": 1420070400000 | |
} | |
], | |
"bucketMap": { | |
"2014": { | |
"key": "2014", | |
"from": 1388534400000, | |
"to": 1420070400000, | |
"docCount": 3, | |
"fromAsDate": 1388534400000, | |
"toAsDate": 1420070400000 | |
} | |
} | |
}, | |
"dc_coverage_agg": { | |
"field": "dc:coverage", | |
"properties": { | |
"size": "10" | |
}, | |
"id": "dc_coverage_agg", | |
"type": "terms", | |
"dateRanges": [], | |
"ranges": [], | |
"buckets": [], | |
"selection": [], | |
"extendedBuckets": [], | |
"bucketMap": {} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment