Aller au contenu principal
Mutation

requestModerationReview

Asks a person to review a blocked record, or changes to it that were not published, again. Returns the record's moderation status. Requires being an owner of the record, or a member of the space it belongs to.

Arguments

  • noteString

    Optional message to the reviewer, up to 2000 characters.

  • targetIdID!

    ID of the record.

  • The kind of record.

Renvoie

ModerationStatus!

Exemple

mutation RequestModerationReview($note: String, $targetId: ID!, $targetKind: ModerationTargetKind!) {
  requestModerationReview(
    note: $note
    targetId: $targetId
    targetKind: $targetKind
  ) {
    canRequestReview
    reason
    reviewRequestedAt
    source
    state
    updatedAt
  }
}