Skip to content

Commit

Permalink
Add docs for Bytescale Antivirus API
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwagerfield committed May 3, 2024
1 parent 55b7599 commit 04bb0f4
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 16 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,23 @@ UrlBuilder.url({

[Archive Processing API Docs »](https://www.bytescale.com/docs/archive-processing-api)

#### Antivirus

To scan the file `example.zip` for viruses, use the following:

```javascript
// Returns: "https://upcdn.io/1234abc/antivirus/example.zip"
UrlBuilder.url({
accountId: "1234abc",
filePath: "/example.zip",
options: {
transformation: "antivirus"
}
});
```

[Antivirus API Docs »](https://www.bytescale.com/docs/antivirus-api)

## 🙋 Can I use my own storage?

Bytescale supports AWS S3, Cloudflare R2, Google Storage, DigitalOcean, and Bytescale Storage.
Expand Down
30 changes: 15 additions & 15 deletions lib/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"test": "npx wdio run tests/wdio.conf.ts --autoCompileOpts.tsNodeOpts.project=tests/tsconfig.json"
},
"dependencies": {
"@bytescale/sdk": "^3.37.0",
"@bytescale/sdk": "^3.38.3",
"classnames": "^2.2.6",
"preact": "^10.20.2"
},
Expand Down

0 comments on commit 04bb0f4

Please sign in to comment.