Get Searchable Metadata Fields

get

/documents/api/1.2/metadata/searchFields

Retrieve all metadata fields currently available for searching content. The result list includes all metadata fields prefixed with their respective global metadata collection for that tenant.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

The request was fulfilled.

Body ()
Root Schema : GetSearchableMetadataResponse
Type: object
The response body includes information about all metadata fields available for search purposes.
Show Source
Example Response (application/json)
{
    "type":"metadata",
    "errorCode":"0",
    "number":"3",
    "fields":"SearchableCollection.searchField1,SearchableCollection.searchField2,SearchableCollection.searchField3"
}
Back to Top

Examples

The following example retrieves all searchable metadata fields available in this given tenant.

GET .../metadata/searchFields

Request Header

None.

Request Body

None.

HTTP Status Code

HTTP_STATUS = 200

JSON Response

{
    "errorCode": "0",
    "fields": "SearchableCollection.searchField1,SearchableCollection.searchField2,SearchableCollection.searchField3",
    "number": "3",
    "type": "metadata"
}
Back to Top