API
The Application Programming Interface (API) in Cobra lets you run one or more processes automatically and without user intervention, from beginning to end.
Consider the following points when using the API:
- Cobra can define up to 999 processes within a single API script.
- You can run processes using the API on batch servers, where you can schedule processes to run automatically and without user intervention.
- An API script is a simple ASCII text file. To run a process using the API, you specify the API script on the API command line.
- The Settings section in the API script is used to define settings that affect all processes that are defined in that script.
- When you run an API process, Cobra saves all logs in the database. This allows a user who is responsible for a Cobra project to quickly retrieve relevant information to resolve errors that occur.
- You need multiple Cobra licenses to run an API process. If you try to run an API process while logged into Cobra using the same user ID, you will not be able to run the API process.
- To run an API process, you need to have access to the API script file and files to import.
- Related Topics:
- Run Cobra with Command Line Parameters
You can use command line parameters that can be passed to Cobra applications and Cobra API. - API Log File
When you run processes via the Cobra API, Cobra creates an overall API process log where information about the API process is entered. - API Script
Use the API script to define settings that affect all API processes in a batch. The API script that Cobra uses to control the API process is a simple ASCII text file. - Project Template Creation
You can create a project from a project template by specifying information in an XML configuration file and using the Cobra API. - Procedures
Use the procedures to run the API script.
Parent Topic: Tools