本文へスキップ
Sursa Developers

オブジェクト

DraftCreate

フィールド

  • card_idstring | null
  • collectionstring | null

    新しいカードのコレクションの名前(card_idがない場合は必須)。

  • titlestring | null

    length ≤ 200

  • body_markdownstring | null

    length ≤ 500000

  • tagsarray of string | null

    items ≤ 30

  • revision_notestring | null

    length ≤ 1000

  • verify_on_publishboolean

    デフォルト:false

  • notify_followersboolean

    デフォルト:false

  • scheduled_publish_atstring (date-time) | null
  • author_idinteger

    APIキーで呼び出す場合の下書きの作成者(1.62.0以降):キーの組織のアクティブなユーザー。このユーザーがcreated_byと最初の共同編集者になります。キーの場合は必須です(ない場合は422 validation.failed)。ほかの組織のユーザーまたは無効なユーザーでは404 users.not_foundが返ります。コレクションとカードに対する権限は、作成者ではなくキーについて確認されます。セッションでは、作成者はサインインしているユーザーです:異なるauthor_idを指定すると422 validation.failedが返ります。

    ≥ 1

使用箇所