Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…i-documentation into webhook_support-external-storage
  • Loading branch information
Tanmay Sharma committed Mar 20, 2024
2 parents 48bc3e7 + 5180487 commit da68077
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 17 deletions.
8 changes: 4 additions & 4 deletions src/pages/overview/pdf-services-api/howtos/combine-pdf.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ const fs = require("fs");
const pdfServices = new PDFServices({credentials});

// Creates an asset(s) from source file(s) and upload
readStream1 = fs.createReadStream("resources/combineFilesInput1.pdf");
readStream2 = fs.createReadStream("resources/combineFilesInput2.pdf");
readStream1 = fs.createReadStream("./combineFilesInput1.pdf");
readStream2 = fs.createReadStream("./combineFilesInput2.pdf");
const [inputAsset1, inputAsset2] = await pdfServices.uploadAssets({
streamAssets: [{
readStream: readStream1,
Expand Down Expand Up @@ -459,8 +459,8 @@ const fs = require("fs");
const pdfServices = new PDFServices({credentials});

// Creates an asset(s) from source file(s) and upload
readStream1 = fs.createReadStream("resources/combineFilesInput1.pdf");
readStream2 = fs.createReadStream("resources/combineFilesInput2.pdf");
readStream1 = fs.createReadStream("./combineFilesInput1.pdf");
readStream2 = fs.createReadStream("./combineFilesInput2.pdf");
const [inputAsset1, inputAsset2] = await pdfServices.uploadAssets({
streamAssets: [{
readStream: readStream1,
Expand Down
4 changes: 2 additions & 2 deletions src/pages/overview/pdf-services-api/howtos/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ following sample for details.
- [Java Sample for Proxy Server Config With Basic Authentication](https://github.com/adobe/pdfservices-java-sdk-samples/blob/master/src/main/java/com/adobe/pdfservices/operation/samples/customconfigurations/CreatePDFWithAuthenticatedProxyServer.java )

### Node.js
- [Node Sample for Proxy Server Config](https://github.com/adobe/pdfservices-node-sdk-samples/blob/master/src/customconfigurations/create-pdf-with-proxy-server.js)
- [Node Sample for Proxy Server Config With Basic Authentication](https://github.com/adobe/pdfservices-node-sdk-samples/blob/master/src/customconfigurations/create-pdf-with-authenticated-proxy-server.js)
- [Node Sample for Proxy Server Config](https://git.corp.adobe.com/mahour/dc-cpf-sdk-node-samples/blob/v4_samples/src/customconfigurations/create-pdf-with-proxy-server.js)
- [Node Sample for Proxy Server Config With Basic Authentication](https://git.corp.adobe.com/mahour/dc-cpf-sdk-node-samples/blob/v4_samples/src/customconfigurations/create-pdf-with-authenticated-proxy-server.js)

### Java Proxy Server configuration

Expand Down
2 changes: 1 addition & 1 deletion src/pages/overview/pdf-services-api/howtos/ocr-pdf.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ const fs = require("fs");
const pdfServices = new PDFServices({credentials});

// Creates an asset(s) from source file(s) and upload
readStream = fs.createReadStream("resources/ocrInput.pdf");
readStream = fs.createReadStream("./ocrInput.pdf");
const inputAsset = await pdfServices.upload({
readStream,
mimeType: MimeType.PDF
Expand Down
11 changes: 6 additions & 5 deletions src/pages/overview/pdf-services-api/releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,12 @@ Upgrading to the latest SDK should not break existing applications.
### 4.0.0 (April, 2024; major release)
| Change | Language | Description |
|---------|----------|--------------------------------------------------------------------------------------------------------------------------------|
| New | NodeJS | Released Adobe PDF Services Node SDK v4.0.0, introducing new interfaces fully leveraging power of new PDF Services rest APIs. |
| New | NodeJS | Added support for delete asset, refresh download URI, webhook notifiers. |
| New | NodeJS | Eliminated need of storage to save intermediate result by removed dependency on temporary storage. |
| New | NodeJS | Extended I/O capabilities by introducing external storage for a majority of PDF Services operations. |
| Changed | NodeJS | Updated Extract PDF operation to return content and resource asset along with content JSON object. |
| New | NodeJS | Released Adobe PDF Services Node SDK v4.0.0, introducing new interfaces fully leveraging power of new PDF Services rest APIs. |
| New | NodeJS | Added support for delete asset, refresh download URI, webhook notifiers. |
| New | NodeJS | Eliminated need of storage to save intermediate result by removed dependency on temporary storage. |
| New | NodeJS | Extended I/O capabilities by introducing external storage for a majority of PDF Services operations. |
| Changed | NodeJS | Updated PDF Properties operation to return PDFProperties object along with JSON string. |
| Changed | NodeJS | Updated Extract PDF operation to return content and resource asset along with content JSON object. |

### 2.3.1 (March, 2024; patch release)

Expand Down
11 changes: 6 additions & 5 deletions src/pages/overview/releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,12 @@ Upgrading to the latest SDK should not break existing applications.
### 4.0.0 (April, 2024; major release)
| Change | Language | Description |
|---------|----------|--------------------------------------------------------------------------------------------------------------------------------|
| New | NodeJS | Released Adobe PDF Services Node SDK v4.0.0, introducing new interfaces fully leveraging power of new PDF Services rest APIs. |
| New | NodeJS | Added support for delete asset, refresh download URI, webhook notifiers. |
| New | NodeJS | Eliminated need of storage to save intermediate result by removed dependency on temporary storage. |
| New | NodeJS | Extended I/O capabilities by introducing external storage for a majority of PDF Services operations. |
| Changed | NodeJS | Updated Extract PDF operation to return content and resource asset along with content JSON object. |
| New | NodeJS | Released Adobe PDF Services Node SDK v4.0.0, introducing new interfaces fully leveraging power of new PDF Services rest APIs. |
| New | NodeJS | Added support for delete asset, refresh download URI, webhook notifiers. |
| New | NodeJS | Eliminated need of storage to save intermediate result by removed dependency on temporary storage. |
| New | NodeJS | Extended I/O capabilities by introducing external storage for a majority of PDF Services operations. |
| Changed | NodeJS | Updated PDF Properties operation to return PDFProperties object along with JSON string. |
| Changed | NodeJS | Updated Extract PDF operation to return content and resource asset along with content JSON object. |


### 2.3.1 (March, 2024; patch release)
Expand Down

0 comments on commit da68077

Please sign in to comment.