UrlContext
Introduction
The URL Context API resolves URLs into canonical intratool links and contextual metadata. Resources that support this API identify the URL Context capability in their Model Definition.
Every requested URL produces one response item in the same position. The resolved context type and the authenticated user's access determine whether descriptive information is included.
When present, the description field uses the shared Rich Text HTML format.
Response Structure
key
string
Always
Original URL from the request.
static_url
string
Always
Canonical stable URL.
url
string
Always
Current readable or content URL.
provide_information
boolean
Always
Whether protected context information is included.
title
string
When information is provided
Resolved display title.
description
string | null
When information is provided
Resolved HTML description.
image_url
string | null
When information is provided
Preview image URL.
data
object | null
When information is provided
Type-specific metadata.
When provide_information is false, title, description, icon_name, image_url, and data are omitted rather than returned as null.
Context Types
generic
Represents a URL that does not resolve to an intratool route. It currently returns no descriptive information.
internal
Represents an intratool route without a linkable resource. Its data.route value contains the route name. The title and icon are included only when the user may access that route.
linkableEntity
Represents a linkable resource such as a Form, Infoboard Post, or User. When access is allowed, data.type contains the resource alias and data.id its ID.
fileContentEntity
Represents a file-content URL for a supported resource such as a Filemanager File. When access is allowed, data includes entity_type, entity_id, filename, extension, mime_type, size, and download_url.
sharedItem
Represents a Shared Item. Information is available only when the Shared Item redirects and its access rules allow the user to reach the target. Its data identifies the Shared Item type and the target resource, including whether a soft-deletable target has been deleted.
Resolve
Resolve one or more URLs.
Definition
POST /api/url-context
Request Keys
urls*
string[]
-
One or more URLs to resolve.
Keys with * are required.
Behavior
The response contains exactly one context for each submitted URL and preserves request order. Resolution does not grant access: module permissions, ownership, Targetables, Entity Permissions, and resource state can suppress protected information.
Example Request
Example Response
Last updated