Computer

Replaces the Computer resource.

Replaces the Computer resource.

put/computers/{id}

Request

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

Path parameters

idstring required

Computer identifier

Request body

namestring required
type'web_server' | 'calculation_server' | 'ihm' | 'box_player' | 'field_tv' | 'spash_tv' | 'post_match' required
osstring required
vpnIpstring ipv4 nullable
boxIdstring nullable
sponsoringScreenIdstring nullable
sponsoringPlayerIdstring nullable
macAddressstring nullable
interactiveboolean

Define if the computer interface is interactive or not.

sportCenterstring iri-reference
fieldstring iri-reference nullable

Example request

{
  "type": "web_server",
  "os": "linux",
  "sportCenter": "https://example.com/",
  "field": "https://example.com/"
}

Response

Computer resource updated

idinteger
namestring required
type'web_server' | 'calculation_server' | 'ihm' | 'box_player' | 'field_tv' | 'spash_tv' | 'post_match' required
osstring required
vpnIpstring ipv4 nullable
boxIdstring nullable
sponsoringScreenIdstring nullable
sponsoringPlayerIdstring nullable
macAddressstring nullable
interactiveboolean

Define if the computer interface is interactive or not.

createdAtstring date-time
updatedAtstring date-time

Example response

{
  "type": "web_server",
  "os": "linux",
  "sportCenter": {
    "coordinates": [
      0,
      0
    ],
    "visible": true,
    "timeZone": "Europe/Paris",
    "durationChoices": [
      3600,
      5400,
      7200
    ],
    "language": "en",
    "distanceUnite": "km",
    "country": {
      "currency": "EUR"
    },
    "tags": [
      {
        "createdAt": "CURRENT_TIMESTAMP",
        "updatedAt": "CURRENT_TIMESTAMP"
      }
    ],
    "createdAt": "CURRENT_TIMESTAMP",
    "updatedAt": "CURRENT_TIMESTAMP"
  },
  "field": {
    "createdAt": "CURRENT_TIMESTAMP",
    "updatedAt": "CURRENT_TIMESTAMP"
  },
  "createdAt": "CURRENT_TIMESTAMP",
  "updatedAt": "CURRENT_TIMESTAMP"
}

Changes

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