Quick Start
  • Quick Start
    • Account Setup
    • Start with the Portal
      • Log in to Dashboard
      • Uploads Overview
        • Upload a File
        • Upload a Folder
      • Get Files
      • Delete Files
    • Start with the API
      • Obtain an API Key
      • Obtain an Access Token
      • Use the Access Token
  • Developer Documentation
  • Concepts
    • What is dStor?
    • Why dStor?
    • dStor Components
      • Directories
      • Folders
      • Files
      • Billing
  • Paying for dStor
    • Overview
  • Storage Node Operation Guide
    • Storage Node Operation
      • Node Operator Requirements
      • Become a Node Operator
      • Storage Node Install Pre-prequirements
      • Create User to Install
      • Create Directory & Install dStor
      • More Useful Commands
      • How it Works
  • Social
Powered by GitBook
On this page
  1. Quick Start

Start with the API

dStor API access is available through Swagger.

PreviousDelete FilesNextObtain an API Key

Last updated 2 years ago

Introduction to dStor API Keys

Many APIs require an API key for authentication purposes. However, sending the API key directly in API requests can be insecure as it can be intercepted by attackers. Instead, it is recommended to use an access token which can be used to authorize API requests.

The purpose of using the temporary access token model is to reduce reads to the dStor database, thereby ensuring that the system is able to remain performant even with a large number of users and dapps uploading content.

Swapping an API key for an access token is a secure way of authenticating API requests. By following the steps outlined in this documentation, you can easily obtain an access token and use it to authorize your API requests.

You may access swagger here.