Preflight Tool Web API
The Preflight Tool Web API is a REST API that allows you to verify that users' print files are compatible with your printing equipment. You can define preflight rules and check if print files match those rules by using HTTP requests.
The Preflight Tool Web API allows you to:
- Upload files to the server
- Check preflight rules
- Save product state to Asset Storage
- Finish product
- Download files from the server
- Get the build info
After you have deployed the Preflight Tool, you can navigate to <your-instance-url>/swagger and explore the interactive Web API in your browser. You can also download a code sample demonstrating how to validate print files.
The Web API uses the ApiSecurityKey value configured in the back-end configuration for authentication. Pass the key with requests as required by your deployment. In the examples in this section, we use the appUrl variable that represents a folder on your server where you deployed this tool, for example, http://example.com/pt/.