Alphaus | Documentation
WebsiteRepoTech blog (JP)Tech blog (EN)
ALM v2.0
ALM v2.0
  • Mobingi Documentation (v2.0)
  • Getting started
  • Guides and tutorials
    • Stack lifecycle
      • Deploy stack
      • Manage stack
    • Docker
      • Custom Docker containers
    • Others
      • Blue-green deployment
      • How to use RDS
      • Environment variables
      • Custom installation script
      • SSH into your container
    • FAQ
  • API Reference
    • Overview
    • Stacks
      • List stacks
      • Create stack
      • Describe stack
      • Update stack
      • Delete stack
      • Deploy code
      • Put lifecycle hook
      • Get lifecycle hook
      • Restart instance
      • Describe ServiceConfig
      • Update ServerConfig
    • Vendor credentials
      • List credentials
      • Save credentials
      • Delete credentials
Powered by GitBook
On this page

Was this helpful?

  1. API Reference
  2. Stacks

Describe ServiceConfig

GET /v2/alm/serverconfig?stack_id={stack_id}

Parameters

Type

Required

Details

stack_id

string

yes

Request header:

Authorization: Bearer eyJ0eXAiOiJ83fjQb3LzMeXzQfME
Content-Type: application/json

Example response:

HTTP/1.1 200 OK

{
    "image":"mobingi\/ubuntu-apache2-php5",
    "code":"git:\/\/github.com\/mobingilabs\/default-site-php",
    "codeDir":"\/srv\/code\/",
    "ports":[
        80,
        443
    ],
    "environmentVariables":[],
    "updated":1479374854,
    "version":"2017-02-01",
}
PreviousRestart instanceNextUpdate ServerConfig

Last updated 6 years ago

Was this helpful?