Backend function for Kontent.ai Learn that uses Kontent.ai as a source of its content.
The service is responsible for providing Kontent.ai's API reference in the OpenAPI format which is then displayed at Kontent.ai Learn.
- This project is a .NET Azure Durable Functions application.
- It reacts to HTTP requests.
- The function gets a request with API reference codename and returns the API reference which is stored in the Orchestrator instance. If the instance doesn't exist, the service triggers API preprocessor which causes that an API reference blob will be created. The blob is then fetched by the OpenAPI provider and returned to the caller of the service.
- Visual Studio 2019 with Azure Functions and Web Jobs Tools installed.
- Subscription on MS Azure.
- Clone the project repository and open it in Visual Studio.
- Install all the necessary nugget packages.
- Set the required keys.
- Run the service locally in Visual Studio, or
- Deploy the service to a new Azure Functions App instance in your Azure subscription.
Storage.ConnectionString
- The connection string for the Azure storage accountEventGrid.ReferenceRequested.Endpoint
- EventGrid topic endpoint used when web initiates API reference requestEventGrid.ReferenceRequested.Key
- EventGrid topic key used when web initiates API reference requestEventGrid.ReferenceUpdated.Endpoint
- EventGrid topic endpoint used when API reference is updated in Kontent.aiEventGrid.ReferenceUpdated.Key
- EventGrid topic key used when API reference is updated in Kontent.ai
Feel free to open a new issue where you describe your proposed changes, or even create a new pull request from your branch with proposed changes.
All the source codes are published under MIT license.