Version: 1.0.0
GoRules BRMS API
Introduction
GoRules OpenAPI offers a robust and versatile solution for developers looking to implement complex rule-based logic in their applications. This API facilitates the creation, management, and execution of customizable rules, providing a dynamic way to handle decision-making processes. Its straightforward interface allows for seamless integration into existing systems, enhancing the capabilities of software applications across various domains. GoRules OpenAPI is engineered to handle a wide range of scenarios, from simple validations to intricate business rules, offering a scalable and efficient approach to rule management.
Personal Access Token (PAT)
To maintain security and integrity, GoRules OpenAPI employs a comprehensive authentication mechanism. Users are required to authenticate using PAT.
- Sign-in to BRMS environment
- Go to Profile > Generate token
- Enter
note
, selectexpiry
, tick All projects and in permissions tick Releases, click Create - Upon creation copy token as it will not be visible anymore
You will need to create PAT for each environment e.g. dev
, uat
, prod
.
Get ProjectID
- Sign-in to BRMS environment
- Enter project
- In a browser you will see project URI for example:
https://initial.gorules.io/projects/88888888-8888-8888-8888-8888888888/documents
Copy UUID from URI
Generate Project Token - for evaluation API
- Sign-in to BRMS environment
- Join a project
- Go to Settings > Security
- Click Generate token, enter
name
in the dialog and press Create - Copy token
This token can only be used for evaluation. You will need to generate Project Token for each project separately.
Authentication
- HTTP: Bearer Auth
- API Key: ProjectAccessToken
Personal access token is obtained through your profile
Security Scheme Type: | http |
---|---|
HTTP Authorization Scheme: | bearer |
Project access token is obtained within project settings
Security Scheme Type: | apiKey |
---|---|
Header parameter name: | X-Access-Token |