Deployments API


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

Query Parameters

status
array (string)
after
string
limit
integer (int64)
sort_by
enum

Responses

200
OK response.
data
array (object)
required
Show attributes
created_at
string (date-time)
required
data
object
required
Show attributes
patch
array (object)
required
Show attributes
from
string
old_value
unknown
op
enum
required
path
string
required
value
unknown
source
object
Show attributes
git
object
Show attributes
commit
object
required
Show attributes
author
object
required
Show attributes
email
string
id
string
login
string
name
string
committer
object
required
Show attributes
email
string
id
string
login
string
name
string
message
string
required
sha
string
required
installation_id
string
required
owner
string
required
provider
enum
required
pull_request
string
ref
string
required
repo
string
required
repo_id
string
required
registry
object
Show attributes
command
array (string)
image
string
required
stacks
array (object)
Show attributes
id
string
required
status
enum
required
status_reason
string
timestamp
string (date-time)
required
environment_id
string
required
finished_at
string (date-time)
id
string
required
stack_ids
array (string)
required
started_at
string (date-time)
status
enum
required
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 / deployments / :id
get
/ v1 / environments / :environment_id / deployments / :id
curl --request GET \
     --url https://api.flexstack.com/v1/deployments/Voluptates%20impedit%20repellendus%20laborum. \
     --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
data
object
required
Show attributes
patch
array (object)
required
Show attributes
from
string
old_value
unknown
op
enum
required
path
string
required
value
unknown
source
object
Show attributes
git
object
Show attributes
commit
object
required
Show attributes
author
object
required
Show attributes
email
string
id
string
login
string
name
string
committer
object
required
Show attributes
email
string
id
string
login
string
name
string
message
string
required
sha
string
required
installation_id
string
required
owner
string
required
provider
enum
required
pull_request
string
ref
string
required
repo
string
required
repo_id
string
required
registry
object
Show attributes
command
array (string)
image
string
required
stacks
array (object)
Show attributes
id
string
required
status
enum
required
status_reason
string
timestamp
string (date-time)
required
environment_id
string
required
finished_at
string (date-time)
id
string
required
stack_ids
array (string)
required
started_at
string (date-time)
status
enum
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
patch
/ v1 / deployments / :id / cancel
curl --request PATCH \
     --url https://api.flexstack.com/v1/deployments/Omnis%20autem%20accusantium%20provident%20ut%20sunt./cancel \
     --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
data
object
required
Show attributes
patch
array (object)
required
Show attributes
from
string
old_value
unknown
op
enum
required
path
string
required
value
unknown
source
object
Show attributes
git
object
Show attributes
commit
object
required
Show attributes
author
object
required
Show attributes
email
string
id
string
login
string
name
string
committer
object
required
Show attributes
email
string
id
string
login
string
name
string
message
string
required
sha
string
required
installation_id
string
required
owner
string
required
provider
enum
required
pull_request
string
ref
string
required
repo
string
required
repo_id
string
required
registry
object
Show attributes
command
array (string)
image
string
required
stacks
array (object)
Show attributes
id
string
required
status
enum
required
status_reason
string
timestamp
string (date-time)
required
environment_id
string
required
finished_at
string (date-time)
id
string
required
stack_ids
array (string)
required
started_at
string (date-time)
status
enum
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
get
/ v1 / stacks / :stack_id / deployments
curl --request GET \
     --url https://api.flexstack.com/v1/stacks/Velit%20quae%20fugit./deployments \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

stack_id
string
required

Query Parameters

status
array (string)
after
string
limit
integer (int64)
sort_by
enum

Responses

200
OK response.
data
array (object)
required
Show attributes
created_at
string (date-time)
required
data
object
required
Show attributes
patch
array (object)
required
Show attributes
from
string
old_value
unknown
op
enum
required
path
string
required
value
unknown
source
object
Show attributes
git
object
Show attributes
commit
object
required
Show attributes
author
object
required
Show attributes
email
string
id
string
login
string
name
string
committer
object
required
Show attributes
email
string
id
string
login
string
name
string
message
string
required
sha
string
required
installation_id
string
required
owner
string
required
provider
enum
required
pull_request
string
ref
string
required
repo
string
required
repo_id
string
required
registry
object
Show attributes
command
array (string)
image
string
required
stacks
array (object)
Show attributes
id
string
required
status
enum
required
status_reason
string
timestamp
string (date-time)
required
environment_id
string
required
finished_at
string (date-time)
id
string
required
stack_ids
array (string)
required
started_at
string (date-time)
status
enum
required
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 / environments / :environment_id / deployments
curl --request GET \
     --url https://api.flexstack.com/v1/environments/1C8xJnvSBaztoHyxcim7C4/deployments \
     --header 'accept: application/json' \
     --header 'x-api-key: flex_018bcaea5d6a7678a1d0c9f70e72cd0el4csZ5Etx8BwFZ8QJ9YEwl'

Path Parameters

environment_id
string
required

Query Parameters

status
array (string)
after
string
limit
integer (int64)
sort_by
enum

Responses

200
OK response.
data
array (object)
required
Show attributes
created_at
string (date-time)
required
data
object
required
Show attributes
patch
array (object)
required
Show attributes
from
string
old_value
unknown
op
enum
required
path
string
required
value
unknown
source
object
Show attributes
git
object
Show attributes
commit
object
required
Show attributes
author
object
required
Show attributes
email
string
id
string
login
string
name
string
committer
object
required
Show attributes
email
string
id
string
login
string
name
string
message
string
required
sha
string
required
installation_id
string
required
owner
string
required
provider
enum
required
pull_request
string
ref
string
required
repo
string
required
repo_id
string
required
registry
object
Show attributes
command
array (string)
image
string
required
stacks
array (object)
Show attributes
id
string
required
status
enum
required
status_reason
string
timestamp
string (date-time)
required
environment_id
string
required
finished_at
string (date-time)
id
string
required
stack_ids
array (string)
required
started_at
string (date-time)
status
enum
required
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
Post to