Page Grouping
Suggest Page Grouping
POST
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringapplication/json- body
current*Success
application/json- response
rules*array<>autoGroupIds*booleansummary*stringrepository*string|nullrepositoryWarning*string|nullrouteFiles*number|pagesRead*number|curl -X POST 'https://api.faststats.dev/v0/projects/string/page-grouping/suggest' \
-H 'Content-Type: application/json' \
-d '{
"current": {
"autoGroupIds": true,
"rules": [
{
"pattern": "string"
}
]
}
}'Example Response
{
"rules": [
{
"pattern": "string",
"reason": "string",
"source": "code"
}
],
"autoGroupIds": true,
"summary": "string",
"repository": "string",
"repositoryWarning": "string",
"routeFiles": 0,
"pagesRead": 0
}