No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Topic サービス
Topic サービスを使用すると、トピックプロファイル、検索条件グループ、検索条件クエリの作成などの操作を実行できます。
トピックプロファイルを作成または更新する
トピックを作成または更新します。
1POST /topics/createTP/{topicId}/{name}/{isPublic}/{mediatypes}
2/{languages}/{regions}| パラメータ | 型 | 説明 |
|---|---|---|
| auth_token | HeaderParam | 必須。API で認証から返されるトークンが含まれる要求ヘッダー。 |
| auth_appkey | HeaderParam | 必須。アカウント固有のアプリケーションキー。 |
| topicId | PathParam | トピックの一意の ID (更新時に必須) |
| name | PathParam | トピック条件の表示名 |
| isPublic | PathParam | トピックが公開か非公開かを示す整数値 |
| mediatypes | PathParam | トピックの有効なメディアタイプを示すカンマ区切りリスト |
| languages | PathParam | トピックの有効な言語を示すカンマ区切りリスト |
| regions | PathParam | トピックの有効な地域を示すカンマ区切りリスト |
| billingCode | QueryParam | トピックの請求先コード。デフォルトは空の文字列です。 |
| isTrial | QueryParam | トピックがトライアルかどうかを示す整数値。デフォルトは 1 です。 |
例
1http://api.radian6.com/socialcloud/v1/topics/createTP/1/My Topic/1/8/1/2要求ヘッダー
1GET /socialcloud/v1/topics/createTP/{topicId}/{name}/{isPublic}
2/{mediatypes}/{languages}/{regions} HTTP/1.1
3Host: api.radian6.com
4auth_token: NotARealToken
5auth_appkey: NotARealAppKey応答ヘッダー
1HTTP/1.1 200 OK
2Date: Thu, 29 Sep 2011 17:17:16 GMT
3Content-Type: application/xml
4Content-Length: 705
5Keep-Alive: timeout=15, max=100
6Connection: Keep-Alive応答
1<topicFilter>
2 <name>
3 <![CDATA[My Topic]]>
4 </name>
5 <public>0</public>
6 <status>2</status>
7 <estimateVolume>-1</estimateVolume>
8 <competeEnabled>0</competeEnabled>
9 <topicFilterTypeId>1</topicFilterTypeId>
10 <bCode>
11 <![CDATA[]]>
12 </bCode>
13 <creatorId>538</creatorId>
14 <creatorName>
15 <![CDATA[Jane Smith]]>
16 </creatorName>
17 <creatorEmail>Jane.Smith@...</creatorEmail>
18 <topicFilterId>3...3</topicFilterId>
19 <inboundOnTopicLinksCount>0</inboundOnTopicLinksCount>
20 <languages/>
21 <mediaType>8,12,14,13,11,10,9,5,2,1,16,4</mediaType>
22 <projects/>
23 <regions/>
24 <deactivationDate>null</deactivationDate>
25 <evp>false</evp>
26 <topicFilterTier>
27 <topicFilterTierId>-1</topicFilterTierId>
28 <name/>
29 <lowerTrafficLimit>-1</lowerTrafficLimit>
30 <upperTrafficLimit>-1</upperTrafficLimit>
31 </topicFilterTier>
32 <number_queries>0</number_queries>
33 <filterGroups>
34 <filterGroup>
35 <filterGroupId>2...9</filterGroupId>
36 <name>
37 <![CDATA[Group 1]]>
38 </name>
39 <filterGroupTypeId>1</filterGroupTypeId>
40 <filterQueries/>
41 </filterGroup>
42 </filterGroups>
43 <sentimentQueries/>
44 <includeSourceFilterList>
45 <filterIds/>
46 </includeSourceFilterList>
47 <excludeSourceFilterList>
48 <filterIds/>
49 </excludeSourceFilterList>
50 <includeAllSourceFilterList>
51 <filterIds/>
52 </includeAllSourceFilterList>
53</topicFilter>