Skip to main content

version

/api/v0/pin/version

Show IPFS version information.

REQUEST

curl "https://ipfs.infura.io:5001/api/v0/version?number=<value>&commit=<value>&repo=<value>&all=<value>" \
-X POST \
-u "<API_KEY>:<API_KEY_SECRET>"

REQUEST PARAMS

  • number [Optional] - Only show the version number.
  • commit [Optional] - Show the commit hash.
  • repo [Optional] - Show repo version.
  • all [Optional] - Show all version information.

RESPONSE

On success, the call to this endpoint returns with 200 and the following body:

BODY

{
"Commit": "string",
"Golang": "string",
"Repo": "string",
"System": "string",
"Version": "string"
}