---
  test_name: Hivemind bridge.post_notifications patterns test valid account, permlink and last_id
  marks:
    - patterntest # show only votes (bc of last_it type - vote)

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

  stages:
    - name: bridge.post_notifications
      request:
        url: "{service.proto:s}://{service.server:s}:{service.port}/"
        method: POST
        headers:
          content-type: application/json
        json:
          jsonrpc: "2.0"
          id: 1
          method: "bridge.post_notifications"
          params: {"author":"venuspcs","permlink":"re-minion-how-to-summon-one-of-the-biggest-and-most-powerful-steemit-whales-berniesanders-20160812t010731631z","min_score":10, "last_id":17195928067769805}
      response:
        status_code: 200
        verify_response_with:
          function: validate_response:compare_response_with_pattern
          extra_kwargs:
            method: "account_permlink_last_it_votes"
            directory: "bridge_api_patterns/post_notifications"
