Home
Author Manual
Themes Guide
Development

get-package API

This API is get called from fpm, when it need to get the package to deploy on the instance.

API

URL and Parameters

URL of the API is: /v1/fpm/get-package

Query Parameter: ec2_instance_id

Request Method
Request Method of this API is GET

Response
The output of the API is:

{
    "success": true,
    "result": {
        "package": "<name of the package>",
        "git": "<git url of the package>",
        "base": "<base url of the package>"
    }
}