• Register

NXP API documentation

This is an example API documentation page created for our API demo at NXP. 

There are two API's availible.

/machines

example request:

http://trial1016.api.mashery.com/machines?CPUs=4

example reponse:

{    "InstanceTypes":
  [
         {
             "Provider": "AWS",
             "Type": "t3.xlarge",
             "CPUs": 4,
             "Memory": 16,
             "Storage": 20,
             "Price": 0.1664        },
         {
             "Provider": "OnPrem",
             "Type": "VM_medium",
             "CPUs": 4,
             "Memory": 8,
             "Storage": 20,
             "Price": 0.15
         }
     ]
 }

/startmachine

example request:

http://trial1016.api.mashery.com/startmachine?instancetype=t3.nano

example reponse:

{
     "InstanceName": "i-08690468b9589ed0c"
}