Stacks API


get
/ v1 / stacks
curl --request GET \
     --url https://api.flexstack.com/v1/stacks \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Query Parameters

after
string
limit
integer (int64)
sort_by
enum

Responses

200
OK response.
data
array (object)
required
Show attributes
created_at
string (date-time)
required
environment_id
string
required
id
string
required
latest_deployment_id
string
outputs
object
required
Show attributes
object
resource_id
string
stack_type
enum
required
status
enum
required
status_reason
string
timestamp
string (date-time)
updated_at
string (date-time)
required
has_more
boolean
required
next_page
string
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
get
/ v1 / stacks / :id
get
/ v1 / environments / :environment_id / stacks / :id
curl --request GET \
     --url https://api.flexstack.com/v1/stacks/Beatae%20et%20consequatur%20vel%20explicabo. \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

id
string
required

Responses

200
OK response.
created_at
string (date-time)
required
environment_id
string
required
id
string
required
latest_deployment_id
string
outputs
object
required
Show attributes
object
resource_id
string
stack_type
enum
required
status
enum
required
status_reason
string
timestamp
string (date-time)
updated_at
string (date-time)
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
get
/ v1 / components / :component_id / stack
curl --request GET \
     --url https://api.flexstack.com/v1/components/1C8xJnvSBaztoHyxcim7C4/stack \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

component_id
string
required

Responses

200
OK response.
created_at
string (date-time)
required
environment_id
string
required
id
string
required
latest_deployment_id
string
outputs
object
required
Show attributes
object
resource_id
string
stack_type
enum
required
status
enum
required
status_reason
string
timestamp
string (date-time)
updated_at
string (date-time)
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
get
/ v1 / environments / :environment_id / stacks
curl --request GET \
     --url https://api.flexstack.com/v1/environments/1C8xJnvSBaztoHyxcim7C4/stacks \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

environment_id
string
required

Query Parameters

after
string
limit
integer (int64)
sort_by
enum

Responses

200
OK response.
data
array (object)
required
Show attributes
created_at
string (date-time)
required
environment_id
string
required
id
string
required
latest_deployment_id
string
outputs
object
required
Show attributes
object
resource_id
string
stack_type
enum
required
status
enum
required
status_reason
string
timestamp
string (date-time)
updated_at
string (date-time)
required
has_more
boolean
required
next_page
string
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
get
/ v1 / components / :component_id / container-service
curl --request GET \
     --url https://api.flexstack.com/v1/components/1C8xJnvSBaztoHyxcim7C4/container-service \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

component_id
string
required

Responses

200
OK response.
cluster_arn
string (regexp)
required
created_at
string (date-time)
required
deployments
array (object)
required
Show attributes
created_at
string (date-time)
required
desired_count
integer (int32)
required
failed_tasks
integer (int32)
required
id
string
required
pending_count
integer (int32)
required
rollout_state
enum
required
rollout_state_reason
string
running_count
integer (int32)
required
service_connect_configuration
object
required
Show attributes
namespace
string (regexp)
required
services
array (object)
required
Show attributes
client_aliases
array (object)
required
Show attributes
dns_name
string (hostname)
required
port
integer (int32)
required
discovery_name
string
required
port_name
string
required
status
enum
required
desired_count
integer (int32)
required
events
array (object)
required
Show attributes
created_at
string (date-time)
required
id
string
required
message
string
required
id
string
required
pending_count
integer (int32)
required
running_count
integer (int32)
required
service_arn
string (regexp)
required
service_name
string
required
stack_component_id
string
required
status
enum
required
task_definition
string (regexp)
required
tasks
array (object)
required
Show attributes
availability_zone
string
required
connectivity
enum
required
connectivity_at
string (date-time)
containers
array (object)
required
Show attributes
container_arn
string (regexp)
required
cpu
string
exit_code
integer (int32)
health_status
enum
required
image
string
image_digest
string
last_status
enum
required
memory
string
name
string
required
reason
string
runtime_id
string
cpu
string
required
created_at
string (date-time)
required
desired_status
enum
required
ephemeral_storage_gib
integer (int32)
required
execution_stopped_at
string (date-time)
group
string
required
health_status
enum
required
ipv6_address
string (ipv6)
required
last_status
enum
required
launch_type
enum
required
memory
string
required
private_dns_name
string (hostname)
required
private_ipv4_address
string (ipv4)
required
pull_started_at
string (date-time)
pull_stopped_at
string (date-time)
started_at
string (date-time)
stop_code
enum
stopped_at
string (date-time)
stopped_reason
string
stopping_at
string (date-time)
task_arn
string (regexp)
required
task_definition_arn
string (regexp)
required
updated_at
string (date-time)
required
400
Bad Request response.
cause
unknown
code
enum
required
message
string
required
401
Unauthorized response.
cause
unknown
code
enum
required
message
string
required
403
Forbidden response.
cause
unknown
code
enum
required
message
string
required
404
Not Found response.
cause
unknown
code
enum
required
message
string
required
408
Request Timeout response.
cause
unknown
code
enum
required
message
string
required
409
Conflict response.
cause
unknown
code
enum
required
message
string
required
429
Too Many Requests response.
cause
unknown
code
enum
required
message
string
required
500
Internal Server Error response.
cause
unknown
code
enum
required
message
string
required
501
Not Implemented response.
cause
unknown
code
enum
required
message
string
required
Post to