Get Search Results for a list of URIs
Return a Search Result for every URI in the input, or an error for any object that cannot be resolved in the search indices. Additionally can search service URIs in the vnd.sas.selection request body. When a folder URI is recognized in the selection, the catalog service enumerates the contents of the folder, and uses these URIs as the input in addition to the folder URI in the selection. Results are provided as a map of URIs to either a search result, or a corresponding error for that URI. Folder URIs will not be included but the URIs of all its members will. If none of the requested URIs are found, the overall response will be a 404. This operation does not support the "id" or "mixed" types of application/vnd.sas.selection; URIs matching the resourceId field of entities in the catalog must be provided.
1{2 "/dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AACOMP": {3 "id": "35bfef3c-f3ca-a449-8944-11517f598f27",4 "version": 1,5 "name": "AACOMP",6 "type": "sasTable",7 "owner": "sas",8 "created": "2021-08-06T15:53:14.378Z",9 "modified": "2021-08-06T15:53:14.378Z",10 "score": 1,11 "attributes": {12 "analysisTimeStamp": "2021-09-13T14:20:44.899Z",13 "columnCount": 4,14 "completenessPercent": 100,15 "dataSize": 458752,16 "extension": "sas7bdat",17 "library": "SASHELP",18 "region": "",19 "reviewStatus": "none",20 "rowCount": 2020,21 "sourceSystem": "SAS"22 },23 "links": [24 {25 "method": "GET",26 "rel": "self",27 "href": "/catalog/instances/35bfef3c-f3ca-a449-8944-11517f598f27",28 "uri": "/catalog/instances/35bfef3c-f3ca-a449-8944-11517f598f27",29 "type": "application/vnd.sas.metadata.instance.entity"30 },31 {32 "method": "GET",33 "rel": "resource",34 "href": "/dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AACOMP",35 "uri": "/dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AACOMP",36 "type": "application/json"37 }38 ]39 },40 "/dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AARFM": {41 "id": "561d8fe0-d7a9-8f4e-aed8-89f4ccf3577f",42 "version": 1,43 "name": "AARFM",44 "type": "sasTable",45 "owner": "sas",46 "created": "2021-08-06T15:55:07.398Z",47 "modified": "2021-08-06T15:55:07.398Z",48 "score": 1,49 "attributes": {50 "analysisTimeStamp": "2021-09-13T14:20:44.899Z",51 "columnCount": 4,52 "completenessPercent": 100,53 "dataSize": 262144,54 "extension": "sas7bdat",55 "library": "SASHELP",56 "region": "",57 "reviewStatus": "none",58 "rowCount": 130,59 "sourceSystem": "SAS"60 },61 "links": [62 {63 "method": "GET",64 "rel": "self",65 "href": "/catalog/instances/561d8fe0-d7a9-8f4e-aed8-89f4ccf3577f",66 "uri": "/catalog/instances/561d8fe0-d7a9-8f4e-aed8-89f4ccf3577f",67 "type": "application/vnd.sas.metadata.instance.entity"68 },69 {70 "method": "GET",71 "rel": "resource",72 "href": "/dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AARFM",73 "uri": "/dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AARFM",74 "type": "application/json"75 }76 ]77 }78}
Name | Type | Required | Description |
---|---|---|---|
index(Deprecated) | array [string] | false | The index or indices to search. If multiple indices are specified, the index names must be separated with commas. This field is deprecated - please use indices instead. Default: catalog |
indices | array [string] | false | The index or indices to search. If multiple indices are specified, the index names must be separated with commas. Default: catalog |
q | string | true | A pattern to use when matching the name of an instance. |
Name | Type | Required | Description |
---|---|---|---|
Content-Type | string | true | The representation in the request body. Allowed values: application/vnd.sas.selection+jsonapplication/json Default: application/vnd.sas.selection+json |
Accept | string | false | The desired representation for the response. Allowed value: application/json Default: application/json |
Identifies a set of resources.
Name | Type | Required | Description |
---|---|---|---|
version | integer | true | The schema version number of this media type. This representation is version 1. |
template | string | false | A URI template in which the {id} parameter can be replaced with a value from the "resources" array in order to yield the URI of the identified resource. |
type | string | false | Specifies whether the resources array contains IDs, URIs, or both. Allowed values: idurimixed |
resources | array [string] | true | An array of resource IDs or URIs |
links | array [Link] | false | An array of links to related resources and actions. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
400 | Bad Request | Bad request; either the request is not well-formed, or all individual operations failed. In the latter case, the response body is an object containing the errors as described above for a successful request; the response code is 400 if all operation status codes are not the same, or the shared status code if they are the same. | Schema | |
401 | Unauthorized | Not authenticated. | Schema | |
403 | Forbidden | The user does not have permission to complete this request. | Schema | |
404 | Not Found | The Catalog service is not available. | Schema | |
406 | Not Acceptable | Not Acceptable. Include an Accept header with a supported value on the request. | Schema | |
415 | Unsupported Media Type | Unsupported Media Type. Include a Content-Type header with a supported value in the request. | Schema | |
500 | Internal Server Error | The Catalog service encountered an error. | Schema | |
502 | Bad Gateway | Bad Gateway: The catalog service was unable to interact with the search engine. More details may be available in the error object. | Schema |