How to get started with the Fuga API
API

How to get started with the Fuga API

Use the OpenStack APIs to launch server instances, create images, assign metadata to instances and images, create storage containers and objects, and complete other actions in Fuga Cloud.

Overview

HTTP Response Code Description
200 Function successfully executed.
400 Invalid API location. Check the URL that you are using.
403 Invalid or missing API key. Check that your API key is present and matches your assigned key.
405 Invalid HTTP method. Check that the method (POST|GET) matches what the documentation indicates.
412 Request failed. Check the response body for a more detailed description.
500 Internal server error. Try again at a later time.
503 Rate limit hit. API requests are limited to an average of 2/s. Try your request again later.

Using the API

Authentication

For any API request that requires authentication, you would need to send the ‘X-Auth-Token: ’ HTTP header. See an example of a simple but effective PHP script.

Time and Date

All time and date fields returned by this API are displayed in UTC.

Format

The API reference is available in csv, json, table, value and yaml.

Service Service Endpoint
Identity https://identity.api.ams.fuga.cloud:443/v3
Compute https://compute.api.ams.fuga.cloud:443/v2.1/
Cloudformation https://heat-cfn.api.ams.fuga.cloud:443/v1
Image https://image.api.ams.fuga.cloud:443/
Key Manager https://key-manager.api.ams.fuga.cloud:443/v1
Network https://network.api.ams.fuga.cloud:443/
Object Store https://object.api.ams.fuga.cloud:443/swift/v1/
Orchestration https://orchestration.api.ams.fuga.cloud:443/v1/
Placement https://placement.api.ams.fuga.cloud:443/
S3 https://object.api.ams.fuga.cloud:443/
Volume https://volume.api.ams.fuga.cloud:443/v1/
Volumev2 https://volume.api.ams.fuga.cloud:443/v2/
Volumev3 https://volume.api.ams.fuga.cloud:443/v3/

Was this article helpful?


Next article:

How to create a server with the OpenStack API

OpenStack has an API that can be used in a myriad of ways. Here we will demonstrate a simple but effective PHP script that logs into the API, retrieves and selects a flavor, retrieves and selects a image and continues to create a simple server. This tutorial assumes a small degree of familiarity with PHP and the availability of PHP with the Curl library. This tutorial is tested with PHP version 7.

Improved performance and more features

BRAND NEW PLATFORM

Start NOW! More information