---
  test_name: Hivemind bridge_api.get_community_context admin

  marks:
    - fullsynctest

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

  stages:
    - name: get_community_context
      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.get_community_context"
          params: {"name":"hive-148441", "account": "bluemist"}
      response:
        status_code: 200
        verify_response_with:
          function: validate_response:has_valid_response
          extra_kwargs:
            method: "admin"
            directory: "bridge_api_patterns/get_community_context"
