API Version 2.3.0
Returns an array of all shipments
Returns an object with information about a particular shipment
Returns an environment object, with a parentShipment field containing the parent shipment
Returns a shipment environment, that contains the envVar name and value
Returns the changes for a shipment and environment pair. Must be authenticated to get hidden logs.
Returns all changes for a shipment. Same as searching
/v
1/logs/shipment/:Shipment/environment/parent
. Must be authenticated to get hidden logs.
Creates new shipment
:Shipment
. Returns new object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
name
- type: String
- required: true
- description: Name of shipment
- requirement: Must be a string using only [A-Za-z0-9_-]
group
- type: String
- required: true
- description: The group that owns this shipment
- requirement: Must be a valid group from argonaut.turner.com that the user belongs to
Creates new envVar
:EnvVar
under/shipment/:Shipment
. Returns new object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
name
- type: String
- required: true
- description: The name of the variable in the (unix?) environment
- requirement: Must be a string starting with [A-Za-z_] and using only [A-Za-z0-9_]
value
- type: String
- required: true
- description: The value the envvar gets set to
- requirement: Must be a valid string
type
- type: String
- required: false
- description: The type of environment variable (basic, discover, or hidden), defaults
'basic'
- requirement: Must be 'basic', 'discover', or 'hidden'
Creates new environment
:Environment
under/shipment/:Shipment
. Returns new object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
name
- type: String
- required: true
- description: Name of the environment
- requirement: Must be a string using only [A-Za-z0-9_-]
dockercfg
- type: String
- required: false
- description: The docker cfg value
- requirement: Must be base64 encoded and be a valid docker config file
Creates new envVar
:EnvVar
under/shipment/:Shipment/environment/:Environment
. Returns new object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
name
- type: String
- required: true
- description: The name of the variable in the (unix?) environment
- requirement: Must be a string starting with [A-Za-z_] and using only [A-Za-z0-9_]
value
- type: String
- required: true
- description: The value the envvar gets set to
- requirement: Must be a valid string
type
- type: String
- required: false
- description: The type of environment variable (basic, discover, or hidden), defaults
'basic'
- requirement: Must be 'basic', 'discover', or 'hidden'
Creates new container
:Container
under/shipment/:Shipment/environment/:Environment
. Returns new object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
name
- type: String
- required: true
- description: Name of container (probably best to be role, like api, db)
- requirement: Must be a string using only [A-Za-z0-9_-]
image
- type: String
- required: true
- description: The Docker link to the Docker container
- requirement: Must be a valid docker link, formatted:
'registry.domain/docker-image-name:tag' (must be a DNS label)
Creates new port
:Port
under/shipment/:Shipment/environment/:Environment/container/:Container
. Returns new object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
name
- type: String
- required: true
- description: Identifier of port
- requirement: Must be a string using only [A-Za-z0-9_-]
value
- type: Number
- required: true
- description: The value for this port
- requirement: must be a valid port (between 1-65535)
protocol
- type: String
- required: false
- description: Protocol of healthcheck on the port, defaults http
- requirement: Must be a valid healthcheck protocol (http, https or tcp)
healthcheck
- type: String
- required: false
- description: Value of healthcheck (structured in a potentially protocol-dependent way),
defaults empty string
- requirement: Must be a valid String
external
- type: Boolean
- required: false
- description: Boolean, if should be exposed on the ELB, defaults true
- requirement: must be a valid boolean
primary
- type: Boolean
- required: false
- description: Boolean, if true then should be primary healthcheck for app at the ELB
layer.
- requirement: must be a valid boolean
public_vip
- type: Boolean
- required: false
- description: Boolean, if should be exposed outside vpc or not, defaults false. Can only
be true if External is true.
- requirement: must be a valid boolean, and can only be true if external is true
public_port
- type: Number
- required: false
- description: The port value for the ELB
- requirement: must be a valid port (between 1-65535)
enable_proxy_protocol
- type: Boolean
- required: false
- description: Boolean, if ELB should forward client IP information via Proxy Protocol
scheme (only applies to TCP ELBs), defaults false
- requirement: must be a valid boolean
private_key
- type: String
- required: false
- description: Private key for a SSL Certificate (pem encoded)
- requirement: Must be a valid String
public_key_certificate
- type: String
- required: false
- description: Public key for a SSL Certificate (pem encoded)
- requirement: Must be a valid String
certificate_chain
- type: String
- required: false
- description: SSL certificate chain (pem encoded)
- requirement: Must be a valid String
ssl_arn
- type: String
- required: false
- description: ARN for an AWS ACM SSL Certificate or manually upload IAM server certificate
- requirement: Must be a valid String
ssl_management_type
- type: String
- required: false
- description: SSL management type.
- requirement: Must be a valid SSL Management type (iam or acm)
Creates new envVar
:EnvVar
under/shipment/:Shipment/environment/:Environment/container/:Container
. Returns new object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
name
- type: String
- required: true
- description: The name of the variable in the (unix?) environment
- requirement: Must be a string starting with [A-Za-z_] and using only [A-Za-z0-9_]
value
- type: String
- required: true
- description: The value the envvar gets set to
- requirement: Must be a valid string
type
- type: String
- required: false
- description: The type of environment variable (basic, discover, or hidden), defaults
'basic'
- requirement: Must be 'basic', 'discover', or 'hidden'
Creates new provider
:Provider
under/shipment/:Shipment/environment/:Environment
. Returns new object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
name
- type: String
- required: true
- description: Which provider (ec2, 56m, etc)
- requirement: Must be a valid provider (ec2 or 56m today)
replicas
- type: Number
- required: false
- description: Number of containers to run in this provider, defaults 0
- requirement: Must be 0 or positive Integer
barge
- type: String
- required: true
- description: The name of the barge, the provider should be deployed on.
- requirement: Must be a string.
Creates new envVar
:EnvVar
under/shipment/:Shipment/environment/:Environment/provider/:Provider
. Returns new object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
name
- type: String
- required: true
- description: The name of the variable in the (unix?) environment
- requirement: Must be a string starting with [A-Za-z_] and using only [A-Za-z0-9_]
value
- type: String
- required: true
- description: The value the envvar gets set to
- requirement: Must be a valid string
type
- type: String
- required: false
- description: The type of environment variable (basic, discover, or hidden), defaults
'basic'
- requirement: Must be 'basic', 'discover', or 'hidden'
Creates new logs
:Logs
. Returns new object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
shipment
- type: String
- required: true
- description: Name of shipment for the difference.
- requirement: Must be a string using only [A-Za-z0-9_-]
environment
- type: String
- required: true
- description: Name of environment for the difference.
- requirement: Must be a valid group from argonaut.turner.com that the user belongs to
hidden
- type: Boolean
- required: true
- description: If the log is supposed to be hidden or not.
- requirement: Must be a valid boolean.
diff
- type: String
- required: true
- description: The difference, stored as a JSON string.
- requirement: Must be a valid string.
user
- type: String
- required: true
- description: The user that made the change.
- requirement: Must be a valid string.
updated
- type: Number
- required: true
- description: The timestamp the change was made.
- requirement: Must be a valid number.
Updates shipment
:Shipment
. Returns updated object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
group
- type: String
- required: false
- description: The group that owns this shipment
- requirement: Must be a valid group from argonaut.turner.com that the user belongs to
Updates envVar
:EnvVar
under/shipment/:Shipment
. Returns updated object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
value
- type: String
- required: false
- description: The value the envvar gets set to
- requirement: Must be a valid string
type
- type: String
- required: false
- description: The type of environment variable (basic, discover, or hidden), defaults
'basic'
- requirement: Must be 'basic', 'discover', or 'hidden'
Updates environment
:Environment
under/shipment/:Shipment
. Returns updated object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
dockercfg
- type: String
- required: false
- description: The docker cfg value
- requirement: Must be base64 encoded and be a valid docker config file
Updates envVar
:EnvVar
under/shipment/:Shipment/environment/:Environment
. Returns updated object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
value
- type: String
- required: false
- description: The value the envvar gets set to
- requirement: Must be a valid string
type
- type: String
- required: false
- description: The type of environment variable (basic, discover, or hidden), defaults
'basic'
- requirement: Must be 'basic', 'discover', or 'hidden'
Updates container
:Container
under/shipment/:Shipment/environment/:Environment
. Returns updated object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
image
- type: String
- required: false
- description: The Docker link to the Docker container
- requirement: Must be a valid docker link, formatted:
'registry.domain/docker-image-name:tag' (must be a DNS label)
Updates port
:Port
under/shipment/:Shipment/environment/:Environment/container/:Container
. Returns updated object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
name
- type: String
- required: false
- description: Identifier of port
- requirement: Must be a string using only [A-Za-z0-9_-]
value
- type: Number
- required: false
- description: The value for this port
- requirement: must be a valid port (between 1-65535)
protocol
- type: String
- required: false
- description: Protocol of healthcheck on the port, defaults http
- requirement: Must be a valid healthcheck protocol (http, https or tcp)
healthcheck
- type: String
- required: false
- description: Value of healthcheck (structured in a potentially protocol-dependent way),
defaults empty string
- requirement: Must be a valid String
external
- type: Boolean
- required: false
- description: Boolean, if should be exposed on the ELB, defaults true
- requirement: must be a valid boolean
primary
- type: Boolean
- required: false
- description: Boolean, if true then should be primary healthcheck for app at the ELB
layer.
- requirement: must be a valid boolean
public_vip
- type: Boolean
- required: false
- description: Boolean, if should be exposed outside vpc or not, defaults false. Can only
be true if External is true.
- requirement: must be a valid boolean, and can only be true if external is true
public_port
- type: Number
- required: false
- description: The port value for the ELB
- requirement: must be a valid port (between 1-65535)
enable_proxy_protocol
- type: Boolean
- required: false
- description: Boolean, if ELB should forward client IP information via Proxy Protocol
scheme (only applies to TCP ELBs), defaults false
- requirement: must be a valid boolean
private_key
- type: String
- required: false
- description: Private key for a SSL Certificate (pem encoded)
- requirement: Must be a valid String
public_key_certificate
- type: String
- required: false
- description: Public key for a SSL Certificate (pem encoded)
- requirement: Must be a valid String
certificate_chain
- type: String
- required: false
- description: SSL certificate chain (pem encoded)
- requirement: Must be a valid String
ssl_arn
- type: String
- required: false
- description: ARN for an AWS ACM SSL Certificate or manually upload IAM server certificate
- requirement: Must be a valid String
ssl_management_type
- type: String
- required: false
- description: SSL management type.
- requirement: Must be a valid SSL Management type (iam or acm)
Updates envVar
:EnvVar
under/shipment/:Shipment/environment/:Environment/container/:Container
. Returns updated object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
value
- type: String
- required: false
- description: The value the envvar gets set to
- requirement: Must be a valid string
type
- type: String
- required: false
- description: The type of environment variable (basic, discover, or hidden), defaults
'basic'
- requirement: Must be 'basic', 'discover', or 'hidden'
Updates provider
:Provider
under/shipment/:Shipment/environment/:Environment
. Returns updated object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
replicas
- type: Number
- required: false
- description: Number of containers to run in this provider, defaults 0
- requirement: Must be 0 or positive Integer
barge
- type: String
- required: false
- description: The name of the barge, the provider should be deployed on.
- requirement: Must be a string.
Updates envVar
:EnvVar
under/shipment/:Shipment/environment/:Environment/provider/:Provider
. Returns updated object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
value
- type: String
- required: false
- description: The value the envvar gets set to
- requirement: Must be a valid string
type
- type: String
- required: false
- description: The type of environment variable (basic, discover, or hidden), defaults
'basic'
- requirement: Must be 'basic', 'discover', or 'hidden'
Updates logs
:Logs
. Returns updated object if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Rolls the build token for this Shipment. Returns the Shipment or error
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Deletes shipment
:Shipment
. Returns success status if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Deletes envVar
:EnvVar
under/shipment/:Shipment
. Returns success status if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Deletes environment
:Environment
under/shipment/:Shipment
. Returns success status if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Deletes envVar
:EnvVar
under/shipment/:Shipment/environment/:Environment
. Returns success status if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Deletes container
:Container
under/shipment/:Shipment/environment/:Environment
. Returns success status if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Deletes port
:Port
under/shipment/:Shipment/environment/:Environment/container/:Container
. Returns success status if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Deletes envVar
:EnvVar
under/shipment/:Shipment/environment/:Environment/container/:Container
. Returns success status if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Deletes provider
:Provider
under/shipment/:Shipment/environment/:Environment
. Returns success status if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Deletes envVar
:EnvVar
under/shipment/:Shipment/environment/:Environment/provider/:Provider
. Returns success status if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Deletes logs
:Logs
. Returns success status if successful or error otherwise
x-username
- type: String
- required: true
- description: The username of authenticated user
- requirement: Must be a valid turner ldap username
x-token
- type: String
- required: true
- description: The token of authenticated user
- requirement: Must be a valid token for username authenticated against
http://auth.services.dmtio.net
Readme generated by running ./generate-readme > README.md
in repository