Skip to content

Commit

Permalink
Merge pull request #149 from renderforest/update-endpoints
Browse files Browse the repository at this point in the history
✨ release 0.3.8
  • Loading branch information
emarukyan authored Feb 8, 2019
2 parents 108d43d + 611c0a0 commit 198f41e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,16 @@ renderforest.deleteProject(payload)
### Delete Specific Project Videos

Deletes specific project videos.
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.
The quality parameter is optional.
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.
```js
const Renderforest = require('@renderforest/sdk-node')

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

const payload = {
projectId: 5000658,
quality: 360
quality: 360 // optional argument
}
renderforest.deleteProjectVideos(payload)
.then(console.log) // handle the success
Expand Down Expand Up @@ -271,7 +272,8 @@ const renderforest = new Renderforest({ signKey: '<signKey>', clientId: -1 })

const payload = {
projectId: 5000658,
quality: 1080
quality: 360,
watermark: 'https://example.com/watermark.png' // optional argument
}
renderforest.renderProject(payload)
.then(console.log) // handle the success
Expand Down
2 changes: 1 addition & 1 deletion examples/projects/delete-project-videos.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const renderforest = new Renderforest({ signKey: '<signKey>', clientId: -1 })

const payload = {
projectId: 5000658,
quality: 360
quality: 360 // optional argument
}
renderforest.deleteProjectVideos(payload)
.then(console.log) // handle the success
Expand Down
2 changes: 1 addition & 1 deletion examples/projects/render-project.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const renderforest = new Renderforest({ signKey: '<signKey>', clientId: -1 })
const payload = {
projectId: 5000658,
quality: 360,
watermark: 'watermarkURL'
watermark: 'https://example.com/watermark.png' // optional argument
}
renderforest.renderProject(payload)
.then(console.log) // handle the success
Expand Down
2 changes: 1 addition & 1 deletion 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 package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@renderforest/sdk-node",
"description": "Renderforest SDK for Node.js",
"version": "0.3.7",
"version": "0.3.8",
"author": "RenderForest LLC",
"bugs": {
"url": "https://github.com/renderforest/renderforest-sdk-node/issues"
Expand Down

0 comments on commit 198f41e

Please sign in to comment.