메인 콘텐츠로 건너뛰기
Vantage API를 통해 데이터 카탈로그를 다음과 같이 사용할 수 있습니다:
  • 사용 가능한 모든 데이터 카탈로그 목록을 가져오려면, 다음과 같이 catalogs 리소스에 GET 요청을 전송합니다:
    GET https://your-instance.vantage.abbyy.com/api/publicapi/v1/catalogs
    
  • 데이터 카탈로그에 대한 자세한 정보를 가져오려면, 다음과 같이 catalogs/ 리소스에 GET 요청을 전송합니다:
    GET https://your-instance.vantage.abbyy.com/api/publicapi/v1/catalogs/{catalogId}
    
  • 데이터 카탈로그 컬럼과 스킬 field 모두에서 동일한 값을 확인하려면, 다음 요청을 전송합니다:
    GET https://your-instance.vantage.abbyy.com/api/publicapi/v1/{skillId}/catalogsMapping
    

Vantage API를 사용하여 데이터 카탈로그 업데이트하기

JSON 형식의 데이터로 데이터 카탈로그를 업데이트하려면 다음을 수행하십시오:
  1. 데이터 카탈로그에 레코드를 추가하려면 다음과 같이 POST 요청을 records 리소스로 전송하십시오:
    POST https://your-instance.vantage.abbyy.com/api/publicapi/v1/catalogs/{catalogId}/records
    
  2. 데이터 카탈로그 업데이트를 완료한 후, 새로 추가된 데이터가 검색 가능해지도록 인덱싱을 수행해야 합니다. 이를 위해 다음과 같이 POST 요청을 catalogs/ 리소스로 전송하십시오:
    POST https://your-instance.vantage.abbyy.com/api/publicapi/v1/catalogs/{catalogId}/reindex
    
    중요! 위 요청을 전송하지 않으면, 검색 결과에는 오래된 버전의 데이터 카탈로그에서 가져온 데이터가 반환됩니다.
  3. 인덱싱 작업 상태를 확인하려면 다음 요청을 전송하십시오:
    POST https://your-instance.vantage.abbyy.com/api/publicapi/v1/catalogs/{catalogId}/reindex/reindexOperationId/download
    
데이터 카탈로그에 데이터가 채워지고 인덱싱이 완료되면, 스킬을 문서에 적용할 수 있습니다. 모든 레코드를 삭제하려면 다음 요청을 전송하십시오:
POST https://your-instance.vantage.abbyy.com/api/publicapi/v1/catalogs/{catalogId}/records/delete/download
Vantage API에 대해 더 알아보려면 Swagger 문서를 참조하세요.