version
Show IPFS version information.
Syntax
Example
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>"
curl "https://ipfs.infura.io:5001/api/v0/version" \
-X POST \
-u "PROJECT_ID:PROJECT_SECRET"
number
[Optional] - Only show the version number.commit
[Optional] - Show the commit hash.repo
[Optional] - Show repo version.all
[Optional] - Show all version information.
On success, the call to this endpoint returns with 200 and the following body:
{
"Commit": "string",
"Golang": "string",
"Repo": "string",
"System": "string",
"Version": "string"
}
Last modified 2mo ago