def METHOD_NAME(key = "IROHA",
                     state = State.in_progress,
                     url = "null",
                     name = "null",
                     description = "null",
                     revision = "null"):
    upsource_url = "http://upsource.soramitsu.co.jp/~buildStatus"
    project = "iroha"
    post_body = {
        "key": key,
        "state": state,
        "url": url,
        "name": name,
        "description": description,
        "project": project,
        "revision": revision
    }
    # fails if token is not present
    TOKEN = os.environ["UPSOURCE_TOKEN"]
    post_headers = {
        "Content-Type": "application/json; charset=UTF-8",
        "Authorization": "Basic {}".format(TOKEN)
    }
    r = requests.post(
        upsource_url,
        headers=post_headers,
        data=json.dumps(post_body)
    )
    print("status code: {}".format(r.status_code))