Skip to main content

LicenseFilter

Ways in which to filter lists of licenses.

input LicenseFilter {
namespaceIds: [ID!]
target: ID
customAttribute: AttributeInput
updatedAfter: DateTime
updatedAfterForODL: DateTime
licenseOrEntityUpdatedAfter: DateTime
}

Fields

LicenseFilter.namespaceIds ● [ID!] list scalar

Only return licenses for these specific namespaces. Should be a list of UUIDs.

LicenseFilter.target ● ID scalar

Only return licenses for a specific target (e.g. a publication's ISBN).

LicenseFilter.customAttribute ● AttributeInput input

Only return licenses that contain a specific custom attribute with a specific value.

LicenseFilter.updatedAfter ● DateTime scalar

Only return licenses updated after the specified timestamp.

LicenseFilter.updatedAfterForODL ● DateTime scalar

Only return licenses for which the special ODL field was updated after the specified timestamp.

LicenseFilter.licenseOrEntityUpdatedAfter ● DateTime scalar

Only return licenses that either themselves or their entities were updated after the specified timestamp.

Member of

activeLicenses query ● inactiveLicenses query ● licenses query