version

/api/v0/pin/version

Show IPFS version information.

REQUEST

1
POST "https://ipfs.infura.io:5001/api/v0/version?number=<value>&commit=<value>&repo=<value>&all=<value>"
Copied!

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.

EXAMPLE

1
// POST
2
curl -X POST "https://ipfs.infura.io:5001/api/v0/version?number=<value>&commit=<value>&repo=<value>&all=<value>"
Copied!

RESPONSE

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

BODY

1
{
2
"Commit": "string",
3
"Golang": "string",
4
"Repo": "string",
5
"System": "string",
6
"Version": "string"
7
}
Copied!