Tags API
addTag
Anchor link toPOST https://api.pushwoosh.com/json/1.3/addTag
계정에 태그를 생성합니다.
Request body
Anchor link to| Name | Type | Description |
|---|---|---|
| auth* | string | Pushwoosh Control Panel 의 API access token. |
| tag* | object | 태그 매개변수. |
| tag.name* | string | 태그 이름. |
| tag.type* | integer | 태그 유형. 아래 가능한 값을 참조하세요. |
| tag.application_specific | boolean | 태그 값이 여러 앱에서 달라야 하는지 또는 여러 앱에서 동일해야 하는지를 정의합니다. |
{ "status_code": 200, "status_message": "OK", "response": { "result": true }}{ "request": { "auth": "yxoPUlwqm…………pIyEX4H", // 필수. Pushwoosh Control Panel 의 API access token "tag": { "name": "TAG_NAME", // 필수. "type": 1, // 필수. 아래 가능한 값 참조 "application_specific": true, // 선택 사항. 태그 값이 여러 앱에서 달라야 하는지 // 또는 여러 앱에서 동일해야 하는지를 정의 "user_specific": true // 선택 사항. application_specific 태그에 사용됨 } }}가능한 태그 값 유형:
- 1 - Integer (정수)
- 2 - String (문자열)
- 3 - List (목록)
- 4 - Date (날짜)
- 5 - Boolean (부울)
- 6 - Decimal (소수). 예: 19.95
- 7 - Version (버전). 예: “1.0.0.0”
deleteTag
Anchor link toPOST https://api.pushwoosh.com/json/1.3/deleteTag
데이터베이스에서 태그와 관련된 모든 정보를 완전히 제거합니다.
Request body
Anchor link to| Name | Type | Description |
|---|---|---|
| auth* | string | Pushwoosh Control Panel 의 API access token. |
| tag* | object | 태그 매개변수. |
| tag.name* | string | 삭제할 태그의 이름. |
{ "status_code": 200, "status_message": "OK", "response": { "result": true }}{ "request": { "auth": "yxoPUlwqm…………pIyEX4H", // 필수. Pushwoosh Control Panel 의 API access token "tag": { "name": "TAG_NAME" // 필수. 삭제할 태그의 이름 } }}listTags
Anchor link toPOST https://api.pushwoosh.com/json/1.3/listTags
계정의 태그 목록을 검색합니다.
Request body
Anchor link to| Name | Type | Description |
|---|---|---|
| auth* | string | Pushwoosh Control Panel 의 API access token. |
{ "status_code": 200, "status_message": "OK", "response": { "tags": [{ "name":"Language", "type":2, "isApplicationSpecific": false }, { "name":"List tag", "type":3, "isApplicationSpecific": false }] }}{ "request":{ "auth": "yxoPUlwqm…………pIyEX4H" // Pushwoosh Control Panel 의 API access token }}태그 유형:
- 1 - Integer (정수)
- 2 - String (문자열)
- 3 - List (목록)
- 4 - Date (날짜)
- 5 - Boolean (부울)
- 6 - Decimal (소수). 예: 19.95
- 7 - Version (버전). 예: “1.0.0.0”