Skip to main content

CreateShareInput

Input for creating a share.

input CreateShareInput {
covert: Boolean
from: DateTime
publicationId: ID!
to: DateTime
}

Fields

CreateShareInput.covert ● Boolean scalar

Whether the access to the publication is intended to be shared in a controlled way. If the share is covert, people should not be able to guess it. Therefore, only non 'covert' shares will have very concise niceId's.

Defaults to false.

CreateShareInput.from ● DateTime scalar

The moment after which the share grants public access to the publication.

CreateShareInput.publicationId ● ID! non-null scalar

The identifier of the publication for which a share will be created.

CreateShareInput.to ● DateTime scalar

The moment until the share grants public access to the publication.

Member of

createShare mutation