Get a list of items with pagination.
Requires AccessScope.ItemRead.
count of items and a list of items:
id is identifier of itemx is relative/absolute x coordinatey is relative/absolute y coordinatez is z-index valuewidth is width of item in space pixelsheight is height of item is space pixelsratio equals initial width divided by initial heightrotation is rotation of item in degscale is item scale, miss support, always has value 1.0locked (GlLock) is lock status of itemvisibility (GlVisibility) is item visibilityparent is identifier of parent or zerocreator is identifier of item creator (user/guest)created is the creation timestamp as string (ISO 8601)editor is identifier of item editor (user/guest)edited is the editing timestamp as string (ISO 8601)data is custom item data, see GlItem implementationssizeOnDisk is file size in MiB or zeroversion is actual version of item, version can be changed
due to item migration to a new versionFind an item by id.
Requires AccessScope.ItemRead.
spaceId is the identifier of spaceitemId is the identifier of itemNull or object:
id is identifier of itemx is relative/absolute x coordinatey is relative/absolute y coordinatez is z-index valuewidth is width of item in space pixelsheight is height of item is space pixelsratio equals initial width divided by initial heightrotation is rotation of item in degscale is item scale, miss support, always has value 1.0locked (GlLock) is lock status of itemvisibility (GlVisibility) is item visibilityparent is identifier of parent or zerocreator is identifier of item creator (user/guest)created is the creation timestamp as string (ISO 8601)editor is identifier of item editor (user/guest)edited is the editing timestamp as string (ISO 8601)data is custom item data, see GlItem implementationssizeOnDisk is file size in MiB or zeroversion is actual version of itemEdit an item, this method can change any editable field of item.
Requires AccessScope.ItemEdit.
spaceId is the identifier of spaceitemId is the identifier of itemx is relative/absolute x coordinatey is relative/absolute y coordinatez is z-index valuewidth is width of item in space pixelsheight is height of item is space pixelsratio equals initial width divided by initial heightrotation is rotation of item in degscale is item scale, miss support, always has value 1.0locked (GlLock) is lock status of itemvisibility (GlVisibility) is item visibilityparent is identifier of parent or zerotrue if item is present in the database
Remove item from space.
Requires AccessScope.ItemRemove.
spaceId is the identifier of spaceitemId is the identifier of itemtrue if an item was removed, otherwise false
Create a new door in space.
Requires AccessScope.ItemCreate.
spaceId is identifier of space where item will be insertedtargetId is destination space identifierx is relative/absolute x coordinatey is relative/absolute y coordinatez is z-index valueratio equals initial width divided by initial heightrotation is rotation of item in degscale is item scale, miss support, always has value 1.0locked (GlLock) is lock status of itemvisibility (GlVisibility) is item visibilityparent is identifier of parent or zeroIdentifier of the created door
Create a drawing.
Requires AccessScope.ItemCreate.
spaceId is identifier of space where item will be inserteddata is value for d attribute of path tagcolor (DrawingColor) is stroke colorsize is stroke weightz is z-index valuerotation is rotation of item in degscale is item scale, miss support, always has value 1.0locked (GlLock) is lock status of itemvisibility (GlVisibility) is item visibilityparent is identifier of parent or zeroIdentifier of created drawing
BetaCreate a frame.
Requires AccessScope.ItemCreate.
spaceId is identifier of space where item will be insertedname is screen name of the framex is relative/absolute x coordinatey is relative/absolute y coordinatez is z-index valuerotation is rotation of item in degscale is item scale, miss support, always has value 1.0locked (GlLock) is lock status of itemvisibility (GlVisibility) is item visibilityparent is identifier of parent or zeroIdentifier of created frame
Upload an image.
Requires AccessScope.ItemCreate.
spaceId is identifier of space where item will be insertedfile is File to uploadx is relative/absolute x coordinatey is relative/absolute y coordinatez is z-index valueratio equals initial width divided by initial heightrotation is rotation of item in degscale is item scale, miss support, always has value 1.0locked (GlLock) is lock status of itemvisibility (GlVisibility) is item visibilityparent is identifier of parent or zeroIdentifier of created image
ModuleErrors.AccessRestricted; ModuleErrors.NotFound;
The width and height are max values is this method
Create an external link.
Requires AccessScope.ItemCreate.
spaceId is identifier of space where item will be insertedtext is screen text of linkurl is URL to followstatus (GlLinkStatus) is link behavior modex is relative/absolute x coordinatey is relative/absolute y coordinatez is z-index valueratio equals initial width divided by initial heightrotation is rotation of item in degscale is item scale, miss support, always has value 1.0locked (GlLock) is lock status of itemvisibility (GlVisibility) is item visibilityparent is identifier of parent or zeroIdentifier of the created link
Crete a presentation.
Requires AccessScope.ItemCreate.
spaceId is identifier of space where item will be insertedfile is File to uploadx is relative/absolute x coordinatey is relative/absolute y coordinatez is z-index valuerotation is rotation of item in degscale is item scale, miss support, always has value 1.0locked (GlLock) is lock status of itemvisibility (GlVisibility) is item visibilityparent is identifier of parent or zeroIdentifier of the created presentation
ModuleErrors.AccessRestricted; ModuleErrors.NotFound;
Zero width/height will be replaced with auto values
Create a sticker.
Requires AccessScope.ItemCreate.
spaceId is identifier of space where item will be insertedtext is sticker textcolor (StickerColor) is background colorform (StickerForm) is sticker figurehAlign (GlHTextAlign) is text horizontal alignvAlign (GlVTextAlign) is text vertical alignsize is font size of textborderColor (StickerBorderColor) is color of borderborderType (BorderType) is border styleborderSize is border widthx is relative/absolute x coordinatey is relative/absolute y coordinatez is z-index valueratio equals initial width divided by initial heightrotation is rotation of item in degscale is item scale, miss support, always has value 1.0locked (GlLock) is lock status of itemvisibility (GlVisibility) is item visibilityparent is identifier of parent or zeroIdentifier of the created sticker
Create a YouTube video player.
Requires AccessScope.ItemCreate.
spaceId is identifier of space where item will be insertedlink is a YouTube embed linkposition is play start position in secondsx is relative/absolute x coordinatey is relative/absolute y coordinatez is z-index valueratio equals initial width divided by initial heightrotation is rotation of item in degscale is item scale, miss support, always has value 1.0locked (GlLock) is lock status of itemvisibility (GlVisibility) is item visibilityparent is identifier of parent or zeroIdentifier of the created player
Edit door target space.
Requires AccessScope.ItemEdit.
spaceId is the identifier of spaceitemId is the identifier of itemtargetId is destination space identifiertrue if the door was updated
Edit a drawing: the path, color and stroke width.
Requires AccessScope.ItemEdit.
spaceId is the identifier of spaceitemId is the identifier of itemdata is value for d attribute of path tagcolor (DrawingColor) is stroke colorsize is stroke weighttrue if the drawing was updated
BetaEdit a frame name.
Requires AccessScope.ItemEdit.
spaceId is the identifier of spaceitemId is the identifier of itemname is screen name of the frametrue if the frame was updated
Edit an image flip.
Requires AccessScope.ItemEdit.
spaceId is the identifier of spaceitemId is the identifier of itemflip is image flip state (Image.flip)true if the image was updated
Edit an external link url and text.
Requires AccessScope.ItemEdit.
spaceId is the identifier of spaceitemId is the identifier of itemtext is the screen text of the linkurl is URL to followstatus (GlLinkStatus) is link behavior modetrue if the external link was updated
Edit presentation page.
Requires AccessScope.ItemEdit.
spaceId is the identifier of spaceitemId is the identifier of itempage is page numbertrue if presentation was updated
Edit a sticker content, style and figure.
Requires AccessScope.ItemEdit.
spaceId is the identifier of spaceitemId is the identifier of itemtext is sticker textcolor (StickerColor) is background colorform (StickerForm) is sticker figurehAlign (GlHTextAlign) is text horizontal alignvAlign (GlVTextAlign) is text vertical alignsize is font size of textborderColor (StickerBorderColor) is color of borderborderType (BorderType) is border styleborderSize is border widthtrue if the sticker was updated
Edit player saved position.
Requires AccessScope.ItemEdit.
spaceId is the identifier of spaceitemId is the identifier of itemposition is play start position in secondstrue if video position was updated
Items control:
Create items:
Advanced edit: