Abyss Cloud
  • Abyss Cloud
  • Setup
    • Core
  • Tutorials
    • Create a Cloud
    • Share my Cloud
  • About
    • Links
Powered by GitBook
On this page
  • Using the NPM Core Package
  • Standalone
  1. Setup

Core

PreviousAbyss CloudNextCreate a Cloud

Last updated 8 months ago

Using the NPM Core Package

The Core setup will allow you to use the core methods to access the service API.

AbyssCloudCore.setConfig({
      // Your Cloud Account API key
      apiKey: "cloud-account-api-key",
});
AbyssCloudCore.enableAxiosRetry();

Standalone

If you are not using the to access the API, you can skip this step and just set your API key on the HTTP request header.

// HTTP Version
GET /api/user/me HTTP/1.1
Host: cloud-api.abyss-project.fr
abyss-cloud-api-key: "abyss-cloud-api-key"

// Curl Version
curl --location 'https://cloud-api.abyss-project.fr/api/user/me' \
--header 'abyss-cloud-api-key: abyss-cloud-api-key'

abyss-cloud-api-key:allow you to access account endpoint

NPM package
How to create an API Key ?