Get schema for indexing

get/files
Internal-Use Only

This endpoint returns schema field to be indexed by search service.

Request Samples

1

Response Samples

1{
2 "fields": [
3 {
4 "primaryKey": false,
5 "name": "typeDefName",
6 "type": "string",
7 "label": "typeDefName",
8 "facetable": true,
9 "searchable": true,
10 "defaultFacet": true,
11 "multiValued": false,
12 "displayableFacet": true
13 }
14 ],
15 "version": 2
16}

Header Parameters

NameTypeRequiredDescription
Accept
string
false

The type specific schema representation media type application/vnd.sas.search.type.schema+json.

Responses

StatusMeaningDescription
200OKThe schema representation of file service fields to be indexed.Schema