Schema Documentation
UpdateMediaItemInput
Description
Input for the updateMediaItem mutation.
Fields
Input Field | Description |
---|---|
altText - String | Alternative text to display when mediaItem is not displayed |
authorId - ID | The userId to assign as the author of the mediaItem |
caption - String | The caption for the mediaItem |
clientMutationId - String | This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. |
commentStatus - String | The comment status for the mediaItem |
date - String | The date of the mediaItem |
dateGmt - String | The date (in GMT zone) of the mediaItem |
description - String | Description of the mediaItem |
filePath - String | The file name of the mediaItem |
fileType - MimeTypeEnum | The file type of the mediaItem |
id - ID! | The ID of the mediaItem object |
parentId - ID | The ID of the parent object |
pingStatus - String | The ping status for the mediaItem |
slug - String | The slug of the mediaItem |
status - MediaItemStatusEnum | The status of the mediaItem |
title - String | The title of the mediaItem |
Example
{"altText":"abc123","authorId":"4","caption":"abc123","clientMutationId":"abc123","commentStatus":"abc123","date":"abc123","dateGmt":"abc123","description":"xyz789","filePath":"xyz789","fileType":"APPLICATION_MSWORD","id":4,"parentId":4,"pingStatus":"abc123","slug":"xyz789","status":"AUTO_DRAFT","title":"xyz789"}