> For the complete documentation index, see [llms.txt](https://docs.wetez.io/wetez/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wetez.io/wetez/developer/storage/http-api-methods.md).

# HTTP API methods

The IPFS documentation lists the [IPFS HTTP API methods](https://docs.ipfs.io/reference/http/api/).

Wetez supports a subset of these which are detailed in this section.

{% hint style="warning" %}
All Wetez IPFS methods require including the Admin Key or use Dedicated Gateway
{% endhint %}

## Arguments

Arguments are added through the special query string key `arg`:

```bash
curl -X POST "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/add?recursive=false&quiet=<value>&quieter=<value>&silent=<value>&progress=<value>&trickle=<value>&only-hash=<value>&wrap-with-directory=<value>&hidden=<value>&chunker=<value>&pin=true&raw-leaves=<value>&nocopy=<value>&fscache=<value>&cid-version=0&hash=sha2-256"
```

Note that `arg` can be used multiple times to signify multiple arguments.

## NDJSON responses

When a bunch of objects are requested, IPFS returns them in the Newline Delimited JSON, [NDJSON](http://ndjson.org/), format.&#x20;

This is because the calls are asynchronous and the responses are processed one object at a time.

{% hint style="warning" %}
Response JSON includes `\n` separators that must be dealt with.
{% endhint %}
