Official Plugins (Kuzzle v2.x)
S3 v2.x
2

getUrl #

Gets a public URL for an uploaded file.


Query Syntax #

HTTP #

URL: http://kuzzle:7512/_plugin/s3/files/<fileKey>
Method: GET

Other protocols #

{
  "controller": "s3/file",
  "action": "getUrl",

  "fileKey": "xen/<uuid>-headcrab.png"
}

Arguments #


Response #

Returns an object containing the file public URL.

{
  "status": 200,
  "error": null,
  "action": "getUrl",
  "controller": "s3/file",
  "requestId": "<unique request identifier>",
  "result": {
    "fileUrl": "https://s3.eu-west-3.amazonaws.com/..." 
  }
}

Possible errors #