Search

The Search API provides a basic search capability for our content universe, across all Amedia publications.

Resource for search services

GET/search/content

Title
Title
Path
/search/content
Description
Retrieves list of abbreviated Content items according to given query parameters
Produces
application/json; charset=UTF-8; type=contentList
Path parameters
version
Required: true
Description: API Version
Type: apiversion
Format: v1
Query parameters
publicationDomain
Required: true
Description: search in cms and archive data for this publication. parameter can be repeated for adding publications
Type: list of string
keyword
Required: false
Description: search term for freetext search within a relevant subset of content fields
Type: optional of string
offset
Required: false
Description: skip this many searchresults in the response.
Type: optional of integer
Default value: 0
limit
Required: false
Description: show only this many searchresults in the response.
Type: optional of integer
Default value: 10
startDate
Required: false
Description: show only searchresults with a publishedDate after this date. has no effect unless used together with endDate
Type: optional of datetimeparam
Format: 2004-12-13T21:39:45+02:00
endDate
Required: false
Description: show only searchresults with a publishedDate before this date. has no effect unless used together with startDate
Type: optional of datetimeparam
Format: 2004-12-13T21:39:45+02:00
author
Required: false
Description: show only content authored by this person
Type: list of string
Format: Ola Nordmann
types
Required: false
Description: show only content of this type. parameter can be repeated for adding types
Type: list of string
Format: story
fields
Required: false
Description: not in use
Type: optional of string
tags
Required: false
Description: show only content with this tag. parameter can be repeated for adding tags
Type: list of string
Format: nyheter
categories
Required: false
Description: show only content with this category. parameter can be repeated for adding categories
Type: list of string
Format: nyheter
sort
Required: false
Description: sort search result by either published date or changed date. omit parameter for relevance sorting
Type: optional of string
Format: lastPublishedDate|lastChangedDate
Default value: sort by relevance
andParam
Required: false
Description: declare multi-value-parameters as AND combined. works only for tags and author at the moment
Type: list of string
Format: &andParam=tags&andParam=author
includeCrossPublished
Required: false
Description: Whether to include cross published content. Meaning content from other sites that has been used on {publicationDomain}
Type: optional of boolean
Default value: false
order
Required: false
Description: Describe the ordering for the sort parameter. The value can either be desc (default) or asc.
Type: optional of string
Default value: desc
Response status code
200