Glance Portal API - Doc Share, Bookmarks, & Folders (0.1)

Download OpenAPI specification:Download

API endpoints for managing document share, bookmarks, and folders.

Returns the folders of doc share links

Get the folders of document share links with roles for the group

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

site
required
string

The site is either in the 'staging' or 'production' environment

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create doc share links

Create document share links with roles for the group

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

site
required
string

The site is either in the 'staging' or 'production' environment

Request Body schema: application/json
required
Array
docsharelink
required
string

The URL must be an absolute URL and must use a secure HTTPS connection

docType
required
string
download
required
boolean
roles
Array of integers
title
string
directoryId
integer

Set to -1 (or if not provided) for the default directory; otherwise, use a positive number.

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
[
  • 0
]

Update doc share links

Update document share links (roles and folder based) for the group

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

site
required
string

The site is either in the 'staging' or 'production' environment

Request Body schema: application/json
required
Array
id
required
integer
docsharelink
string

The URL must be an absolute URL and must use a secure HTTPS connection

docType
string
download
boolean
title
string
roles
Array of integers
directoryId
integer

Set to -1 for the default directory, or 0 (or if not provided) to retain the current directory ID

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
{
  • "status": "ok"
}

Delete doc share links

Delete document share links in a group

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

site
required
string

The site is either in the 'staging' or 'production' environment

Request Body schema: application/json
required
Array
integer

Array of DocshareLink IDs

Responses

Request samples

Content type
application/json
[
  • 100,
  • 200,
  • 300
]

Response samples

Content type
application/json
{
  • "status": "ok"
}

Returns folders of bookmark links

Get the folders of bookmark links with roles for the group

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

site
required
string

The site is either in the 'staging' or 'production' environment

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create bookmark links

Create bookmark links with roles for the group

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

site
required
string

The site is either in the 'staging' or 'production' environment

Request Body schema: application/json
required
Array
bookmarklink
required
string

The URL must be an absolute URL and must use a secure HTTPS connection

roles
Array of integers

Role Ids to attach the bookmark to.

directoryId
integer

A Bookmark directory to attach the bookmark to.

title
string

A title for the bookmark.

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
[
  • 0
]

Update bookmark links

Update bookmark links (roles and folder based) for the group

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

site
required
string

The site is either in the 'staging' or 'production' environment

Request Body schema: application/json
required
Array
id
required
integer
bookmarklink
string

The URL must be an absolute URL and must use a secure HTTPS connection

title
string

A title for the bookmark.

roles
Array of integers
directoryId
integer

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
{
  • "status": "ok"
}

Delete Web Screenshare bookmark links

Delete Web Screenshare bookmark links in a group

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

site
required
string

The site is either in the 'staging' or 'production' environment

Request Body schema: application/json
required
Array
integer

Array of BookmarkLink IDs

Responses

Request samples

Content type
application/json
[
  • 100,
  • 200,
  • 300
]

Response samples

Content type
application/json
{
  • "status": "ok"
}

Folders

APIs for accessing and modifying folder information.

Create folders for supported sections

Create folders for supported sections. Not all sections support folders.
Currently the sections that support folders include {"bookmarklinks", "docsharelinks"}

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

site
required
string

The site is either in the 'staging' or 'production' environment

section
required
string

One of {"bookmarklinks", "docsharelinks"}

Request Body schema: application/json
required
Array
directoryName
string

Responses

Request samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Response samples

Content type
application/json
[
  • 1,
  • 2,
  • 3
]

Update folders for supported sections

Update folders for supported sections. Not all sections support folders.
Currently the sections that support folders include {"bookmarklinks", "docsharelinks"}

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

site
required
string

The site is either in the 'staging' or 'production' environment

section
required
string

The setting section such as "bookmarklinks"

Request Body schema: application/json
required
Array
directoryId
integer
directoryName
string

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
{
  • "status": "ok"
}

Delete folders for supported sections

Delete folders for supported sections. Not all sections support folders.
Currently the sections that support folders include {"bookmarklinks", "docsharelinks"}
This action will also delete all entries within the folder.

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

site
required
string

The site is either in the 'staging' or 'production' environment

section
required
string

One of {"bookmarklinks", "docsharelinks"}

Request Body schema: application/json
required
Array
integer

Array of Directory IDs

Responses

Request samples

Content type
application/json
[
  • 100,
  • 200,
  • 300
]

Response samples

Content type
application/json
{
  • "status": "ok"
}

Publish a given section of settings for the groupId provided

Publish a given section of settings for the groupId provided. A publish operation clears the group's current production Settings, and then copies the group's current staging settings into the Production environment.

Authorizations:
BearerAuth
path Parameters
groupId
required
integer

The group ID (Must be a positive unsigned integer)

section
required
string

The setting section to publish to production, choose from "allowedsites", "bookmarklinks", "docsharelinks", "maskingelements", "maskingpages"

Responses

Response samples

Content type
application/json
{
  • "status": "ok"
}