Get page visibility
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Returns the pages that a hidden parent page keeps out of search engines, using the same rule the published app applies.
Hiding a page with noindex also hides the pages under it, so hiding Units hides /units/:id. Keep one of those pages visible by setting ignore_parent_noindex to true on it with Update page SEO settings. It then appears here with ignored set to true.
A page that's also hidden by its own noindex is listed when a parent would hide it too, because turning its own noindex off doesn't make it visible. A page can appear under two keys, its file path (units/UnitDetail) and its component name (UnitDetail), with the same entry under both.
Request
- Base URL: https://app.base44.com
- URL: https://app.base44.com/api/apps/{app_id}/seo/page-visibility
- Auth: HTTP bearer
Path parameters
ID of the app whose SEO settings you want.
Response
The pages a hidden parent page covers.
Example response
{
"result": {
"UnitDetail": {
"hidden_by": "Units",
"ignored": false
},
"units/UnitDetail": {
"hidden_by": "Units",
"ignored": false
}
}
}Changes
- info
the security scope
read_onlywas added to the endpoint's security schemePersonalAccessTokenAuth - info
the security scope
full_accesswas removed from the endpoint's security schemePersonalAccessTokenAuth
- info
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info