{
  "opencollection": "1.0.0",
  "info": {
    "name": "Pinata API",
    "version": "3.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Auth",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Test API authentication",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pinata.cloud/data/testAuthentication"
          },
          "docs": "Validates the Bearer token supplied in the Authorization header by\nreturning a fixed success message when the credentials are valid.\n"
        }
      ]
    },
    {
      "info": {
        "name": "Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Upload a file",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.pinata.cloud/v3/files",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "network",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "name",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "group_id",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "keyvalues",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Uploads a file to Pinata, pinning it to either the public IPFS\nnetwork or to private storage depending on the `network` parameter.\nThis endpoint is served from uploads.pinata.cloud.\n"
        },
        {
          "info": {
            "name": "List files on a network",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pinata.cloud/v3/files/:network",
            "params": [
              {
                "name": "network",
                "value": "",
                "type": "path"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query"
              },
              {
                "name": "name",
                "value": "",
                "type": "query"
              },
              {
                "name": "cid",
                "value": "",
                "type": "query"
              },
              {
                "name": "group",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a paginated list of files pinned on the specified Pinata\nnetwork (\"public\" or \"private\").\n"
        },
        {
          "info": {
            "name": "Get a file by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.pinata.cloud/v3/files/:network/:id",
            "params": [
              {
                "name": "network",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a file by ID"
        },
        {
          "info": {
            "name": "Delete a file by ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.pinata.cloud/v3/files/:network/:id",
            "params": [
              {
                "name": "network",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a file by ID"
        }
      ]
    }
  ],
  "bundled": true
}