# version

## /api/v0/version

Show IPFS version information.

### REQUEST

{% tabs %}
{% tab title="Syntax" %}

```bash
curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/version?number=<value>&commit=<value>&repo=<value>&all=<value>" \
    -X POST
```

{% endtab %}

{% tab title="Example" %}

```bash
curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/version" \
    -X POST
```

{% endtab %}
{% endtabs %}

#### 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"
}
```
