You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

BigchainDB本地安装完成后访问localhost:9984获响应的技术咨询

BigchainDB Local Deployment: app_id, app_key, and api_path Clarification

Hey there! Great to hear you've got BigchainDB up and running locally successfully—your response from http://localhost:9984/ confirms your node is working as expected. Let's break down the details you're asking about:

First, let's recap your node's status response

Here's the truncated response you received, formatted for readability:

{
  "api": {
    "v1": {
      "assets": "/api/v1/assets/",
      "docs": "https://docs.bigchaindb.com/projects/server/en/v1.3.0/http-client-server-api.html",
      "outputs": "/api/v1/outputs/",
      "statuses": "/api/v1/statuses/",
      "streams": "ws://localhost:9985/api/v1/streams/valid_transactions",
      "transactions": "/api/v1/transactions/"
    }
  },
  "docs": "https://docs.bigchaindb.com/projects/server/en/v1.3.0/",
  "keyring": [],
  "public_k..."
}

About app_id and app_key

  • Local single-node deployments don't require these parameters by default. These credentials are built for managed BigchainDB services or deployments that include an API gateway for authentication, rate-limiting, or access control.
  • For development or testing on your local machine, you can interact directly with the BigchainDB API without providing an app_id or app_key—no authentication is enforced out of the box.
  • If you later set up a multi-node cluster with an API gateway, you'd configure these values in your node settings and use them to authenticate API requests.

About api_path

From your node's root response, you can see the official v1 API base path is /api/v1/. When making requests to your local node, your full API endpoints will take this structure:

  • Assets: http://localhost:9984/api/v1/assets/
  • Transactions: http://localhost:9984/api/v1/transactions/
  • Outputs: http://localhost:9984/api/v1/outputs/

So the api_path you'll use for local calls is simply /api/v1/ (or the full base URL http://localhost:9984/api/v1/, depending on your client tool's configuration).

内容的提问来源于stack exchange,提问作者zSynopsis

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 04:17:48