본문으로 건너뛰기
Structly 문서
English

stly

stly kafka-usages

이 페이지의 내용

이 페이지는 공개 계약에서 생성하며 설명은 원문(한국어) 그대로 표시합니다.

stly kafka-usages delete#

Kafka Topic 사용 설명 삭제

  • HTTP 요청: DELETE /api/kafka-topics/{topic_id}/usages/{id}
  • 인증 모드: Agent 토큰, User 세션
  • 기록 변경: 예
  • --if-match 필수

인수

  • id: ID

옵션

이름타입필수설명
--if-matchstring예상세 GET에서 얻은 단일 strong ETag
--topicstring예부모 Kafka Topic ID
--fieldsstring아니요응답 최상위 필드, 쉼표로 구분
값: 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-matchstring예상세 GET에서 얻은 단일 strong ETag
--inputstring예JSON 원문 파일 또는 stdin(-)
--topicstring예부모 Kafka Topic ID
--fieldsstring아니요응답 최상위 필드, 쉼표로 구분
값: 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"'