Deployment

Creates a Deployment resource.

Creates a Deployment resource.

post/deployments/{id}/redeploy

Request

  • Base URL: https://api.spash.com
  • URL: https://api.spash.com/deployments/{id}/redeploy
  • Auth: one of:
    • API key in header Authorization
    • HTTP bearer

Path parameters

idstring required

Deployment identifier

Request body

idinteger
ansibleJobIdstring nullable
sportCenterstring iri-reference
pedroVersionstring
pedroFootballVersionstring nullable
passwordstring nullable required
deployForcedboolean
status'created' | 'provisioning' | 'configuring' | 'queued' | 'active' | 'failure' | 'timeout'
computerstring iri-reference required
createdAtstring date-time
updatedAtstring date-time
statusAsStringstring

Used as a temporary workaround as Symfony/workflow is not yet compatible with enums

pedroUrlsstring[]

Example request

{
  "sportCenter": "https://example.com/",
  "status": "created",
  "computer": "https://example.com/",
  "createdAt": "CURRENT_TIMESTAMP",
  "updatedAt": "CURRENT_TIMESTAMP"
}

Response

Deployment resource created

idinteger
ansibleJobIdstring nullable
sportCenterstring iri-reference
pedroVersionstring
pedroFootballVersionstring nullable
passwordstring nullable required
deployForcedboolean
status'created' | 'provisioning' | 'configuring' | 'queued' | 'active' | 'failure' | 'timeout'
computerstring iri-reference required
createdAtstring date-time
updatedAtstring date-time
statusAsStringstring

Used as a temporary workaround as Symfony/workflow is not yet compatible with enums

pedroUrlsstring[]

Example response

{
  "sportCenter": "https://example.com/",
  "status": "created",
  "computer": "https://example.com/",
  "createdAt": "CURRENT_TIMESTAMP",
  "updatedAt": "CURRENT_TIMESTAMP"
}

Changes

No recorded changes to this operation across all 1 revision of this API.