Skip to content

Get Allowed Fields

GET
/sitemap/allowed-fields

Strapi v5 Admin API endpoint handled by controller.getAllowedFields.

singularName
string

Singular name or UID of the target collection type

populateLinkedModels
boolean

Whether to include first-level relation scalar fields

Successful response

object
data
object
key
additional properties
any

Bad Request — validation or parameter error

Unauthorized — missing or invalid Bearer token

Forbidden — insufficient Strapi RBAC permissions