Skip to content

Commit 198f41e

Browse files
authored
Merge pull request #149 from renderforest/update-endpoints
✨ release 0.3.8
2 parents 108d43d + 611c0a0 commit 198f41e

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,16 @@ renderforest.deleteProject(payload)
208208
### Delete Specific Project Videos
209209

210210
Deletes specific project videos.
211-
The quality parameter is optional. If you want to delete only a single quality video, you have to specify quality parameter, otherwise all quality videos of the project will be deleted.
211+
The quality parameter is optional.
212+
IMPORTANT: If you want to delete only a single quality video, you have to specify quality parameter, otherwise all quality videos of the project will be deleted.
212213
```js
213214
const Renderforest = require('@renderforest/sdk-node')
214215

215216
const renderforest = new Renderforest({ signKey: '<signKey>', clientId: -1 })
216217

217218
const payload = {
218219
projectId: 5000658,
219-
quality: 360
220+
quality: 360 // optional argument
220221
}
221222
renderforest.deleteProjectVideos(payload)
222223
.then(console.log) // handle the success
@@ -271,7 +272,8 @@ const renderforest = new Renderforest({ signKey: '<signKey>', clientId: -1 })
271272

272273
const payload = {
273274
projectId: 5000658,
274-
quality: 1080
275+
quality: 360,
276+
watermark: 'https://example.com/watermark.png' // optional argument
275277
}
276278
renderforest.renderProject(payload)
277279
.then(console.log) // handle the success

examples/projects/delete-project-videos.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const renderforest = new Renderforest({ signKey: '<signKey>', clientId: -1 })
1212

1313
const payload = {
1414
projectId: 5000658,
15-
quality: 360
15+
quality: 360 // optional argument
1616
}
1717
renderforest.deleteProjectVideos(payload)
1818
.then(console.log) // handle the success

examples/projects/render-project.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const renderforest = new Renderforest({ signKey: '<signKey>', clientId: -1 })
1313
const payload = {
1414
projectId: 5000658,
1515
quality: 360,
16-
watermark: 'watermarkURL'
16+
watermark: 'https://example.com/watermark.png' // optional argument
1717
}
1818
renderforest.renderProject(payload)
1919
.then(console.log) // handle the success

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@renderforest/sdk-node",
33
"description": "Renderforest SDK for Node.js",
4-
"version": "0.3.7",
4+
"version": "0.3.8",
55
"author": "RenderForest LLC",
66
"bugs": {
77
"url": "https://github.com/renderforest/renderforest-sdk-node/issues"

0 commit comments

Comments
 (0)