post https://{hostname}/appsec/v1/api-discovery/host//basepath//endpoints
Create a new API endpoint or add a resource to an existing endpoint. When you run this operation to add a new resource to an existing API, the API version is cloned for you and the resource is included in the new version.