StorageServer

Replaces the StorageServer resource.

Replaces the StorageServer resource.

put/storage_servers/{id}

Request

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

Path parameters

idstring required

StorageServer identifier

Request body

namestring
domainstring
type'aws' | 'minio' | 'dailymotion' | 'ovh_s3'
loginstring
passwordstring
awsRegion'eu-west-3' | 'gra' | 'rbx' | 'uk' nullable
ipstring
portinteger
maxStoragenumber

Maximum storage capacity in To

bandwidthnumber nullable

Bandwidth in Gbit/s

availableboolean

Defines if this server can be selected for new sportCenters.

apiKeystring nullable
apiSecretstring nullable
encryptedCredentialsboolean
bucketPrefixstring nullable

This will allow us to balance the load between different OVH S3 buckets if needed.

manualDeletionRequiredboolean
hasBucketForClipsboolean

Defines if this server has a bucket for clips. If not, clips will be stored in the main bucket.

countrystring iri-reference nullable

Example request

{
  "domain": "ngtvexperience.com",
  "type": "minio",
  "awsRegion": "eu-west-3",
  "port": 9000,
  "available": true,
  "country": "https://example.com/"
}

Response

StorageServer resource updated

idinteger
namestring
domainstring
type'aws' | 'minio' | 'dailymotion' | 'ovh_s3'
loginstring
passwordstring
awsRegion'eu-west-3' | 'gra' | 'rbx' | 'uk' nullable
ipstring
portinteger
maxStoragenumber

Maximum storage capacity in To

actualStoragenumber

Actual storage load in To

bandwidthnumber nullable

Bandwidth in Gbit/s

availableboolean

Defines if this server can be selected for new sportCenters.

apiKeystring nullable
apiSecretstring nullable
encryptedCredentialsboolean
bucketPrefixstring nullable

This will allow us to balance the load between different OVH S3 buckets if needed.

manualDeletionRequiredboolean
hasBucketForClipsboolean

Defines if this server has a bucket for clips. If not, clips will be stored in the main bucket.

createdAtstring date-time
updatedAtstring date-time

Example response

{
  "domain": "ngtvexperience.com",
  "type": "minio",
  "awsRegion": "eu-west-3",
  "port": 9000,
  "available": true,
  "country": {
    "currency": "EUR"
  },
  "createdAt": "CURRENT_TIMESTAMP",
  "updatedAt": "CURRENT_TIMESTAMP"
}

Changes

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