To Retrieve the Assets list there is two types of searches available,
Simple Keyword Search: Requesting user can get list of Assets against search terms/keywords list. For example ["keyword1", "keyword2"]
Facet Search: Requesting user can get list of Assets against Facet value list. For example ["Facet: facet_value"]
Targeted Search: Requesting user can target keyword searches against Filename, Asset ID, Metadata, or Content (extracted text from documents) by passing the optional property of keywordSearchField.
Requesting user can apply the combination of both searches and if there is no keyword/facet in requesting body it will apply wildcard search.
By default AND operation will be applied with search terms and/or facets.
By default, up to 50 Assets will return from the search.You can also set search offset by setting the from property. For example, for the first page, set from to zero. After that set from to 50, 100, 150, etc.
The Request Body must be a JSON object
The Response Body will be a JSON object
Bad Request
Unauthorized. Missing Authorization or AccessToken or Access Token expired
Failed operation
{- "from": 0,
- "searchTerm": [
- "*"
], - "includeDeleted": true,
- "includeVersions": true,
- "sortBy": [
- {
- "metadataDefinitionSearchField": "lastUpdatedEpoch",
- "order": "desc"
}
], - "operation": "AND",
- "aggregations": false,
- "keywordSearchField": "filename"
}
{- "hitCount": 1,
- "result": [
- {
- "createdBy": "7d675ef0-f423-11e9-8071-89c0c405214e",
- "createdEpoch": 1608745510614,
- "currentVersion": "Y",
- "customerId": "123203455",
- "fileId": "a1c6a2ab-4b01-4253-b4c9-70e04b3b48fc",
- "filename": "adventure-alps-beautiful-landscape-2444403.jpg",
- "fileState": "available",
- "lastUpdatedBy": "7d675ef0-f423-11e9-8071-89c0c40133ds",
- "lastUpdatedEpoch": 1612333543954,
- "metadata": [
- {
- "metadataDefinitionId": "dfeb57c1-b149-4b15-920f-3f40ff0b959a",
- "metadataDefinitionValue": "Photo"
}
], - "metadataDenormalized": { },
- "metadataState": "available",
- "metadataTemplateId": "ea6eb24d-adef-4380-bd02-f64f567c437f",
- "objectId": "e6f4bd5e-9bea-43cb-b15e-22582fa5322e",
- "objectType": "Asset",
- "originalFileId": "003391e4-e78a-4186-b2d7-b5d4fcbe445d",
- "renditions": {
- "width": 4000,
- "height": 6000
}, - "securityTemplateIds": [
- "7d6f4e30-f423-11e9-8071-89c0c4052156"
], - "securityDenormalized": [
- {
- "groupId": "7d6207c0-f423-11e9-8071-89c0c4052141",
- "permissions": [
- "d0bbfb23-9304-4eb0-9c60-8e6e27a580d9"
]
}
], - "technicalMetadata": {
- "tenovos_metadata": {
- "fileName": "adventure-alps-beautiful-landscape-2444403.jpg",
- "fileSize": "4.4 MB",
- "MD5Checksum": "6cbc612262877e8502904ea3ffd6a278"
}, - "image_metadata": {
- "fileName": "adventure-alps-beautiful-landscape-2444403.jpg",
- "fileSize": "4.4 MB",
- "fileType": "JPEG",
- "fileTypeExtension": "jpg",
- "mimeType": "image/jpeg",
- "jfifVersion": "1.01",
- "resolutionUnit": "inches",
- "xResolution": "72",
- "yResolution": "72",
- "profileCMMType": "Linotronic",
- "profileVersion": "2.1.0",
- "profileClass": "Display Device Profile",
- "colorSpaceData": "RGB",
- "profileConnectionSpace": "XYZ",
- "profileDateTime": "1998:02:09 06:49:00",
- "profileFileSignature": "acsp",
- "primaryPlatform": "Microsoft Corporation",
- "cmmFlags": "Not Embedded, Independent",
- "deviceManufacturer": "Hewlett-Packard",
- "deviceModel": "sRGB",
- "deviceAttributes": "Reflective, Glossy, Positive, Color",
- "renderingIntent": "Perceptual",
- "connectionSpaceIlluminant": "0.9642 1 0.82491",
- "profileCreator": "Hewlett-Packard",
- "profileID": "0",
- "profileCopyright": "Copyright (c) 1998 Hewlett-Packard Company",
- "profileDescription": "sRGB IEC61966-2.1",
- "mediaWhitePoint": "0.95045 1 1.08905",
- "mediaBlackPoint": "0 0 0",
- "redMatrixColumn": "0.43607 0.22249 0.01392",
- "greenMatrixColumn": "0.38515 0.71687 0.09708",
- "blueMatrixColumn": "0.14307 0.06061 0.7141",
- "deviceMfgDesc": "IEC http://www.iec.ch",
- "deviceModelDesc": "IEC 61966-2.1 Default RGB color space - sRGB",
- "viewingCondDesc": "Reference Viewing Condition in IEC61966-2.1",
- "viewingCondIlluminant": "19.6445 20.3718 16.8089",
- "viewingCondSurround": "3.92889 4.07439 3.36179",
- "viewingCondIlluminantType": "D50",
- "luminance": "76.03647 80 87.12462",
- "measurementObserver": "CIE 1931",
- "measurementBacking": "0 0 0",
- "measurementGeometry": "Unknown",
- "measurementFlare": "0.999%",
- "measurementIlluminant": "D65",
- "technology": "Cathode Ray Tube Display",
- "redToneReproductionCurve": "(Binary data 2060 bytes, use -b option to extract)",
- "greenToneReproductionCurve": "(Binary data 2060 bytes, use -b option to extract)",
- "blueToneReproductionCurve": "(Binary data 2060 bytes, use -b option to extract)",
- "imageWidth": 3264,
- "imageHeight": 4080,
- "encodingProcess": "Baseline DCT, Huffman coding",
- "bitsPerSample": 8,
- "colorComponents": 3,
- "yCbCrSubSampling": "YCbCr4:2:0 (2 2)",
- "imageSize": "3264x4080",
- "megapixels": 13.3
}
}, - "versionNumber": 0,
- "presignedURL": "string",
- "linkType": "string",
- "relationshipId": "string",
- "secondaryId": "string"
}
], - "facets": [
- {
- "facet_name": "Agency",
- "values": [
- {
- "key": "Sunset Images LLC",
- "doc_count": 3
}
]
}
]
}