JSON schema for File POJO

Field Type Description
name STRING The name of this entity.
description STRING The description of this entity.
id STRING The unique immutable ID for this entity. A new ID will be generated for new Entities. Once issued, this ID is guaranteed to never change or be re-issued
etag STRING Synapse employs an Optimistic Concurrency Control (OCC) scheme to handle concurrent updates. Since the E-Tag changes every time an entity is updated it is used to detect when a client's current representation of an entity is out-of-date.
createdOn STRING The date this entity was created.
modifiedOn STRING The date this entity was last modified.
createdBy STRING The ID of the user that created this entity.
modifiedBy STRING The ID of the user that last modified this entity.
parentId STRING The ID of the Entity that is the parent of this Entity.
concreteType STRING Indicates which implementation of Entity this object represents. It should be set to one of the following: org.sagebionetworks.repo.model.Project, org.sagebionetworks.repo.model.Folder, or org.sagebionetworks.repo.model.FileEntity.
versionNumber INTEGER The version number issued to this version on the object.
versionLabel STRING The version label for this entity
versionComment STRING The version comment for this entity
versionUrl STRING The full URL of this exect version. This URL is provided by Synapse.
versions STRING The URL to get all versions of this entity. This URL is provided by Synapse.
dataFileHandleId STRING ID of the file associated with this entity.
fileNameOverride STRING An optional replacement for the name of the uploaded file. This is distinct from the entity name. If omitted the file will retain its original name.