I want to create GitHub Enterprise Service - service connection using azure DevOps rest api.
I found this rest api in Microsoft Docs -
POST https://dev.azure.com/{organization}/_apis/serviceendpoint/endpoints?api-version=6.0-preview.4
When I create service connection manually It asks me for url , connection name and GitHub token
How Can I pass this in json ?
What Json Data do I need to use for creating service connection ?