---
title: "contentsearchSearchContenthubNewsTeaserRequest"
url: "https://developer-qual.migros.ch/apis/content-search-api-qual-v1/versions/ced47038-88c7-4cc8-ad02-7627c04ce4d1/schemas/contentsearchSearchContenthubNewsTeaserRequest"
---

> Full API specification: https://developer-qual.migros.ch/apis/content-search-api-qual-v1/versions/ced47038-88c7-4cc8-ad02-7627c04ce4d1.md

# contentsearchSearchContenthubNewsTeaserRequest

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: ContentSearch API QUAL
  version: v1.115.0
servers:
  - url: https://api-qual.migros.ch
components:
  schemas:
    contentsearchTerm:
      properties:
        field:
          description: Required. Name of the field this term applies to, e.g. 'tags.id'.
          type: string
        values:
          description: >-
            Required. Values of the above field. These will be combined with an
            "OR"

            relationship.
          items:
            type: string
          type: array
      title: |-
        Term matches a field with one or multiple values. Multiple values are
        combined with an "OR" relationship
      type: object
    contentsearchLanguage:
      default: DE
      enum:
        - DE
        - FR
        - IT
        - EN
      title: Languages which can be filtered
      type: string
    contentsearchOutputOptions:
      properties:
        nextPageFrom:
          format: int64
          title: >-
            Optional. An offset into the elasticsearch response from where news
            should

            be returned, e.g. 6
          type: string
        pageSize:
          description: Optional. The maximum number of items to return in the response.
          format: int64
          type: string
        sortBy:
          description: >-
            Optional. A list of sort parameters to determine the order of the
            results.

            Example: ["updatedAt:desc", "_score:desc"].

            Each entry specifies a field and its sort direction (asc/desc).
          items:
            type: string
          type: array
      title: OutputOptions configures pagination and sorting
      type: object
    contentsearchTimeTerm:
      description: TimeTerm filters a time field. Either min, max or both should be
        provided.
      properties:
        field:
          description: Required. Name of the field that this term applies to, e.g.
            'updated_at'.
          type: string
        max:
          description: |-
            Optional. Max timestamp value that should be allowed for the field
            (exclusive).
          format: date-time
          type: string
        min:
          description: |-
            Optional. Min timestamp value that should be allowed for the field
            (inclusive).
          format: date-time
          type: string
      type: object
    contentsearchSearchContenthubNewsTeaserRequest:
      properties:
        doNotMatch:
          description: >-
            Optional. Terms not to be matched, multiple terms will be combined
            with an

            "AND" relationship.
          items:
            allOf:
              - $ref: "#/components/schemas/contentsearchTerm"
            type: object
          type: array
        language:
          allOf:
            - $ref: "#/components/schemas/contentsearchLanguage"
          description: >-
            Optional. If set, only news matching this language will be returned.
            By

            default, german news are returned.
        match:
          description: >-
            Optional. Terms to be matched, multiple terms will be combined with
            an

            "AND" relationship.
          items:
            allOf:
              - $ref: "#/components/schemas/contentsearchTerm"
            type: object
          type: array
        options:
          allOf:
            - $ref: "#/components/schemas/contentsearchOutputOptions"
          description: Optional. OutputOptions for pagination and sorting.
        searchTerm:
          description: Optional. Search Term for fulltext-search.
          type: string
        timeTerms:
          description: >-
            Optional. Time terms to be matched, multiple time terms will be
            combined

            with an "AND" relationship.
          items:
            allOf:
              - $ref: "#/components/schemas/contentsearchTimeTerm"
            type: object
          type: array
      type: object
```
