Skip to content
Structly Docs
한국어

stly

stly kafka-usages

On this page

This page is generated from the public contract. Descriptions are shown in the original Korean.

stly kafka-usages delete#

Kafka Topic 사용 설명 삭제

  • HTTP request: DELETE /api/kafka-topics/{topic_id}/usages/{id}
  • Authentication modes: Agent token, User session
  • Changes records: Yes
  • --if-match required

Arguments

  • id: ID

Options

NameTypeRequiredDescription
--if-matchstringYes상세 GET에서 얻은 단일 strong ETag
--topicstringYes부모 Kafka Topic ID
--fieldsstringNo응답 최상위 필드, 쉼표로 구분
Values: 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

Common options: --server, --env-file, --timeout, --auth-mode, --dry-run

Example

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 request: PUT /api/kafka-topics/{topic_id}/usages/{id}
  • Authentication modes: Agent token, User session
  • Changes records: Yes
  • Input JSON (--input) required
  • --if-match required

Check the input JSON structure with stly schema kafka-usages put.

Arguments

  • id: ID

Options

NameTypeRequiredDescription
--if-matchstringYes상세 GET에서 얻은 단일 strong ETag
--inputstringYesJSON 원문 파일 또는 stdin(-)
--topicstringYes부모 Kafka Topic ID
--fieldsstringNo응답 최상위 필드, 쉼표로 구분
Values: 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

Common options: --server, --env-file, --timeout, --auth-mode, --dry-run

Example

stly kafka-usages put 00000000-0000-0000-0000-000000000001 --topic 00000000-0000-0000-0000-000000000001 --input input.json --if-match '"상세 GET의 ETag"'