Introduction

Introduction

The LayerStack API allows you to manage LayerStack Cloud Servers with RestFUL API using HTTP request.

API Server and Base URL

All API endpoints are relative to the base URL. The base URL is LayerStack API is https://api.layerpanel.com/api. Therefore, /cloudserver endpoint refers to https://api.layerpanel.com/api/cloudserver.

Types of Requests

The following types of requests are supported by LayerStack API:

Each request will have its own parameters. Refer to the documentation of each endpoint for parameters details.

HTTP Statuses

Response for LayerStack API will include standard HTTP statuses including error codes. Specific error messages would be provided for different API calls. The following explains the meaning of different status codes in general.

Response

Response of LayerStack API is in JSON format.

Authentication

An Access token is needed for a complete authentication request. Include your access token as HTTP header in your request. The Access token can be obtained from User Profile & Settings Page.

Headers required AccessToken your API token optained from panel. Account your Account ID in XX-12345678 format.

Object ID

Object ids are unique system wide. It is a 12 char string. It is used for identifying objects such as cloud servers.

Last updated