예제 #1
0
        public virtual async Task DeleteProfileAsync(Guid id)
        {
            var response = await RepositoryClient.SendJsonDeleteAsync(ApiKeys.SpeakerRecognition, $"{ApiKeys.SpeakerRecognition}identificationProfiles/{id.ToString("D")}");

            return;
        }
 public virtual async Task DeleteKnowledgeBaseAsync(Guid knowledgeBaseId)
 {
     await RepositoryClient.SendJsonDeleteAsync(ApiKeys.QnA, $"{ApiKeys.QnAEndpoint}{knowledgeBaseId}");
 }
예제 #3
0
 public virtual async Task DeleteImageAsync(string listId, string imageId)
 {
     await RepositoryClient.SendJsonDeleteAsync(ApiKeys.ContentModerator, $"{ApiKeys.ContentModeratorEndpoint}{listUrl}{listId}/images/{imageId}");
 }
예제 #4
0
        public virtual async Task DeleteFaceListAsync(string faceListId)
        {
            var response = await RepositoryClient.SendJsonDeleteAsync(ApiKeys.Face, $"{ApiKeys.FaceEndpoint}facelists/{faceListId}");

            return;
        }
예제 #5
0
        public virtual async Task DeletePersonGroupAsync(string personGroupId)
        {
            var response = await RepositoryClient.SendJsonDeleteAsync(ApiKeys.Face, $"{ApiKeys.FaceEndpoint}persongroups{personGroupId}");

            return;
        }
 public virtual async Task CancelOperationAsync(string operationId)
 {
     await RepositoryClient.SendJsonDeleteAsync(ApiKeys.Recommendations, $"{ApiKeys.RecommendationsEndpoint}{operationsUrl}?id={operationId}");
 }