# API를 통해 주제에 태그를 설정하는 방법

**URL:** https://meta.discourse.org/t/how-could-i-set-tag-for-a-topic-by-api/215688
**Category:** Development
**Tags:** rest-api
**Created:** [1월 23, 2022, 10:20오전 UTC](https://meta.discourse.org/t/how-could-i-set-tag-for-a-topic-by-api/215688 "2022-01-23T10:20:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cmdntd](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cmdntd/32/192008_2.png) [@cmdntd](https://meta.discourse.org/u/cmdntd)
#### Post date: [1월 23, 2022, 10:20오전 UTC](https://meta.discourse.org/t/how-could-i-set-tag-for-a-topic-by-api/215688/1 "2022-01-23T10:20:35Z")

</div>

API를 사용하여 주제에 태그를 설정하는 방법을 [How to reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576)에서 시도해 보았습니다.

하지만 콘솔에서 **태그의 매개변수** 를 찾을 수 없습니다:

```plaintext
acting_avatar_template: "/user_avatar/help.working24.net/wo24/{size}/3_2.png"
acting_name: ""
acting_user_id: 1
acting_username: "wo24"
action_code: null
action_type: 12
archived: false
avatar_template: "/user_avatar/help.working24.net/wo24/{size}/3_2.png"
category_id: null
closed: false
created_at: "2022-01-23T10:09:10.296Z"
deleted: false
excerpt: "Test message text 05 Test message text 05 Test message text 05"
hidden: null
name: ""
post_id: null
post_number: 1
post_type: null
slug: "test-message-05"
target_name: ""
target_user_id: 1
target_username: "wo24"
title: "Test message 05"
topic_id: 1793
user_id: 1
username: "wo24"

```

다음과 같은 폴링 요청이 나타납니다:

```plaintext
Request URL: https://help.discourseweb.net/message-bus/b55fe519c25f4d4c937f2ff309bf9b04/poll
Request Method: POST
Status Code: 200 

```

하지만 이것이 **태그 요청에 어떤 영향을 미치는지** 알 수 없습니다.  
**Discourse API를 사용하여 태그를 설정하는 방법에 대해 도움을 주실 수 있나요?**
