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 "<YOUR-API-KEY>:<YOUR-API-KEY-SECRET>"

Request parameters

  • 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"
}