INPUT_OBJECT

CreateMediaItemInput

CreateMediaItemInput is used for create MediaItem object. Input was generated by ent.

link GraphQL Schema definition

  • input CreateMediaItemInput {
  • # [Deprecated] The public ID in Cloudinary of the media item.
  • publicID: String!
  • # The width of the media item in pixels.
  • width: Int!
  • # The height of the media item in pixels.
  • height: Int!
  • # The size of the media item in bytes.
  • bytes: Int!
  • # The format of the media item. ie jpg, png, gif, etc.
  • format: String!
  • # The type of media item. Will be image or video
  • mediaType: String!
  • # The URL of the media item.
  • url: String!
  • # The original filename of the media item.
  • originalFilename: String!
  • ordinal: Int
  • # The duration of the media item in seconds.
  • duration: Int
  • postID: ID
  • }

link Require by