diff --git a/src/pages/apis/index.md b/src/pages/apis/index.md index 1e5df79d7..f21695d07 100644 --- a/src/pages/apis/index.md +++ b/src/pages/apis/index.md @@ -1,5 +1,5 @@ --- title: Adobe PDF Services Open API spec description: The OpenAPI spec for Adobe PDF Services API endpoints, parameters, and responses. -openAPISpec: https://raw.githubusercontent.com/AdobeDocs/pdfservices-api-documentation/main/src/pages/resources/openapi.json +openAPISpec: https://raw.githubusercontent.com/AdobeDocs/pdfservices-api-documentation/develop/src/pages/resources/openapi.json --- diff --git a/src/pages/overview/document-generation-api/inlineimages.md b/src/pages/overview/document-generation-api/inlineimages.md index 2321ba288..4567b9fb7 100644 --- a/src/pages/overview/document-generation-api/inlineimages.md +++ b/src/pages/overview/document-generation-api/inlineimages.md @@ -9,6 +9,8 @@ Add inline images in the document through json data using the tag. Image url can be provided in the input json data using html img tag. +Image data can be provided either in the form of the base64 encoded string or in the form of publicly accessible URLs. + JSON representation of the input data: ```json @@ -16,6 +18,14 @@ JSON representation of the input data: "ContentBlock": "sample image - " } ``` + +

OR

+ +```json +{ + "ContentBlock": "sample image - " +} +``` ![Representation of sample json data](../images/inlineImageJson.png) In the above example, the tag ContentBlock contains an html tag. This image will be downloaded and placed in the final document as shown below. diff --git a/src/pages/overview/document-generation-api/stylingformattingtags.md b/src/pages/overview/document-generation-api/stylingformattingtags.md index 5032a019d..143f64ade 100644 --- a/src/pages/overview/document-generation-api/stylingformattingtags.md +++ b/src/pages/overview/document-generation-api/stylingformattingtags.md @@ -13,6 +13,8 @@ Apply styling and formatting in the generated output document using the HTML bas - Underline text. +- Set height and width of an image. + - Create [Hyperlinks](../document-generation-api/hyperlink.md). - Create [Inline Images](../document-generation-api/inlineimages.md). @@ -51,6 +53,12 @@ Styling for the text tag can be provided using the json data through the HTML ba - Any HTML tags which are not supported will be ignored. +Formatting for image can be provided using the attributes of the img tag. + +- The img tag supports the height and width attributes. + +- Any other unsupported attributes inside the img tag will be ignored. + ## Inline styling attributes supported - font-size : Xpt or Ypx ; X=dynamic positive integer 1–1638 pt, 1pt = 1/72 inch; Y=dynamic positive integer 1–2184 px, 1px = 1/96 inch ( point (pt) and pixels (px) are the only supported unit for font size.) diff --git a/src/pages/overview/document-generation-api/templatetags.md b/src/pages/overview/document-generation-api/templatetags.md index c3be60e30..6202b6155 100644 --- a/src/pages/overview/document-generation-api/templatetags.md +++ b/src/pages/overview/document-generation-api/templatetags.md @@ -384,6 +384,10 @@ Dynamically generate a numbered or bullet list by placing it inside a repeating ![Template tag items are replaced by numbered or bullet list](../images/simple_lists.png) + + +Only JSON keys should be placed inside a repeating section. + ## Numerical Calculations Performing numerical calculations on the input data. diff --git a/src/pages/resources/Platform PDF Services with External Storage Postman Collection.zip b/src/pages/resources/Platform PDF Services with External Storage Postman Collection.zip index de02dda86..cf79fd3b5 100644 Binary files a/src/pages/resources/Platform PDF Services with External Storage Postman Collection.zip and b/src/pages/resources/Platform PDF Services with External Storage Postman Collection.zip differ diff --git a/src/pages/resources/openapi.json b/src/pages/resources/openapi.json index 2d1ebc2cd..c51e56864 100644 --- a/src/pages/resources/openapi.json +++ b/src/pages/resources/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.1", "info": { "title": "PDF Services API", - "description": "

", + "description": "

", "version": "" }, "servers": [