openapi: 3.2.0
info:
title: PDF Services PDF Electronic Seal API
description: "
"
version: ''
servers:
- url: https://pdf-services-ue1.adobe.io
- url: https://pdf-services-ew1.adobe.io
tags:
- name: PDF Electronic Seal
description: Create electronic seal on PDF documents like invoices, agreements etc using the digital certificate issued to the user by Trust Service Provider.
paths:
/operation/electronicseal:
post:
tags:
- PDF Electronic Seal
summary: PDF Electronic Seal Operation
description: An operation to create an electronic seal on input PDF documents using the digital certificate issued to the user by Trust Service Provider. To know more about PDF Electronic Seal, please see the documentation.
operationId: pdfoperations.electronicseal
parameters:
- name: Authorization
in: header
description: Bearer + Token (Learn more about getting the access token)
required: true
schema:
type: string
- name: x-api-key
in: header
description: The clientId from the generated credentials
required: true
schema:
type: string
requestBody:
description: Params to specify the options required for applying Electronic Seal. Refer to the External Section below for using external storage with Electronic Seal Operation.
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/ElectronicSealInternal'
- $ref: '#/components/schemas/ElectronicSealExternal'
required: true
responses:
'201':
description: Request creation for the operation and status uri generated, which can be found in the 'location' header.
headers:
location:
description: Job status URI for polling the results
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
'400':
description: Bad Request. The request was invalid or cannot be otherwise served.
headers:
content-type:
description: The content type of the POST API call response
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/400'
'404':
description: Resource Not Found.
headers:
content-type:
description: The content type of the POST API call response
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/404'
'401':
description: Unauthorized.
headers:
content-type:
description: The content type of the error JSON response.
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/401'
'429':
description: Caller doesn't have sufficient quota for this operation.
headers:
content-type:
description: The content type of the POST API call response
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/429'
'500':
description: Internal Server Error. The server has encountered an error and is unable to process your request at this time.
headers:
content-type:
description: The content type of the POST API call response
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/500'
x-codegen-request-body-name: body
/operation/electronicseal/{jobID}/status:
get:
tags:
- PDF Electronic Seal
summary: Poll the electronic seal job for completion
operationId: pdfoperations.electronicseal.jobstatus
parameters:
- name: jobID
in: path
description: Job ID of the request
required: true
schema:
type: string
- name: Authorization
in: header
description: Bearer + Token (Learn more about getting the access token)
required: true
schema:
type: string
- name: x-api-key
in: header
description: The clientId from the generated credentials
required: true
schema:
type: string
responses:
'200':
description: A response with job information.
headers:
content-type:
description: The content type of the status call response.
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ElectronicSealPDFJobStatus'
'400':
description: Bad Request. The request was invalid or cannot be otherwise served.
headers:
content-type:
description: The content type of the status call response
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Status400'
'404':
description: Resource Not Found.
headers:
content-type:
description: The content type of the POST API call response
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Satus404'
'401':
description: Unauthorized.
headers:
content-type:
description: The content type of the POST API call response
schema:
type: string
x-server:
description: The name and version of the server.
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Satus401'
'429':
description: Caller doesn't have sufficient quota for this operation.
headers:
content-type:
description: The content type of the POST API call response
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Satus429'
'500':
description: Internal Server Error. The server has encountered an error and is unable to process your request at this time.
headers:
content-type:
description: The content type of the POST API call response
schema:
type: string
x-request-id:
description: A unique value to identify this request. If x-request-id is specified in the POST request, this value will be the same as the input.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Satus500'
components:
schemas:
sealOptions:
title: sealOptions
description: Specifies all the sealing parameters.
type: object
required:
- cscCredentialOptions
- sealFieldOptions
properties:
signatureFormat:
type: string
default: PKCS7
description: Specifies a supported digital signature format. For supported signature formats, please refer documentation.
enum:
- PADES
- PKCS7
documentLevelPermission:
type: string
default: FORM_FILLING
description: Specifies the document level permissions for changes allowed after sealing. For more details, please refer documentation.
enum:
- NO_CHANGES_ALLOWED
- FORM_FILLING
- FORM_FILLING_AND_ANNOTATIONS
cscCredentialOptions:
type: object
description: Specifies the parameters that encapsulates the signer's certificate credential. For more information, please see the documentation.
required:
- providerName
- credentialId
- authorizationContext
- credentialAuthParameters
properties:
providerName:
type: string
description: Specifies the name of the Trust Service Provider. For the list of supported TSPs, please refer documentation.
credentialId:
type: string
description: Specifies the credential ID stored with the TSP.
authorizationContext:
type: object
description: Specifies the service authorization data required to communicate with the TSP.
required:
- accessToken
properties:
tokenType:
type: string
description: Specifies the type of service access token used to authorize access to the CSC provider hosted APIs.
default: Bearer
accessToken:
type: string
description: Specifies the service access token used to authorize access to the CSC provider hosted APIs.
credentialAuthParameters:
type: object
description: Specifies the credentials authorization information required to authorize the access to their certificate.
required:
- pin
properties:
pin:
type: string
description: Specifies the PIN associated with credential ID.
tsaOptions:
type: object
description: Specifies the TSA details to be used for timestamping as per RFC3161 standards.
properties:
url:
type: string
description: Specifies the TSA URL to get timestamp token.
credentialAuthParameters:
type: object
required:
- username
- password
properties:
username:
type: string
description: Specifies the username required to get the timestamp token.
password:
type: string
description: Specifies the password required to get the timestamp token.
description: Specifies the credentials information required to get timestamp token using TSA URL.
required:
- url
sealFieldOptions:
type: object
description: Specifies the parameters required to create a new signature field or use an existing field. For more details, please refer documentation.
required:
- fieldName
properties:
visible:
type: boolean
description: Specified whether the seal field is visible or not.
default: true
location:
type: object
description: Specifies the coordinates of the signature appearance's bounding box in default PDF user space units. The location is only required for visible signatures if the signature field does not already exist in the PDF document.If location is provided along with the existing signature field then it is ignored.
required:
- top
- left
- right
- bottom
properties:
top:
type: integer
description: Specifies the top-most y-coordinate of the seal appearance's bounding box in default PDF user space units.
left:
type: integer
description: Specifies the left-most x-coordinate of the seal appearance's bounding box in default PDF user space units.
right:
type: integer
description: Specifies the right-most x-coordinate of the seal appearance's bounding box in default PDF user space units.
bottom:
type: integer
description: Specifies the bottom-most y-coordinate of the seal appearance's bounding box in default PDF user space units.
fieldName:
type: string
description: The signature field's name. This must be a non-empty string. If signature field with this field name already exist, that field will be used. If it does not exist, a signature field with this field name will be created.
pageNumber:
type: integer
description: Specifies the page number to which the signature field should be attached. Page numbers are 1-based. The page number is only required for visible signatures if the signature field does not already exist in the pdf document. If page number is provided along with the existing signature field then the page number should be same on which signature field is present in the document, else an error is thrown.
sealAppearanceOptions:
type: object
description: Specifies signature field appearance parameters. For more details, please refer documentation.
default:
displayOptions:
- NAME
- LABELS
properties:
displayOptions:
type: array
description: 'Specifies the information to display in the signature. These are an enum set of display items: NAME, DATE, DISTINGUISHED_NAME, LABELS and SEAL_IMAGE.'
items:
type: string
default:
- NAME
- LABELS
ElectronicSealPDFDoneExternalWithoutOutput:
title: External without an output URI in the request
description: Response in case of 'done' status
type: object
properties:
status:
description: Job Status
type: string
enum:
- done
asset:
$ref: '#/components/schemas/responseAsset'
example:
status: done
asset:
metadata:
type: application/pdf
size: 200791
downloadUri: https://dcplatformstorageservice-dev-us-east-1.s3-accelerate.amazonaws.com/6bb12fd8-3233-4340-916b-4835917857be?X-Amz-Security-Token=FwoGZXIvYXdzEE0aDOLg7PFwVB1bjEMxQCLTAe3pjf%2Fgl2Pj%2FcjOaY%2BHfduju9SXTp1Pn8C4GapIXm%2F8tuR4cGPYGC0goU21qZxCq9R%2F8z2bOmB2EL%2BZrhbPLbaNcpzf5Vud%2B3Bmn61MEJiBdU%2BhZqasX5YhVxdnzhfpl5KfKeq2kwROVMqJcyHGdxw5h0%2Bi0sD2I8sqkbPmnBi0WOtYNwz7TQq42oe8W5KYHpq6WMya9OQgx0u7qg0inYwBnQu5UQ9NJJQY2MSU11IuZ0uE%2B%2FNAPuq3VfEIn3txK%2FFfIxGz9%2BInehhHroKjBFULzy0olY2rlwYyLQDwHHr2eyuy%2BaoGVaq%2BSUNH8T0OKIicbbZfQ5wjF0hK2FzVXwfebtDG4qq%2BiA%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220803T190422Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=REDACTED_AWS_ACCESS_KEY_ID%2F20220803%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=5d8c3f421c68c009b4471919a319ba460495c72afe51674d23266bc124fe9a56
assetID: urn:aaid:AS:UE1:23c30ee0-2c4d-46d6-87f2-087832fca718
Satus404:
properties:
error:
type: object
properties:
code:
description: The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific.
type: string
message:
description: "An English language string that contains more information about the error. \n\n| code | message |
|---|
| NOT_FOUND | Job not found. |
"
type: string
example:
error:
code: NOT_FOUND
message: Job not found.
ElectronicSealInternal:
title: Internal
description: Params to specify the options required for applying digital seal.
type: object
required:
- inputDocumentAssetID
- sealOptions
properties:
inputDocumentAssetID:
description: A file assetID of a PDF document to which a seal has to be applied. For more details click here .
type: string
sealImageAssetID:
description: " A file assetID of the logo/watermark/background image to be used as part of the appearance of the seal field. For more details click here . The asset format should be one of the below format \n 1. application/pdf \n2. image/jpeg \n3. image/png."
type: string
sealOptions:
$ref: '#/components/schemas/sealOptions'
notifiers:
$ref: '#/components/schemas/notifiers'
example:
inputDocumentAssetID: urn:aaid:AS:UE1:23c30ee0-2c4d-46d6-87f2-087832fca718
sealImageAssetID: urn:aaid:AS:UE1:23c30ee0-2e4d-46d6-87f2-087832fca718
sealOptions:
signatureFormat: PKCS7
documentLevelPermission: FORM_FILLING_AND_ANNOTATIONS
cscCredentialOptions:
credentialId: '[ADOBE]_xxxx_xx:35'
providerName: intxxxxxst
authorizationContext:
accessToken: b7338a1f-xxxx-xxxx-xxxx-1eec91c47c12
credentialAuthParameters:
pin: 12xxxx65
tsaOptions:
url: https://time-xxxxxx-abc.com/tsa
credentialAuthParameters:
username: abcxxxxxx123
Password: 32@xxxx67
sealFieldOptions:
location:
top: 300
left: 50
right: 250
bottom: 100
fieldName: Signature1
pageNumber: 1
sealAppearanceOptions:
displayOptions:
- NAME
- DATE
- DISTINGUISHED_NAME
- LABELS
- SEAL_IMAGE
notifiers:
- type: CALLBACK
data:
url: https://dummy.callback.org/
headers:
x-api-key: dummykey
access-token: dummytoken
additionalProperties: false
'400':
properties:
error:
type: object
properties:
code:
description: The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific.
type: string
message:
description: "An English language string that contains more information about the error. \n\n| code | message |
|---|
| BAD_REQUEST | Bad Request. |
"
type: string
example:
error:
code: BAD_REQUEST
message: Bad Request.
'500':
properties:
error:
type: object
properties:
code:
description: The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific.
type: string
message:
description: "An English language string that contains more information about the error. \n\n| code | message |
|---|
| INTERNAL_SERVER_ERROR | There was an error processing your request. |
| UNKNOWN | Unknown error. |
"
type: string
example:
error:
code: INTERNAL_SERVER_ERROR
message: There was an error processing your request.
external:
title: External with an output URI in the request
description: Response in case of 'done' status using signed urls
type: object
properties:
status:
description: Job Status
type: string
enum:
- done
example:
status: done
ElectronicSealExternal:
title: External
description: Params to specify the options required for applying digital seal for external storage.
type: object
required:
- inputs
- params
properties:
inputs:
title: inputs
description: Electronic seal operation object containing input doc and seal image uris respectively.
type: object
properties:
document:
title: document
description: Params representing input document object.
type: object
properties:
uri:
description: Input file Download Signed URI.
type: string
storage:
description: Specifies the type of the external storage
type: string
enum:
- S3
- SHAREPOINT
- DROPBOX
- BLOB
required:
- uri
sealImage:
title: sealImage
description: Params representing input seal image object.
type: object
properties:
uri:
description: Input file Download Signed URI.
type: string
storage:
description: Specifies the type of the external storage
type: string
enum:
- S3
- SHAREPOINT
- DROPBOX
- BLOB
required:
- uri
required:
- document
output:
$ref: '#/components/schemas/ExternalStorageOutput'
params:
description: Params for Electronic Seal processing
type: object
properties:
sealOptions:
$ref: '#/components/schemas/sealOptions'
required:
- sealOptions
notifiers:
$ref: '#/components/schemas/notifiers'
example:
inputs:
document:
uri: https://dcplatformstorageservice-dev-us-east-1.s3-accelerate.amazonaws.com/dc-platformService-automation_dc-platformService-automation%40AdobeID/1c4f4674-ce8d-4b21-a69d-60aeae35bf43?X-Amz-Security-Token=FwoGZXIvYXdzEBkaDK%2By2wxl94khIbkxzCLTAQn6n6Wo0vFSul%2FpXW66aFX4T%2BPxtuOy%2Bz8eTxrnexeJRvMreBHNQm1myLwp20MkE%2Bb0H%2BwYgOhFaepi9AMml1aLNxXn1UPnEWJ7y8llhvsrXHimEfWvb3TMAkZddgUIDBue8oGUYqm4f2s0sMvPWBCxI45zM0%2F37EK%2B4JnIo1SlrKNm0GSZ44AEiOAhXupQ8ih6KoUbUciD3Biile6CwTMVIhME3mJiRSgVK6W91EaDn8%2Ba3mU%2BVvU1K9sgDSPZ%2F81DOpj25pvMW%2B1cMuCtUNsu9KUo7dHvpAYyLYiy%2FPGEmO9EquKjfMPRr17PAjeunD1QdgbRss4ysG%2B6XF2Has8zsGqX1sQalA%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230628T081557Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3599&X-Amz-Credential=REDACTED_AWS_ACCESS_KEY_ID%2F20230628%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=ac6998566dbbde22509b128fe94d1cb5d3146cd3fb8ba78d7068e10d61302ec2
storage: S3
sealImage:
uri: https://dcplatformstorageservice-dev-us-east-1.s3-accelerate.amazonaws.com/dc-platformService-automation_dc-platformService-automation%40AdobeID/1c4f4674-ce8d-4b21-a69d-60aeae35bf43?X-Amz-Security-Token=FwoGZXIvYXdzEBkaDK%2By2wxl94khIbkxzCLTAQn6n6Wo0vFSul%2FpXW66aFX4T%2BPxtuOy%2Bz8eTxrnexeJRvMreBHNQm1myLwp20MkE%2Bb0H%2BwYgOhFaepi9AMml1aLNxXn1UPnEWJ7y8llhvsrXHimEfWvb3TMAkZddgUIDBue8oGUYqm4f2s0sMvPWBCxI45zM0%2F37EK%2B4JnIo1SlrKNm0GSZ44AEiOAhXupQ8ih6KoUbUciD3Biile6CwTMVIhME3mJiRSgVK6W91EaDn8%2Ba3mU%2BVvU1K9sgDSPZ%2F81DOpj25pvMW%2B1cMuCtUNsu9KUo7dHvpAYyLYiy%2FPGEmO9EquKjfMPRr17PAjeunD1QdgbRss4ysG%2B6XF2Has8zsGqX1sQalA%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230628T081557Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3599&X-Amz-Credential=REDACTED_AWS_ACCESS_KEY_ID%2F20230628%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=ac6998566dbbde22509b128fe94d1cb5d3146cd3fb8ba78d7068e10d61302ec2
storage: S3
output:
uri: https://dcplatformstorageservice-dev-us-east-1.s3-accelerate.amazonaws.com/dc-platformService-automation_dc-platformService-automation%40AdobeID/f02f9927-4971-4589-8fdf-41ff56c2d520?X-Amz-Security-Token=FwoGZXIvYXdzEBkaDK%2By2wxl94khIbkxzCLTAQn6n6Wo0vFSul%2FpXW66aFX4T%2BPxtuOy%2Bz8eTxrnexeJRvMreBHNQm1myLwp20MkE%2Bb0H%2BwYgOhFaepi9AMml1aLNxXn1UPnEWJ7y8llhvsrXHimEfWvb3TMAkZddgUIDBue8oGUYqm4f2s0sMvPWBCxI45zM0%2F37EK%2B4JnIo1SlrKNm0GSZ44AEiOAhXupQ8ih6KoUbUciD3Biile6CwTMVIhME3mJiRSgVK6W91EaDn8%2Ba3mU%2BVvU1K9sgDSPZ%2F81DOpj25pvMW%2B1cMuCtUNsu9KUo7dHvpAYyLYiy%2FPGEmO9EquKjfMPRr17PAjeunD1QdgbRss4ysG%2B6XF2Has8zsGqX1sQalA%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20230628T081559Z&X-Amz-SignedHeaders=content-type%3Bhost&X-Amz-Expires=3600&X-Amz-Credential=REDACTED_AWS_ACCESS_KEY_ID%2F20230628%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=4f765277eb6e36bd5f7bf9d42be24244440092b5a705eadf178c78a9a9fb5d71
storage: S3
params:
sealOptions:
signatureFormat: PKCS7
documentLevelPermission: FORM_FILLING_AND_ANNOTATIONS
cscCredentialOptions:
credentialId: '[ADOBE]_xxxx_xx:35'
providerName: intxxxxxst
authorizationContext:
accessToken: b7338a1f-xxxx-xxxx-xxxx-1eec91c47c12
credentialAuthParameters:
pin: 12xxxx65
tsaOptions:
url: https://time-xxxxxx-abc.com/tsa
credentialAuthParameters:
username: abcxxxxxx123
Password: 32@xxxx67
sealFieldOptions:
location:
top: 300
left: 50
right: 250
bottom: 100
fieldName: Signature1
pageNumber: 1
sealAppearanceOptions:
displayOptions:
- NAME
- DATE
- DISTINGUISHED_NAME
- LABELS
- SEAL_IMAGE
notifiers:
- type: CALLBACK
data:
url: https://dummy.callback.org/
headers:
x-api-key: dummykey
access-token: dummytoken
additionalProperties: false
ElectronicSealPDFDone:
title: done
oneOf:
- $ref: '#/components/schemas/ElectronicSealPDFDoneInternal'
- $ref: '#/components/schemas/ElectronicSealPDFDoneExternal'
'404':
properties:
error:
type: object
properties:
code:
description: The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific.
type: string
message:
description: "An English language string that contains more information about the error. \n\n| code | message |
|---|
| NOT_FOUND | Asset not found. |
"
type: string
example:
error:
code: NOT_FOUND
message: Asset not found.
ElectronicSealPDFJobStatus:
oneOf:
- $ref: '#/components/schemas/inprogress'
- $ref: '#/components/schemas/ElectronicSealPDFDone'
- $ref: '#/components/schemas/failed'
failed:
description: Response in case of 'failed' status
type: object
properties:
status:
description: Job Status
type: string
enum:
- failed
error:
type: object
properties:
status:
description: Http status code returned by the service
type: integer
code:
description: The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific.
type: string
message:
description: "An English language string that contains more information about the error. \n\n| status | code | message |
|---|
| 400 | CORRUPT_DOCUMENT | For $(format) mime-type The input file appears to be corrupted and cannot be processed. |
| 400 | PASSWORD_PROTECTED | Source file is protected and cannot be processed. |
| 500 | INTERNAL_SERVER_ERROR | There was an error processing your request. |
"
type: string
example:
status: failed
error:
status: 500
code: INTERNAL_SERVER_ERROR
message: There was an error processing your request
'429':
properties:
error:
type: object
properties:
code:
description: The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific.
type: string
message:
description: "An English language string that contains more information about the error. \n\n| code | message |
|---|
| TOO_MANY_REQUESTS | Too Many Requests. |
| INSUFFICIENT_QUOTA | Either Quota for this operation is not available or Free trial quota is exhausted. Please visit (www.adobe.com/go/pdftoolsapi_home) to start using free trial quota or (www.adobe.com/go/pdftoolsapi_err_quota) to upgrade to paid credentials. |
"
type: string
example:
error:
code: TOO_MANY_REQUESTS
message: Too Many Requests.
ExternalStorageOutput:
title: Output
description: Params representing output object
type: object
properties:
uri:
description: Output file Upload Signed URI.
type: string
storage:
description: Specifies the type of the external storage
type: string
enum:
- S3
- SHAREPOINT
- DROPBOX
- BLOB
ElectronicSealPDFDoneInternal:
title: Internal
description: Response in case of 'done' status
type: object
properties:
status:
description: Job Status
type: string
enum:
- done
asset:
$ref: '#/components/schemas/responseAsset'
example:
status: done
asset:
metadata:
type: application/pdf
size: 200791
downloadUri: https://dcplatformstorageservice-dev-us-east-1.s3-accelerate.amazonaws.com/6bb12fd8-3233-4340-916b-4835917857be?X-Amz-Security-Token=FwoGZXIvYXdzEE0aDOLg7PFwVB1bjEMxQCLTAe3pjf%2Fgl2Pj%2FcjOaY%2BHfduju9SXTp1Pn8C4GapIXm%2F8tuR4cGPYGC0goU21qZxCq9R%2F8z2bOmB2EL%2BZrhbPLbaNcpzf5Vud%2B3Bmn61MEJiBdU%2BhZqasX5YhVxdnzhfpl5KfKeq2kwROVMqJcyHGdxw5h0%2Bi0sD2I8sqkbPmnBi0WOtYNwz7TQq42oe8W5KYHpq6WMya9OQgx0u7qg0inYwBnQu5UQ9NJJQY2MSU11IuZ0uE%2B%2FNAPuq3VfEIn3txK%2FFfIxGz9%2BInehhHroKjBFULzy0olY2rlwYyLQDwHHr2eyuy%2BaoGVaq%2BSUNH8T0OKIicbbZfQ5wjF0hK2FzVXwfebtDG4qq%2BiA%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220803T190422Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=REDACTED_AWS_ACCESS_KEY_ID%2F20220803%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=5d8c3f421c68c009b4471919a319ba460495c72afe51674d23266bc124fe9a56
assetID: urn:aaid:AS:UE1:23c30ee0-2c4d-46d6-87f2-087832fca718
Status400:
properties:
error:
type: object
properties:
code:
description: The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific.
type: string
message:
description: "An English language string that contains more information about the error. \n\n| code | message |
|---|
| INVALID_JOB_ID | Invalid job id present in path param. |
"
type: string
example:
error:
code: INVALID_JOB_ID
message: Invalid job id present in path param.
inprogress:
description: Response in case of 'in progress' status
type: object
properties:
status:
description: Job Status
type: string
enum:
- in progress
example:
status: in progress
responseAsset:
title: asset
description: Details of output asset document. For more details click here .
type: object
properties:
metadata:
type: object
description: metadata details of output asset.
properties:
size:
description: The size of the Resource in bytes. This value helps in making range requests.
type: integer
type:
description: The media type of the Resource.
type: string
assetID:
description: An asset ID identifying an asset that is globally unique and never reused.
type: string
required: false
downloadUri:
description: The URL used to download the Resource directly to the cloud provider.
type: string
example:
status: done
asset:
metadata:
type: application/pdf
size: 200791
downloadUri: https://dcplatformstorageservice-dev-us-east-1.s3-accelerate.amazonaws.com/6bb12fd8-3233-4340-916b-4835917857be?X-Amz-Security-Token=FwoGZXIvYXdzEE0aDOLg7PFwVB1bjEMxQCLTAe3pjf%2Fgl2Pj%2FcjOaY%2BHfduju9SXTp1Pn8C4GapIXm%2F8tuR4cGPYGC0goU21qZxCq9R%2F8z2bOmB2EL%2BZrhbPLbaNcpzf5Vud%2B3Bmn61MEJiBdU%2BhZqasX5YhVxdnzhfpl5KfKeq2kwROVMqJcyHGdxw5h0%2Bi0sD2I8sqkbPmnBi0WOtYNwz7TQq42oe8W5KYHpq6WMya9OQgx0u7qg0inYwBnQu5UQ9NJJQY2MSU11IuZ0uE%2B%2FNAPuq3VfEIn3txK%2FFfIxGz9%2BInehhHroKjBFULzy0olY2rlwYyLQDwHHr2eyuy%2BaoGVaq%2BSUNH8T0OKIicbbZfQ5wjF0hK2FzVXwfebtDG4qq%2BiA%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220803T190422Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Credential=REDACTED_AWS_ACCESS_KEY_ID%2F20220803%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=5d8c3f421c68c009b4471919a319ba460495c72afe51674d23266bc124fe9a56
assetID: urn:aaid:AS:UE1:23c30ee0-2c4d-46d6-87f2-087832fca718
ElectronicSealPDFDoneExternal:
title: External
oneOf:
- $ref: '#/components/schemas/ElectronicSealPDFDoneExternalWithoutOutput'
- $ref: '#/components/schemas/external'
Satus429:
properties:
error_code:
description: 'The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific. '
type: string
message:
description: "An English language string that contains more information about the error. \n\n| code | message |
|---|
| 429001 | Service usage limit reached |
| 429002 | Developer key usage limit reached |
| 429050 | Too many requests |
"
type: string
example:
error_code: '429050'
message: Too many requests
notifiers:
description: Specifies the notifiers to be invoked on the completion of job. To know more about notifiers, please see the documentation.
type: array
items:
properties:
type:
description: Specifies the notifier type. Currently supported value is "CALLBACK" only.
type: string
data:
description: Specifies the data needed to invoke the notifier.
type: object
required:
- type
- data
Satus401:
properties:
error:
type: object
properties:
code:
description: The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific.
type: string
message:
description: "An English language string that contains more information about the error. \n\n| code | message |
|---|
| UNAUTHORIZED | Not authorised to perform the operation. |
"
type: string
example:
error:
code: UNAUTHORIZED
message: Not authorised to perform the operation.
'401':
properties:
error:
type: object
properties:
code:
description: The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific.
type: string
message:
description: "An English language string that contains more information about the error. \n\n| code | message |
|---|
| UNAUTHORIZED | Not authorised to perform the operation. |
"
type: string
example:
error:
code: UNAUTHORIZED
message: Not authorised to perform the operation.
Satus500:
properties:
error:
type: object
properties:
code:
description: The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific.
type: string
message:
description: "An English language string that contains more information about the error. \n\n| code | message |
|---|
| INTERNAL_SERVER_ERROR | There was an error processing your request. |
| UNKNOWN | Unknown error. |
"
type: string
example:
error:
code: INTERNAL_SERVER_ERROR
message: There was an error processing your request.
x-tagGroups:
- name: Authentication
tags:
- Generate Token
- name: Files
tags:
- Assets
- name: PDF Operations
tags:
- Combine PDF
- Compress PDF
- Create PDF
- Document Generation
- Export PDF
- Export PDF Form Data
- Extract PDF
- Html to PDF
- Import PDF Form Data
- Linearize PDF
- OCR
- Page Manipulation
- PDF Accessibility Auto-Tag
- PDF Accessibility Checker
- PDF Electronic Seal
- PDF Properties
- PDF To Images
- PDF To Markdown
- PDF Watermark
- Protect PDF
- Remove Protection
- Split PDF