ContentSearch API PROD

SearchCorporateStoriesPreview is like SearchCorporateStories but also includes articles that are only in preview mode in Contentful.

post
https://api.migros.ch/migros/contentsearch/v1/preview/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/preview/corporate/stories/search

Body

{}
 
application/json

ListCorporateTagsPreview lists available Tags for Corporate Stories.

get
https://api.migros.ch/migros/contentsearch/v1/preview/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/preview/corporate/stories/tags
 
application/json

MigustoArticlePreview returns detailed information about a single article identified by its slug or its ID.

get
https://api.migros.ch/migros/contentsearch/v1/preview/migusto/article/{slugOrId}

Query Parameters

languagestring

Optional. Specifies the language in which the article should be
returned. If not provided, the default language is German.

Allowed values:DEFRITEN

Default:DE

Path Parameters

slugOrIdstringrequired

Required. Path parameter for the article item.
Represents either the slug or the ID of the article item. Only one value
should be provided.

Response

application/json

A successful response.

articleobject

Optional. The article matching the requested criteria.

Show Child Parameters
get/migros/contentsearch/v1/preview/migusto/article/{slugOrId}
 
application/json

AutocompleteMigustoArticlesPreview is like AutocompleteMigustoArticles but also includes articles that are only in preview mode in Contentful.

post
https://api.migros.ch/migros/contentsearch/v1/preview/migusto/articles/autocomplete

Body

application/json
doNotMatcharray[object]

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

Show Child Parameters
languagestring

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.

articlesarray[object]

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

Show Child Parameters
totalHitsstring(int64)

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

post/migros/contentsearch/v1/preview/migusto/articles/autocomplete

Body

{}
 
application/json

SearchMigustoArticlesPreview is like SearchMigustoArticles but also includes articles that are only in preview mode in Contentful.

post
https://api.migros.ch/migros/contentsearch/v1/preview/migusto/articles/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

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.

articlesarray[object]

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

Show Child Parameters
totalHitsstring(int64)

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

post/migros/contentsearch/v1/preview/migusto/articles/search

Body

{}
 
application/json