Skip to main content

MediaDocument

No description

type MediaDocument {
id: ID!
productId: ID
clusterId: ID
categoryId: ID
sparePartsMachineId: ID
alt(
language: String
): [LocalizedString!]!
description(
language: String
): [LocalizedString!]!
tags(
language: String
): [LocalizedStringArray!]!
type: String
createdAt: DateTime
lastModifiedAt: DateTime
priority: Int
documents: [LocalizedDocument!]
}

Fields

MediaDocument.id ● ID! non-null scalar

Media global unique identifier

MediaDocument.productId ● ID scalar

Unique product identifier that the media relates to

MediaDocument.clusterId ● ID scalar

Unique cluster identifier that the media relates to

MediaDocument.categoryId ● ID scalar

Unique category identifier that the media relates to

MediaDocument.sparePartsMachineId ● ID scalar

Unique sparePartsMachine identifier that the media relates to

MediaDocument.alt ● [LocalizedString!]! non-null object

Media alt description that briefly explains the contents of the document.

MediaDocument.alt.language ● String scalar

MediaDocument.description ● [LocalizedString!]! non-null object

Media short description.

MediaDocument.description.language ● String scalar

MediaDocument.tags ● [LocalizedStringArray!]! non-null object

Media tags.

MediaDocument.tags.language ● String scalar

MediaDocument.type ● String scalar

Media type

MediaDocument.createdAt ● DateTime scalar

The date and time (ISO 8601 format) when the media was created.

MediaDocument.lastModifiedAt ● DateTime scalar

The date and time (ISO 8601 format) when the media was last modified.

MediaDocument.priority ● Int scalar

Media display priority [Lower value has higher priority] - default: 1000

MediaDocument.documents ● [LocalizedDocument!] list object

List of document objects

Returned By

mediaDocument query ● mediaDocumentCreate mutation ● mediaDocumentUpdate mutation

Member Of

Media object ● PaginatedMediaDocumentResponse object