Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

User of the Rest API caller needs the Browse Asset permission to fetch results.

API Definition

Method

POST
URL/rest/jip-api/1.0/index/query.json

Request Headers:

  • Content-Type: application/json
  • Authorization:  Basic hash of user name and password. Example: Basic YWRtaW46YWRtaW4=

Post parameters

ParameterTypeExampleDescription
searchType

String

basic

Fixed value

listType

String

detail

Fixed value

genericKeyword

String


For advanced manual Lucene Query. Leave it null to use queryIndexSearchParams

queryIndexSearchParams
List of QueryIndexSearchParam

List of search criteria
mandatoryQueryIndexSearchParams
List of QueryIndexSearchParam

These search criteria will be "AND" with queryIndexSearchParams 
orForQueryIndexSearchParams

Boolean

true/falseDecides whether there will be "OR" or "AND" between queryIndexSearchParams.
orForMandatoryQueryIndexSearchParams

Boolean

true/falseDecides whether there will be "OR" or "AND" between mandatoryQueryIndexSearchParams.
pageNumber

Integer

1Page number of the results. Results will return as paged.
pageSize

Integer

15Size of page
sortDirection

String

asc/descasc or desc
sortField

String

asset.name

Field to sort. Use system fields or attribute names.

sortType

String

STRING
Use one of search field types.

...