All Products
Search
Document Center

SchedulerX:FAQ about APIs

Last Updated:Jan 23, 2024

This topic provides answers to some commonly asked questions about APIs in SchedulerX.

What is the throttling policy for an API? How many times can I call an API in a minute?

A user can call an API up to 100 times in a minute.

What can I do if the console reports an error and the corresponding page cannot be opened when I create a Kubernetes job by calling an API?

The xAttrs attribute must be configured for Kubernetes jobs. For more information, see Demo.

Can I create a workflow by calling an API?

No, a workflow cannot be created by calling an API.

Can I specify the worker or the label of the job when I call an API to trigger a job to run in Stand-alone operation mode?

Yes, you can specify the worker or the label of the job by calling the following APIs when you trigger a job:

  • Call the API for obtaining the list of workers. The returned list of workers contains the IP addresses and labels of the workers. For more information, see Demo.
  • Call the API for triggering a job. For more information, see Demo.

What can I do if the console reports an error and the corresponding page cannot be opened when I create a job by calling an API?

Some required values are not specified or are in incorrect formats. As a result, a frontend parsing error occurs and page rendering fails. Join the DingTalk group (ID: 23103656) to contact SchedulerX technical support.