Base class for publishable objects
name | data type | constraints | description |
---|---|---|---|
publisher | User | Publisher | |
futurePublisher | User | Future Publisher | |
pdate | number | required int | Publish Date |
id | number | ID of the item | |
unpublishedDate | number | Gets the unpublished date. | |
globalId | string | Global ID of the item | |
name | string | Name of the item | |
creator | User | read-only | Creator of the item |
unpublisher | User | Gets the unpublisher. | |
cdate | number | required int, read-only int | Creation date of the item as unix timestamp |
editor | User | read-only | Last editor of the item |
edate | number | required int, read-only int | Last Edit Date of the item as unix timestamp |
futureUnpublisher | User | Gets the user that set the unpublish action. | |
type | ItemType | read-only | Item type |
deleted | DeleteInfo | read-only | Deletion information, if object was deleted |
masterDeleted | DeleteInfo | read-only | Deletion information about the master (if the object is not a master itself). |
folderDeleted | DeleteInfo | read-only | Deletion information about the containing folder. |
Example
{ "publisher" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] }, { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] } ], "login" : "...", "password" : "..." }, "futurePublisher" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] }, { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] } ], "login" : "...", "password" : "..." }, "pdate" : 12345, "id" : 12345, "unpublishedDate" : 12345, "globalId" : "...", "name" : "...", "creator" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] }, { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] } ], "login" : "...", "password" : "..." }, "unpublisher" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] }, { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] } ], "login" : "...", "password" : "..." }, "cdate" : 12345, "editor" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] }, { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] } ], "login" : "...", "password" : "..." }, "edate" : 12345, "futureUnpublisher" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] }, { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] } ], "login" : "...", "password" : "..." }, "type" : "form", "deleted" : { "at" : 12345, "by" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." } }, "masterDeleted" : { "at" : 12345, "by" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." } }, "folderDeleted" : { "at" : 12345, "by" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { }, { } ], "login" : "...", "password" : "..." } } }