ContentSearch API QUAL

SearchContenthubNewsTeaser returns news articles that match the given search term and optional filters.

post
https://api-qual.migros.ch/migros/contentsearch/v1/contenthub/newsteaser/search

Body

application/json
doNotMatcharray[object]

Optional. Terms not to be matched, multiple terms will be combined with an
“AND” relationship.

Show Child Parameters
languagestring

Optional. If set, only news matching this language will be returned. By
default, german news are returned.

Allowed values:DEFRITEN

Default:DE

matcharray[object]

Optional. Terms to be matched, multiple terms will be combined with an
“AND” relationship.

Show Child Parameters
optionsobject

Optional. OutputOptions for pagination and sorting.

Show Child Parameters
searchTermstring

Optional. Search Term for fulltext-search.

timeTermsarray[object]

TimeTerm filters a time field. Either min, max or both should be provided.

Show Child Parameters

Response

application/json

A successful response.

newsTeaserarray[object]

Optional. If news items matching the requested criteria were found, they’re
in here.

Show Child Parameters
totalHitsstring(int64)

Total number of news items for this request, not taking options.page_size
into account.

post/migros/contentsearch/v1/contenthub/newsteaser/search

Body

{}
 
application/json

ListContenthubTags lists available Tags for Contenthub Newsteaser.

get
https://api-qual.migros.ch/migros/contentsearch/v1/contenthub/newsteaser/tags

Query Parameters

languagestring

Specifies in which language tag titles should be returned. Defaults to
German.

Allowed values:DEFRITEN

Default:DE

categoryFilterarray[string]

Optional. Filter the Tags by category.

Response

application/json

A successful response.

tagsarray[object]

Total number of tags for this request, not taking page_size into
account.

Show Child Parameters
get/migros/contentsearch/v1/contenthub/newsteaser/tags
 
application/json

SearchCorporateStories returns stories that match the given search term and optional filters

post
https://api-qual.migros.ch/migros/contentsearch/v1/corporate/stories/search

Body

application/json
doNotMatcharray[object]

Optional. Terms not to be matched, multiple terms will be combined with an
“AND” relationship.

Show Child Parameters
languagestring

Optional. If set, only stories matching this language will be returned. By
default, german news are returned.

Allowed values:DEFRITEN

Default:DE

matcharray[object]

Optional. Terms to be matched, multiple terms will be combined with an
“AND” relationship.

Show Child Parameters
optionsobject

Optional. OutputOptions for pagination and sorting.

Show Child Parameters
searchTermstring

Optional. Search Term for fulltext-search.

timeTermsarray[object]

TimeTerm filters a time field. Either min, max or both should be provided.

Show Child Parameters

Response

application/json

A successful response.

storiesarray[object]

Optional. If stories matching the requested criteria were found, they’re
in here.

Show Child Parameters
totalHitsstring(int64)

Total number of stories for this request, not taking options.page_size into
account.

post/migros/contentsearch/v1/corporate/stories/search

Body

{}
 
application/json

ListCorporateTags lists available Tags for Corporate Stories.

get
https://api-qual.migros.ch/migros/contentsearch/v1/corporate/stories/tags

Query Parameters

languagestring

Specifies in which language tag titles should be returned. Defaults to
German.

Allowed values:DEFRITEN

Default:DE

categoryFilterarray[string]

Optional. Filter the Tags by category.

Response

application/json

A successful response.

tagsarray[object]

Total number of tags for this request, not taking page_size into
account.

Show Child Parameters
get/migros/contentsearch/v1/corporate/stories/tags
 
application/json

Ready returns OK if the connection to Elasticsearch was successfully established.

get
https://api-qual.migros.ch/migros/contentsearch/v1/health/readyz

Response

application/json

A successful response.

elasticsearchstring

Provides information on whether Elasticsearch is UP.

get/migros/contentsearch/v1/health/readyz
 
application/json