ja:documentation:08_technical_reference:02_annex_externalapi

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
ja:documentation:08_technical_reference:02_annex_externalapi [2022/11/25 22:26] – [get events] junichija:documentation:08_technical_reference:02_annex_externalapi [2022/11/25 22:31] – [get tags] junichi
行 978: 行 978:
 === get tags === === get tags ===
  
-書式:+[[:en:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_external_api|Call syntax]]:
  
-  * op=get (必須) +[[:ja:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_外部_api|書式]]:
-  * op2=tags (必須) +
-  * return_type=csv (必須)+
  
-****+  ''op=get''  (required) 
 +  ''op2=tags''  (required) 
 +  ''return_type=csv''  or ''return_type=json'' (required) 
 +  ''other=''< field separator > if you request in CSV format you must specify separator, otherwise it will return the fields together.
  
-この例では、システムの全てのします。+  * ''op=get'' (必須) 
 +  * ''op2=tags'' (必須) 
 +  * ''return_type=csv'' または、''return_type=json'' (必須) 
 +  * ''other=''< フィールドセパレータ > CSV フォーマット指定た場合はフィールドセパレータは必須です。指定しないと各フィールドが一緒に返されます。
  
-<code> +Example (see [[:en:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_external_api|call syntax]]): 
-http://localhost/pandora_console/include/api.php?op=get&op2=tags&return_type=csv+ 
 +**例** ([[:ja:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_外部_api|書式]]を参照): 
 + 
 +This example will return all tags in the system in CSV format with semicolon separator. 
 + 
 +この例では、システムの全てのタグをセミコロンで区切った CSV フォーマットで返します。 
 + 
 +<code bash
 +/include/api.php?op=get&op2=tags&return_type=csv&other=;&apipass=1234&user=admin&pass=pandora
  
 </code> </code>