Typedefs FileResolverOptions : objectįile resolver options PhotoshopAPIOptions : objectĪ reference to an input file IccProfile : objectĮither referencing a standard profile from StandardIccProfileNames in profileName, or a custom profile through input. Returns a Promise that resolves with a new PhotoshopAPI object. Parse through options object and determine correct parameters to Swagger for desired fetch approach init(orgId, apiKey, accessToken,, ) ⇒ Promise. Retry will occur if error code 429 or >= 500 occurs. With valid values for orgId, apiKey and accessToken JobĪbstraction around the Photoshop Services Jobs Functions shouldRetryFetch(response) ⇒ booleanĭetermine if we should retry fetch due to Server errors (server busy or other application errors) nodeFetchRetry(options) ⇒ functionįetch a URL, with retry options provided or default retry options otherwiseīy default retries will happen for 14 seconds (3 retries at 1, 2 and then 4 seconds - there cannot be enough time for anotehr retry after that) This class provides methods to call your PhotoshopAPI APIs.īefore calling any method initialize the instance by calling the init method on it If no extension canīe found or the extension is unknown, the default image/png is selected. The mime-type is resolved based on the extension of the pathname of the URL or the path. Path resolution can be overridden by the defaultAdobeCloudPaths option.
0 Comments
Leave a Reply. |