All the fields contained in this Content Type
Deletes this object on the server.
Promise for the deletion. It contains no data, but the Promise error case should be handled.
Gets the editor interface for the object
Important note: The editor interface only represent a published contentType.
To get the most recent representation of the contentType make sure to publish it first
Object returned from the server with the current editor interface.
Gets a snapshot of a contentType
Id of the snapshot
Gets all snapshots of a contentType
Checks if the contentType is in draft mode. This means it is not published.
Checks if the contentType is published. A published contentType might have unpublished changes (@see {ContentType.isUpdated})
Checks if the contentType is updated. This means the contentType was previously published but has unpublished changes.
Omits and deletes a field if it exists on the contentType. This is a convenience method which does both operations at once and potentially less safe than the standard way. See note about deleting fields on the Update method.
Object returned from the server with updated metadata.
Publishes the object
Object returned from the server with updated metadata.
Unpublishes the object
Object returned from the server with updated metadata.
Sends an update to the server with any changes made to the object's properties.
Important note about deleting fields: The standard way to delete a field is with two updates: first omit the property from your responses (set the field attribute "omitted" to true), and then
delete it by setting the attribute "deleted" to true. See the "Deleting fields" section in the
API reference for more reasoning. Alternatively,
you may use the convenience method omitAndDeleteField to do both steps at once.
Object returned from the server with updated changes.
Field used as the main display field for Entries