API 허브 종속 항목을 사용하면 API 작업 간의 관계를 보고 관리할 수 있습니다.
API의 종속 항목을 찾고 추적하면 API 생태계를 보다 효율적으로 관리하는 데 도움이 됩니다. 예를 들어 종속 항목을 사용하면 API 변경 또는 지원 중단으로 인한 잠재적 영향을 알아내거나, 문제를 해결하거나, 비용 또는 규정 준수 규제를 분석할 수 있습니다. API는 API 허브 내에 저장하거나 API 허브 외부에 저장할 수 있습니다.
종속 항목이란 무엇인가요?
API 허브는 종속 항목을 API 작업 간의 방향 관계로 모델링합니다. 여기서 API 작업 하나는 공급업체이고 다른 하나는 소비자입니다. 예를 들어 PetStore API가 Location API에서 작업을 호출한다고 가정해 보겠습니다. 이 경우 작업은 Location API에서 제공하는 작업에 종속됩니다. API 허브에서는 PetStore를 소비자로, 위치를 공급업체로 지칭합니다.
그림 1은 API 작업 간의 공급업체/소비자 관계를 보여줍니다.
Payment API의 /debit 작업은 Fraud Detection API의 /detect 작업을 사용합니다. 인출 작업은 이 관계의 소비자이고 사기 감지 작업은 이 관계의 공급업체입니다.
마찬가지로 /detect는 UserProfile API 및 GeoLocation API에서 제공하는 작업을 사용합니다. 이 경우 그림 1과 같이 /detect 작업은 소비자이고 나머지 두 작업은 공급업체입니다.
그림 1. 종속 항목 UI를 사용하면 소비자/공급자 쌍을 보고 드릴다운하여 각 종속 항목 관계의 세부정보를 확인할 수 있습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-05-08(UTC)"],[[["This page outlines how to manage API dependencies within Apigee and Apigee hybrid, focusing on how they help manage relationships between API operations."],["Dependencies are modeled as directional relationships between API operations, where a consumer API operation relies on a supplier API operation."],["API hub allows dependencies to be based on either API operations within the hub or external APIs not stored within the hub."],["Creating a dependency involves identifying a consumer and a supplier API, and using the API hub UI or API to establish the link between them."],["The use of API dependencies helps in areas such as discovering the potential impact of changing an API or troubleshooting issues."]]],[]]