Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Search External Storage (POST)
- Resource
-
1/connect/contenthub-externalsearch/search - Available version
- 68.0
- HTTP methods
- POST
- Request body for POST
- External Storage Search Input
- Response body for POST
- External Storage Search Response
Usage
Run a full-text search against an external storage provider and get back the documents that match, ranked by relevance. Each result includes an externalDocumentInfo2 S3 URI that maps to a Salesforce ContentVersion record, so clients can link matches back to Salesforce content. Use maxResults and the returned searchHandle to page through large result sets.
Response Status Codes
| Status Code | Description |
|---|---|
| 200 | The search completed successfully and results are returned. |
| 400 | The request failed validation or the search query is invalid. |
| 403 | The user doesn't have access to this resource. |