GET /api/containers/{id}
OAuth AuthorizationRequired: projects_read
SCHEMA
containers: Array
id: Integername: Stringreq_state: String<running,stopped>stats: Object
cpu: Decimalmem: Decimalcurrent_state: String<migrating,starting,stopping,working,alert,resource_usage,online,offline>local_ip: Stringpublic_ip: Stringcreated_at: DateTimeupdated_at: DateTimeingress_rules: Array
ingress_rule: Object
id: Integerport: Integerport_nat: Integerproto: String<http,tcp,tls,udp>external_access: Booleanbackend_ssl: Booleantcp_proxy_opt: String<none,send-proxy,send-proxy-v2,send-proxy-v2-ssl,send-proxy-v2-ssl-cn>redirect_ssl: Booleanrestrict_cf: Boolean | If true, only allow CloudFlaretcp_lb: Booleancreated_at: Booleanupdated_at: Booleancontainer_service_id: Integerload_balancer_rule_id: Integerinternal_load_balancer_id: Integerload_balanced_rules: Arraylinks: Object
domains: String (url)PUT /api/containers/{container-id}/power/{action}
OAuth AuthorizationRequired: projects_write
action: String<start,stop,restart,rebuild>
GET /api/containers/{id}/logs
OAuth AuthorizationRequired: projects_read
limit: Integer | How many lines to include?period_start: Integer | Log date range (start). As an integer, time since epoch. Default: 1 day agoperiod_end: Integer | Log date range (end). As an integer, time since epoch. Default: NowReturns an Array of Arrays containing: Timestamp, container name, log entry
View processes inside of a container
GET /api/containers/{container-id}/container_processes