---
  test_name: Hivemind tags_api.get_comment_discussions_by_payout patterns test author

  marks:
    - patterntest # changed behaviour so when either start_author or start_permlink is passed, both have to be passed and point to actual post
    - negative

  includes:
    - !include ../../common.yaml

  stages:
    - name: get_comment_discussions_by_payout
      request:
        url: "{service.proto:s}://{service.server:s}:{service.port}/"
        method: POST
        headers:
          content-type: application/json
        json:
          jsonrpc: "2.0"
          id: 1
          method: "tags_api.get_comment_discussions_by_payout"
          params: ["otc", "", "10", "", 0]
      response:
        status_code: 200
        verify_response_with:
          function: validate_response:compare_response_with_pattern
          extra_kwargs:
            method: "author"
            directory: "tags_api_negative/get_comment_discussions_by_payout"
            error_response: true