/api/v1/sms_carriers/search:
  description: pf::UnifiedApi::Controller::SMSCarriers
  post:
    description: Search all items.
    operationId: api.v1.SMSCarriers.search
    parameters: []
    requestBody:
      content:
        application/json:
          example:
            cursor: 0
            fields:
            - created
            - email_pattern
            - id
            - modified
            - name
            limit: 25
            query:
              op: and
              values:
              - op: or
                values:
                - field: created
                  op: contains
                  value: foo
                - field: email_pattern
                  op: contains
                  value: foo
                - field: id
                  op: contains
                  value: foo
                - field: modified
                  op: contains
                  value: foo
                - field: name
                  op: contains
                  value: foo
            sort:
            - id ASC
          schema:
            allOf:
            - $ref: '#/components/schemas/Search'
            - properties:
                cursor:
                  required: false
                  type: string
                fields:
                  items:
                    enum:
                    - created
                    - email_pattern
                    - id
                    - modified
                    - name
                    type: string
                  required: true
                  type: array
                limit:
                  maximum: 1000
                  minimum: 1
                  required: false
                  type: integer
                sort:
                  items:
                    enum:
                    - created ASC
                    - created DESC
                    - email_pattern ASC
                    - email_pattern DESC
                    - id ASC
                    - id DESC
                    - modified ASC
                    - modified DESC
                    - name ASC
                    - name DESC
                    type: string
                  required: true
                  type: array
              required:
              - fields
      required: true
    responses:
      '200':
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SMSCarriersList'
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/BadRequest'
      '409':
        $ref: '#/components/responses/Duplicate'
      '422':
        $ref: '#/components/responses/UnprocessableEntity'
    tags:
    - SMSCarriers
