feat: 404 log and report endpoint
- POST /_seo/api/v1/notfound with the golem15.seo.notfound_token bearer (constant-time, off when unset), URL and referer caps, a row cap with an hourly warning, throttle bucket seo-notfound - golem15.seo.notfound list by hits with Resolved rows, a preview with the resolved hint, a prompted 301 and a 410 record action, a bulk 410 that refuses a selection with a covered address - every /_seo/api/v1 answer carries X-Robots-Tag: noindex
This commit is contained in:
23
models/notfound/columns.yaml
Normal file
23
models/notfound/columns.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
# 404 log columns (UI-SPEC C9).
|
||||
columns:
|
||||
url:
|
||||
label: golem15.seo::lang.notfound.url
|
||||
type: text
|
||||
searchable: true
|
||||
sortable: true
|
||||
hits:
|
||||
label: golem15.seo::lang.notfound.hits
|
||||
type: text
|
||||
sortable: true
|
||||
last_hit:
|
||||
label: golem15.seo::lang.notfound.last_hit
|
||||
type: datetime
|
||||
sortable: true
|
||||
referer:
|
||||
label: golem15.seo::lang.notfound.referer
|
||||
type: text
|
||||
first_seen:
|
||||
label: golem15.seo::lang.notfound.first_seen
|
||||
type: datetime
|
||||
sortable: true
|
||||
invisible: true
|
||||
29
models/notfound/fields.yaml
Normal file
29
models/notfound/fields.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
# 404 log preview (UI-SPEC C9): every field is read-only.
|
||||
fields:
|
||||
url:
|
||||
label: golem15.seo::lang.notfound.url
|
||||
type: text
|
||||
span: full
|
||||
context: preview
|
||||
hits:
|
||||
label: golem15.seo::lang.notfound.hits
|
||||
type: number
|
||||
span: left
|
||||
context: preview
|
||||
last_hit:
|
||||
label: golem15.seo::lang.notfound.last_hit
|
||||
type: datepicker
|
||||
mode: datetime
|
||||
span: right
|
||||
context: preview
|
||||
first_seen:
|
||||
label: golem15.seo::lang.notfound.first_seen
|
||||
type: datepicker
|
||||
mode: datetime
|
||||
span: left
|
||||
context: preview
|
||||
referer:
|
||||
label: golem15.seo::lang.notfound.referer
|
||||
type: text
|
||||
span: right
|
||||
context: preview
|
||||
Reference in New Issue
Block a user