Generation Rules REST Endpoints
Extensibility/Generation Rules
Generation Rules service provides the way to upload or create the generationRules on to the Extensibility Solution at the runtime. GenerationRules contain the binding rules for the aftermarket extension schema(s) to a given OpenAPI.
Note:
Refer the details of the REST API user role required to generate the OAuth token for respective services and their HTTP operations, provided in the Access Roles for Resources topic. Example if you want to generate the OAuth token for 'Generation Rules' service and for POST operation, you would use 'EXTENSION_RULES_CREATE' as a user role.
- Create a generation rule
- Method: postPath:
/apiManagement/generationRules/{resource-owner}/{classifier}
- Delete a generation rule
- Method: deletePath:
/apiManagement/generationRules/{resource-owner}/{classifier}/{id}
- Get a generation rule
- Method: getPath:
/apiManagement/generationRules/{resource-owner}/{classifier}/{id}
- Get all generation rules
- Method: getPath:
/apiManagement/generationRules/{resource-owner}/{classifier}
- Update a generation rule
- Method: putPath:
/apiManagement/generationRules/{resource-owner}/{classifier}/{id}