Skip to content

Latest commit

 

History

History
46 lines (41 loc) · 782 Bytes

File metadata and controls

46 lines (41 loc) · 782 Bytes

Description

File Sharing and Storage for Free with 1TB Space

Example Request

  • Curl
curl "https://api.web3.storage/user/uploads" -H "Authorization: Bearer {{token}}"
  • Raw
GET /user/uploads HTTP/1.1
Host: api.web3.storage
Authorization: Bearer {{token}}

Response

  • Success
[]
  • Error
{
    "code":"ERROR_TOKEN_NOT_FOUND",
    "message":"API token no longer valid"
}

or

{
    "code":"ERROR_UNRECOGNISED_TOKEN",
    "message":"Could not parse provided API token"
}

Regex

^[A-Za-z0-9-_=]+\.[A-Za-z0-9-_=]+\.?[A-Za-z0-9-_.+/=]*$

Example API key

eyJpc3MiOiJPbmxpbmUgSldUIEJ1aWxkZXIiLCJpYXQiOjE2M.jkxMDcxMjAsImV4cCI6MTY2MDY0MzEyMCwiYXVkIjo........