Skip to content

CodAdam/coco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastForward

FastForward is a DevOps automate platform.

API Reference

Provisioning

GoDoc

Example Request:

./jsonrpctest.py http://YOUR_FF_SERVER:7000/v1 \
Provisioning.Exec \
"{'User': 'ubuntu', \
'Host': 'YOUR_REMOTE_SERVER', \
'DisplayOutput': true, \
'AbortOnError': true, \
'AptCache': false, \
'UseSudo': true, \
'CmdLine': 'echo FastForward'}"

Example Response:

{u'id': 1, u'result': u'FastForward\n', u'error': None}

Query Parameters:

  • User - The username for remote server.
  • Host - The remote server ip or FQDN.
  • DisplayOutput - true/false, Show the execution output.
  • AbortOnError - true/false, Ignore errors if set to true.
  • AptCache - true/false, Using apt-get update before installation if set to true.
  • UseSudo - true/false, Using sudo privilege for execution if set to true.
  • CmdLine - The command line to be executed.

Status Codes:

  • 200 - No error.
  • 400 - Bad parameter.
  • 500 - Server error.

About

demo project for git beginning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages