Shares
8 operations, generated from the OpenAPI document.
The view's share links (not revoked), newest first
GET /api/views/{viewId}/shares
Access: view:share on the view (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
viewId | path | string | yes |
Responses
200Successsharesarray of object requiredidstring (uuid) requiredkind"view" | "base" | "form" requiredviewIdstring (uuid) | null requiredbaseIdstring (uuid) requiredcreatedBystring (uuid) | null requiredcreatedAtstring (date-time) requiredexpiresAtstring (date-time) | null requiredexpiredboolean requiredhasPasswordboolean requiredallowedDomainsarray of string requiredallowCopyboolean requiredallowDownloadboolean requiredembedOriginsarray of string requiredallowRestrictedEmbedboolean required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
Make a read-only share link of the view; its token is answered only here
POST /api/views/{viewId}/shares
Access: view:share on the view (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
viewId | path | string | yes |
Request body
expiresAtstring (date-time) | nullpasswordstring | nullallowedDomainsarray of stringallowCopybooleanallowDownloadbooleanembedOriginsarray of stringallowRestrictedEmbedboolean
Responses
201Successshareobject requiredidstring (uuid) requiredkind"view" | "base" | "form" requiredviewIdstring (uuid) | null requiredbaseIdstring (uuid) requiredcreatedBystring (uuid) | null requiredcreatedAtstring (date-time) requiredexpiresAtstring (date-time) | null requiredexpiredboolean requiredhasPasswordboolean requiredallowedDomainsarray of string requiredallowCopyboolean requiredallowDownloadboolean requiredembedOriginsarray of string requiredallowRestrictedEmbedboolean required
tokenstring required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Change a view share link's expiry, password, domains or toggles
PATCH /api/views/{viewId}/shares/{shareId}
Access: view:share on the view (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
viewId | path | string | yes |
shareId | path | string (uuid) | yes |
Request body
expiresAtstring (date-time) | nullpasswordstring | nullallowedDomainsarray of stringallowCopybooleanallowDownloadbooleanembedOriginsarray of stringallowRestrictedEmbedboolean
Responses
200Successidstring (uuid) requiredkind"view" | "base" | "form" requiredviewIdstring (uuid) | null requiredbaseIdstring (uuid) requiredcreatedBystring (uuid) | null requiredcreatedAtstring (date-time) requiredexpiresAtstring (date-time) | null requiredexpiredboolean requiredhasPasswordboolean requiredallowedDomainsarray of string requiredallowCopyboolean requiredallowDownloadboolean requiredembedOriginsarray of string requiredallowRestrictedEmbedboolean required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Revoke a share link (it answers 404 from then on)
DELETE /api/views/{viewId}/shares/{shareId}
Access: view:share on the view (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
viewId | path | string | yes |
shareId | path | string (uuid) | yes |
Responses
204Success, no content401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
The base's whole-base share links (not revoked), newest first
GET /api/bases/{baseId}/shares
Access: base:share on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
baseId | path | string | yes |
Responses
200Successsharesarray of object requiredidstring (uuid) requiredkind"view" | "base" | "form" requiredviewIdstring (uuid) | null requiredbaseIdstring (uuid) requiredcreatedBystring (uuid) | null requiredcreatedAtstring (date-time) requiredexpiresAtstring (date-time) | null requiredexpiredboolean requiredhasPasswordboolean requiredallowedDomainsarray of string requiredallowCopyboolean requiredallowDownloadboolean requiredembedOriginsarray of string requiredallowRestrictedEmbedboolean required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)
Make a read-only share link of the whole base; its token is answered only here
POST /api/bases/{baseId}/shares
Access: base:share on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
baseId | path | string | yes |
Request body
expiresAtstring (date-time) | nullpasswordstring | nullallowedDomainsarray of stringallowCopybooleanallowDownloadbooleanembedOriginsarray of stringallowRestrictedEmbedboolean
Responses
201Successshareobject requiredidstring (uuid) requiredkind"view" | "base" | "form" requiredviewIdstring (uuid) | null requiredbaseIdstring (uuid) requiredcreatedBystring (uuid) | null requiredcreatedAtstring (date-time) requiredexpiresAtstring (date-time) | null requiredexpiredboolean requiredhasPasswordboolean requiredallowedDomainsarray of string requiredallowCopyboolean requiredallowDownloadboolean requiredembedOriginsarray of string requiredallowRestrictedEmbedboolean required
tokenstring required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Change a base share link's expiry, password, domains or toggles
PATCH /api/bases/{baseId}/shares/{shareId}
Access: base:share on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
baseId | path | string | yes |
shareId | path | string (uuid) | yes |
Request body
expiresAtstring (date-time) | nullpasswordstring | nullallowedDomainsarray of stringallowCopybooleanallowDownloadbooleanembedOriginsarray of stringallowRestrictedEmbedboolean
Responses
200Successidstring (uuid) requiredkind"view" | "base" | "form" requiredviewIdstring (uuid) | null requiredbaseIdstring (uuid) requiredcreatedBystring (uuid) | null requiredcreatedAtstring (date-time) requiredexpiresAtstring (date-time) | null requiredexpiredboolean requiredhasPasswordboolean requiredallowedDomainsarray of string requiredallowCopyboolean requiredallowDownloadboolean requiredembedOriginsarray of string requiredallowRestrictedEmbedboolean required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
Revoke a base share link (it answers 404 from then on)
DELETE /api/bases/{baseId}/shares/{shareId}
Access: base:share on the base (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
baseId | path | string | yes |
shareId | path | string (uuid) | yes |
Responses
204Success, no content401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)