You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -356,11 +356,11 @@ Bytescale supports two types of authorization:
356
356
357
357
### API Keys
358
358
359
-
The Bytescale Upload Widget uses the `apiKey` parameter to authenticate with the [Bytescale API](https://www.bytescale.com/docs/apis).
359
+
The Bytescale Upload Widget uses the `apiKey` parameter to authenticate with [Bytescale](https://www.bytescale.com/).
360
360
361
361
With API key auth, the requester has access to the resources available to the API key:
362
362
363
-
- Secret API keys (`secret_***`) have access to all API endpoints (see the [Bytescale JavaScript SDK](https://www.bytescale.com/docs/sdks/javascript)).
363
+
- Secret API keys (`secret_***`) have access to all API endpoints ([Bytescale JavaScript SDK](https://www.bytescale.com/docs/sdks/javascript)).
364
364
365
365
- Public API keys (`public_***`) have access to file upload, file download, and file listing API endpoints. File overwrites, file deletes, and all other destructive operations cannot be performed using public API keys. File listing is also disabled by default (but can be changed in the API key's settings).
366
366
@@ -382,13 +382,13 @@ _Note: when using JWT cookies to download files, the `?auth=true` query paramete
382
382
383
383
## UrlBuilder
384
384
385
-
The [Bytescale JavaScript SDK](https://github.com/bytescale/bytescale-javascript-sdk) exports a `UrlBuilder` to construct URLs from `filePath` values:
385
+
The [Bytescale JavaScript SDK](https://github.com/bytescale/bytescale-javascript-sdk) exports a `UrlBuilder` to construct URLs from `filePaths`:
386
386
387
387
```javascript
388
388
import { UrlBuilder } from"@bytescale/sdk";
389
389
```
390
390
391
-
**Recommended:** you should always save `filePath` values to your DB instead of `fileUrl` values.
391
+
**Recommended:** you should always save `filePaths`to your DB instead of `fileUrls`.
392
392
393
393
#### Raw Files
394
394
@@ -488,7 +488,7 @@ UrlBuilder.url({
488
488
489
489
## 🙋 Can I use my own storage?
490
490
491
-
Bytescale supports AWS S3, Cloudflare R2, Google Storage, DigitalOcean Spaces, and Bytescale Storage.
491
+
Bytescale supports AWS S3, Cloudflare R2, Google Storage, DigitalOcean, and Bytescale Storage.
0 commit comments