Managing APIs‎ > ‎

Programmatic API Creation

Most commonly, you will create, develop, and test your API using API Creator. But you can also perform these same functions by way of programs. This is most useful to integrate API Creator with other software, and automating common functions, such as promoting development versions to production and creating branches.

The Admin database stores your APIs, their resource definitions, their logic, their security settings, and your JavaScript code. API Creator uses the Admin API, which is a RESTful API that accesses the admin data stored in the Admin database. You can access this API by way of: 

  • REST. Any language.

    For more information about creating APIs using REST, including a description of the API creation endpoints, see API Creation by REST.

  • Admin CLI. Useful for scripting.

    For more information about creating APIs using the Admin CLI, including a description of the API creation endpoints, see API Creation by Command Line.

  • Node.js. An SDK is provided for Node.js programs.
For more information about creating APIs using Node.js, including a description of the API creation endpoints, see API Creation by NodeJS.

You typically create APIs by way of programs in conjunction with importing and exporting the APIs.

For more information about importing and exporting API definitions, see Import and Export API Definitions.

Admin API URL

The Admin API uses a characteristic URI, for example:

http://localhost:8080/rest/abl/admin/v2/...

The URI is distinct from normal APIs, for example:

http://localhost:8080/rest/default/demo/v1/...