Skip to main content

CreateShareInput

Input for creating a share.

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

Fields

CreateShareInput.publicationId ● ID! non-null scalar

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

CreateShareInput.from ● DateTime scalar

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

CreateShareInput.to ● DateTime scalar

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

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.

Member of

createShare mutation