본문으로 건너뛰기
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

사용처