SportLogic Storage Gateway

Home » Storage Gateway » SportLogic Storage Gateway
Storage Gateway No Comments

Storage Gateway

Storage Gateway is a web service for SportLogic customers to store files in the cloud. Each customer has its own cloud storage space.

The web service provides an abstraction over the underlying cloud storage system e.g. AWS S3.

HTTPS Endpoint

https://cloudstore.sportlogic.net.au

This is a CNAME for “sportlogic-alb1” application load balancer.

Target group instances:

  • lychee HTTPS 5888
  • strawberry HTTPS 5888

Upload File Example

E.g. to upload a file “test.txt” to customer 999002 using access token “testonly”:

curl -F '[email protected]' https://cloudstore.sportlogic.net.au/999002?token=testonly

The response will look something like this:

{“contentType”:”text/plain”,”success”:true,”storageProvider”:”s3″,”originalFilename”:”test.txt”,”storedFilename”:”B675F14C-96DE-48AF-A83A-1E24ECD5CCDA.txt”,”uuid”:”B675F14C-96DE-48AF-A83A-1E24ECD5CCDA.txt”,”size”:5}

Download File Example

To download a file we need to use the UUID of the file. E.g.

curl https://cloudstore.sportlogic.net.au/999002/B675F14C-96DE-48AF-A83A-1E24ECD5CCDA.txt?token=testonly