Skip to content

Commit

Permalink
Merge branch 'master' of github.com:kuzzleio/kuzzle-plugin-s3
Browse files Browse the repository at this point in the history
  • Loading branch information
Aschen committed Oct 3, 2019
2 parents cde77af + b93d25d commit 6700283
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions doc/1/controllers/file/delete/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ Returns a boolean indicating that the file has been deleted from S3.

## Possible errors

- [Common errors](/core/1/api/essentials/errors/#common-errors)
- [NotFoundError](/core/1/api/essentials/errors/#specific-errors)
- [Common errors](/core/1/api/essentials/errors#common-errors)
- [NotFoundError](/core/1/api/essentials/errors#specific-errors)
2 changes: 1 addition & 1 deletion doc/1/controllers/file/get-url/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ Returns an object containing the file public URL.

## Possible errors

- [Common errors](/core/1/api/essentials/errors/#common-errors)
- [Common errors](/core/1/api/essentials/errors#common-errors)
4 changes: 2 additions & 2 deletions doc/1/controllers/upload/get-url/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: getUrl
# getUrl

Returns a Presigned URL to upload directly to S3.
The URL expires after a configurable TTL. (Configurable in the [kuzzlerc file](/official-plugins/s3/1/essentials/installation/#plugin-configuration))
The URL expires after a configurable TTL. (Configurable in the [kuzzlerc file](/official-plugins/s3/1/essentials/installation#plugin-configuration))

::: info
File uploaded to the generated URL must be validated with [upload:validate](/official-plugins/s3/1/controllers/upload/validate) otherwise they will be deleted after the same TTL as for the URL expiration.
Expand Down Expand Up @@ -73,4 +73,4 @@ Returns an object with the following properties:

## Possible errors

- [Common errors](/core/1/api/essentials/errors/#common-errors)
- [Common errors](/core/1/api/essentials/errors#common-errors)
2 changes: 1 addition & 1 deletion doc/1/controllers/upload/validate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ Returns an object with the following properties:

## Possible errors

- [Common errors](/core/1/api/essentials/errors/#common-errors)
- [Common errors](/core/1/api/essentials/errors#common-errors)
2 changes: 1 addition & 1 deletion doc/1/essentials/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ In your `kuzzlerc` file, you can change the following configuration variable:

This plugin needs AWS S3 credentials with the `PutObject` and `DeleteObject` permissions.

These credentials can be set in the [Vault](/core/1/guides/essentials/secrets-vault/).
These credentials can be set in the [Vault](/core/1/guides/essentials/secrets-vault).

By default the format is the following:
```js
Expand Down
2 changes: 1 addition & 1 deletion doc/1/essentials/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: Usage

The plugin allows user to request an URL to directly send a file to Amazon S3.

Once the file has been uploaded, it has to be validated with [upload:validate](/official-plugins/s3/1/controllers/upload/validate) otherwise the uploaded file is automaticaly removed after a [configurable TTL](/official-plugins/s3/1/essentials/installation/#plugin-configuration).
Once the file has been uploaded, it has to be validated with [upload:validate](/official-plugins/s3/1/controllers/upload/validate) otherwise the uploaded file is automaticaly removed after a [configurable TTL](/official-plugins/s3/1/essentials/installation#plugin-configuration).

This behavior prevent users from filling the S3 bucket with useless files.

Expand Down

0 comments on commit 6700283

Please sign in to comment.