Skip to content
Sursa Developers

Objects

DraftCreate

Fields

  • card_idstring | null
  • collectionstring | null

    Name of the collection for a new card (required without 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

    Default: false

  • notify_followersboolean

    Default: false

  • scheduled_publish_atstring (date-time) | null
  • author_idinteger

    Author of the draft when an API key calls (since 1.62.0): an active user of the key's organization; the user becomes created_by and the first co-author. Required for a key (otherwise 422 validation.failed); a user of another organization or an inactive user returns 404 users.not_found. The permissions on the collection and the card are checked for the key, not for the author. In a session, the author is the signed-in user: a different author_id returns 422 validation.failed.

    ≥ 1

Used by