Returns everything a client needs to render the link's form: the link's page and every subform page under it (each with its elements, the subform edges that reach it, and page and element localizations, in the device feed format), plus every option list those elements use, with its enabled options.
Usernames (created_by, modified_by) and server-only columns are removed. Pages and option lists outside the link's form tree, or outside the link's profile (option lists shared into it excepted), are never returned.
Responses
-
OK - the form definition of the session's link.
-
Unauthorized - no session token, an unknown or expired one, or the link is no longer collecting (disabled, deleted, outside its dates).
-
Forbidden - public links are switched off on the server or not activated.
-
Too Many Requests - this session has read the form too often (default 30 times per minute, overridable through the
publicLinkSessionLimitsserver setting). Retry after the minute.
curl \
--request GET 'https://api.iformbuilder.com/exzact/api/v81/[servername]/public_link_sessions/current/feed' \
--header "Authorization: Bearer pls_0123456789abcdef0123456789abcdef.0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
{
"profile_id": 42,
"page_id": 42,
"expires_in": 42,
"pages": [
{
"page": {},
"parents": [
{
"parent_page_id": 42,
"parent_element_id": 42
}
],
"elements": [
{}
],
"page_localizations": [
{}
],
"element_localizations": [
{}
]
}
],
"option_lists": [
{
"option_list": {},
"options": [
{}
]
}
]
}
{
"error_message": "string"
}
{
"error_message": "string"
}
{
"error_message": "string"
}