Namespace Adobe.DocumentCloud.Services
Classes
Authentication
Utility to initialize authentication.
ClientContext
Represents the execution context of an IOperation. An execution context typically consists of the desired authentication credentials and client configurations such as timeouts. Currently, it is set up using a config json file.
For each set of authentication credentials, a ClientContext instance can be reused across operations.
ClientContext context = ClientContext.CreateFromFile(Directory.GetCurrentDirectory() + "/dc-services-sdk-config.json");
CreatePDFOperation cpdfOperation = CreatePDFOperation.CreateNew();
cpdfOperation.setInput(FileRef.CreateFromLocalFile("createPdfInput.docx"));
cpdfOperation.Execute(context);
Interfaces
IOperation
This interface represents the basic contract for all the Operations. It imposes no restrictions or particular details on the operation execution process and leaves the specifics of setting up the operations to their individual implementations.
A successfully executed Operation instance should not be reused.