client.reports.create()
Report an incorrect or missing value.
create(params: CreateReportParams): Promise<APIResponse<DataReport>>- stringHeadererforderlich
Ihr API-Schlüssel.
Authorization: Bearer <key>wird ebenfalls akzeptiert.
- stringerforderlich
Slug of the firearm this row belongs to.
- stringerforderlich
Which part of the record the report is about.
- stringerforderlich
What kind of problem:
incorrect,missing,outdated. - stringerforderlich
Prose summary of the record, where one has been written.
- string
What the reporter believes the value should be.
- string[]
Pages the reporter cited in support.
- DataReport
A community-submitted data correction against a firearm.
- string
Opaque report id.
- string
Slug of the firearm this row belongs to.
- string
Which part of the record the report is about.
- ReportIssueType
What a data report says is wrong.
- string
Prose summary of the record, where one has been written.
- string | null
What the reporter believes the value should be.
- string[]
Pages the reporter cited in support.
- ReportStatus
Lifecycle of a data report.
- string
When the record was first added,
YYYY-MM-DD HH:MM:SSin UTC. - string | null
When staff reviewed it, or null while it is pending.
- 400
VALIDATION_ERROR - 401
UNAUTHORIZED - 403
FORBIDDEN - 413
PAYLOAD_TOO_LARGE - 429
RATE_LIMITED - 500
INTERNAL_ERROR
- Mindeststufe
- Explorer+
- Monatskontingent
- 200/mo
- Anfragerate
- 10/min
- Tageslimit
- 50
Die Werte gelten für die Mindeststufe dieses Endpunkts. Höhere Stufen erhöhen alle Limits.