ja:documentation:08_technical_reference:02_annex_externalapi

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
ja:documentation:08_technical_reference:02_annex_externalapi [2022/11/25 22:27] – [get tags] 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]]: 
 + 
 +[[:ja:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_外部_api|書式]]:
  
   * ''op=get''  (required)   * ''op=get''  (required)
行 985: 行 987:
   * ''other=''< field separator > if you request in CSV format you must specify separator, otherwise it will return the fields together.   * ''other=''< field separator > if you request in CSV format you must specify separator, otherwise it will return the fields together.
  
-  * op=get (必須) +  * ''op=get'' (必須) 
-  * op2=tags (必須) +  * ''op2=tags'' (必須) 
-  * return_type=csv (必須)+  * ''return_type=csv'' または、''return_type=json'' (必須) 
 +  * ''other=''< フィールドセパレータ > CSV フォーマットを指定した場合はフィールドセパレータは必須です。指定しないと各フィールドが一緒に返されます。 
 + 
 +Example (see [[:en:documentation:08_technical_reference:02_annex_externalapi#pandora_fms_external_api|call syntax]]): 
 + 
 +**例** ([[: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> +<code bash
-http://localhost/pandora_console/include/api.php?op=get&op2=tags&return_type=csv+/include/api.php?op=get&op2=tags&return_type=csv&other=;&apipass=1234&user=admin&pass=pandora
  
 </code> </code>