Space showcases
Create a showcase
Adds a showcase to a space, at the end of the top level or under a page: a set of files shown as a
small site, such as a report or dashboard made elsewhere. The files keep their folder layout, so
the start file finds the others by their relative paths. It is shown as it is, scripts included,
in a sandboxed frame, to the team and to customers who may see it. Upload the files first as an
HTML bundle with its start file (see Upload an HTML bundle) and give its id as html_bundle_id.
The response is the new node, with the updated space tree under space.
path Parameters
spaceThe space UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create a showcase › Request Body
titlehtml_bundle_idAn HTML bundle of yours that is not shown yet, with the files.
parent_idCreate a showcase › Responses
SpaceNodeResource
idspace_idparent_idtypetitlepositionThe page content, only on page nodes.
The board with its views and collection, only on board nodes.
The showcase with its files, only on showcase nodes.
created_atupdated_atUpdate a showcase
Changes the name or the files of a showcase. New files are a new HTML bundle, uploaded the same way
as on creation and given as html_bundle_id: the showcase shows it from then on, and what it showed
before is kept for 90 days (at most 20 versions). The response is the node, with the updated space
tree under space.
path Parameters
spaceThe space UUID
spaceNodeThe UUID of the showcase's node.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update a showcase › Request Body
titlehtml_bundle_idAn HTML bundle of yours that is not shown yet, with the new files.
Update a showcase › Responses
SpaceNodeResource
idspace_idparent_idtypetitlepositionThe page content, only on page nodes.
The board with its views and collection, only on board nodes.
The showcase with its files, only on showcase nodes.
created_atupdated_atShare a showcase
Turns the public link of a showcase on or off. With the link, anyone can view the showcase as a
page of its own, without logging in; it is under showcase.share_url of the node. Turning it off
and on again keeps the same link: only renewing it gives a new one. While it is off, the link opens
nothing, and a page that is open already keeps working for at most half a day. The response is the
node, with the updated space tree under space.
path Parameters
spaceThe space UUID
spaceNodeThe UUID of the showcase's node.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Share a showcase › Request Body
sharedWhether the showcase opens for anyone with its public link.
Share a showcase › Responses
SpaceNodeResource
idspace_idparent_idtypetitlepositionThe page content, only on page nodes.
The board with its views and collection, only on board nodes.
The showcase with its files, only on showcase nodes.
created_atupdated_atRenew the public link of a showcase
Gives a shared showcase a new public link: the old one opens nothing any more, while a page that
is open already keeps working for at most half a day. Only for a showcase that is shared. The
response is the node, with the updated space tree under space.
path Parameters
spaceThe space UUID
spaceNodeThe UUID of the showcase's node.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Renew the public link of a showcase › Responses
SpaceNodeResource
idspace_idparent_idtypetitlepositionThe page content, only on page nodes.
The board with its views and collection, only on board nodes.
The showcase with its files, only on showcase nodes.
created_atupdated_atList the versions of a showcase
The HTML bundles the showcase showed, one per upload of new files, newest first: a version put back
counts from when it was put back. The one it shows is under showcase of the node. Earlier versions
are kept for 90 days, at most 20.
path Parameters
spaceThe space UUID
spaceNodeThe UUID of the showcase's node.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List the versions of a showcase › Responses
Array of HtmlBundleResource
idurlThe start file, meant for a sandboxed iframe. The other files are next to it at their relative paths. The link is signed and opens the page for at least 12 hours.
entry_pathThe path of the start file within the set.
Every file of the set, sorted by path.
Who uploaded it.
The AI connection it was uploaded through, if any.
created_atupdated_atThe same as created_at: when it was uploaded, or put back last. The versions go by it.
Restore a version of a showcase
Shows an earlier version again, as the newest, so the one it showed before can be put back in turn. Answers with the version.
path Parameters
spaceThe space UUID
spaceNodeThe UUID of the showcase's node.
versionThe version UUID, as listed by the versions endpoint.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Restore a version of a showcase › Responses
HtmlBundleResource
idurlThe start file, meant for a sandboxed iframe. The other files are next to it at their relative paths. The link is signed and opens the page for at least 12 hours.
entry_pathThe path of the start file within the set.
Every file of the set, sorted by path.
Who uploaded it.
The AI connection it was uploaded through, if any.
created_atupdated_atThe same as created_at: when it was uploaded, or put back last. The versions go by it.
Download a version of a showcase
The files of a version as one zip, in their folder layout, named after the showcase and when the version was uploaded. Upload it again to open the same files on another start file.
path Parameters
spaceThe space UUID
spaceNodeThe UUID of the showcase's node.
versionThe version UUID, as listed by the versions endpoint.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Download a version of a showcase › Responses
Copy a version of a showcase
Copies the files of a version into a new HTML bundle of your own that is not shown yet, with the
same start file, to change a few files in it without sending them all again (see Send files to an
HTML bundle and Remove files from an HTML bundle). Then give it as html_bundle_id to make it the
new version. A copy that is never shown is removed after a day. Answers with the new bundle.
path Parameters
spaceThe space UUID
spaceNodeThe UUID of the showcase's node.
versionThe version UUID, as listed by the versions endpoint, or showcase.html_bundle.id for the current one.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Copy a version of a showcase › Responses
HtmlBundleReferenceResource
idcreated_at