qiitex v1.0.0 Qiitex.Api.ExpandedTemplate

テンプレートを保存する前に変数展開後の状態をプレビューできます。Qiita:Teamでのみ有効です。

Link to this section Summary

Functions

受け取ったテンプレート用文字列の変数を展開して返します。

Link to this section Functions

Link to this function

create_expanded_template(client, params)

受け取ったテンプレート用文字列の変数を展開して返します。

POST /api/v2/expanded_templates

  • body

    • テンプレートの本文
    • example: Weekly MTG on %{Year}/%{month}/%{day}
    • type: string
  • tags

    • タグ一覧
    • example: [{"versions":["0.0.1"],"name":"MTG/%{Year}/%{month}/%{day}"}]
    • type: array
  • title

    • 生成される記事のタイトルの雛形
    • example: Weekly MTG on %{Year}/%{month}/%{day}
    • type: string