Create a REST client
With Collibra Command Line Interface, you can create a REST client with a single command.
rest-client-create --api collibra-core --language java --projectName MyCollibraProject
The fully configured project allows you to:
- Perform API calls with a simple method call.
- Use Collibra model objects directly.
Command
rest-client-create
Description |
Options |
Output |
---|---|---|
Generate a client for the Collibra Platform REST APIs. |
|
The project is generated in the folder you have started the CLI. The project folder contains:
The client is generated in src/java/<packageName>. The README.md file contains a script example that you can use to bootstrap your project. Set your Collibra Platform URL in the COLLIBRA_HOST variable as well as your credentials. |