이 페이지는 공개 계약에서 생성하며 설명은 원문(한국어) 그대로 표시합니다.
stly kafka-usages delete#
Kafka Topic 사용 설명 삭제
- HTTP 요청:
DELETE /api/kafka-topics/{topic_id}/usages/{id} - 인증 모드: Agent 토큰, User 세션
- 기록 변경: 예
--if-match필수
인수
id: ID
옵션
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
--if-match | string | 예 | 상세 GET에서 얻은 단일 strong ETag |
--topic | string | 예 | 부모 Kafka Topic ID |
--fields | string | 아니요 | 응답 최상위 필드, 쉼표로 구분 값: cleanup_policy, cluster_id, created_at, description, external_references, id, message_definitions, name, partition_count, retention_order_description, summary, time_retention_ms, updated_at, usages |
공통 옵션: --server, --env-file, --timeout, --auth-mode, --dry-run
예시
stly kafka-usages delete 00000000-0000-0000-0000-000000000001 --topic 00000000-0000-0000-0000-000000000001 --if-match '"상세 GET의 ETag"'stly kafka-usages put#
Kafka Topic 사용 설명 추가·교체
- HTTP 요청:
PUT /api/kafka-topics/{topic_id}/usages/{id} - 인증 모드: Agent 토큰, User 세션
- 기록 변경: 예
- 입력 JSON(
--input) 필수 --if-match필수
입력 JSON 구조는 stly schema kafka-usages put로 확인합니다.
인수
id: ID
옵션
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
--if-match | string | 예 | 상세 GET에서 얻은 단일 strong ETag |
--input | string | 예 | JSON 원문 파일 또는 stdin(-) |
--topic | string | 예 | 부모 Kafka Topic ID |
--fields | string | 아니요 | 응답 최상위 필드, 쉼표로 구분 값: cleanup_policy, cluster_id, created_at, description, external_references, id, message_definitions, name, partition_count, retention_order_description, summary, time_retention_ms, updated_at, usages |
공통 옵션: --server, --env-file, --timeout, --auth-mode, --dry-run
예시
stly kafka-usages put 00000000-0000-0000-0000-000000000001 --topic 00000000-0000-0000-0000-000000000001 --input input.json --if-match '"상세 GET의 ETag"'