Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Create Task
Maniphest
T366833
REST: Request Body Validation (tracking)
Open, In Progress, High
Public
Actions
Edit Task
Edit Related Tasks...
Create Subtask
Edit Parent Tasks
Edit Subtasks
Merge Duplicates In
Close As Duplicate
Edit Related Objects...
Edit Commits
Edit Mocks
Subscribe
Mute Notifications
Protect as security issue
Assigned To
None
Authored By
daniel
Jun 6 2024, 6:28 PM
2024-06-06 18:28:07 (UTC+0)
Tags
Epic
MediaWiki-REST-API
(Backlog)
MW-Interfaces-Team (MWI-Roadmap)
(Parking Lot)
Referenced Files
None
Subscribers
Aklapper
BPirkle
daniel
Description
Tracking ticket for tasks related to validating request bodies in the REST framework.
Related Objects
Search...
Task Graph
Status
Subtype
Assigned
Task
In Progress
None
T366833
REST: Request Body Validation (tracking)
In Progress
Atieno
T366349
Refactor ArrayDef::validate and ConfigSchemaAggregator::validateValue
Declined
None
T350053
Create a JsonBodyValidator if getParamSettings() returns body params
Open
None
T357909
Clarify Handler::getValidatedBody error states
Resolved
daniel
T305973
JsonBodyValidator does not validate the parameter types
Resolved
•
codebug
T358557
Rest router should provide parsed body data to handler.
Resolved
daniel
T358850
Rest: make getValidatedBody return body parameters
Resolved
daniel
T360434
REST: request body validation should fail if unexpected fields are present
Resolved
daniel
T358560
Rest: Deprecate BodyValidator
Resolved
Atieno
T358558
Rest ParamValidator should support validation of fields in the request body
Resolved
Atieno
T357025
Add getParsedBody to RequestInterface in the REST framework
Resolved
•
codebug
T361995
Remove usage of JsonBodyValidator from extensions
Resolved
•
codebug
T365526
Remove usage of JsonBodyValidator from CampaignEvents
Resolved
•
codebug
T365527
Remove usage of JsonBodyValidator from WikimediaCampaignEvents
Resolved
•
FGoodwin
T365757
Help remove usage of JsonBodyValidator from 3rd party extensions
Resolved
Atieno
T362108
Implement JSON schema validation in ArrayDef
Resolved
Atieno
T366289
Apply default values from the schema if not set
Resolved
Atieno
T367394
REST: Stop using getParamSettings for body parameters
Resolved
Ollie.Shotton_WMDE
T363084
Remove usage of MediaWiki's JsonBodyValidator from Wikibase REST API
Duplicate
None
T367395
Wikibase: stop using JsonBodyValidator in REST handlers
Resolved
daniel
T352742
OpenAPI spec validation test fails for SecurePoll and causes CI failures for other repos
Resolved
BPirkle
T368131
ArrayDef: add convenience methods for generating schemas
Resolved
•
FGoodwin
T368132
REST: Make PARAM_ISMULTI require arrays in JSON
Resolved
•
codebug
T368133
REST: add structure test that checks if param schemas are valid
Event Timeline
daniel
created this task.
Jun 6 2024, 6:28 PM
2024-06-06 18:28:07 (UTC+0)
Restricted Application
added a subscriber:
Aklapper
.
·
View Herald Transcript
Jun 6 2024, 6:28 PM
2024-06-06 18:28:08 (UTC+0)
daniel
added a project:
MediaWiki-REST-API
.
Jun 6 2024, 6:30 PM
2024-06-06 18:30:40 (UTC+0)
daniel
triaged this task as
High
priority.
Jun 6 2024, 6:54 PM
2024-06-06 18:54:15 (UTC+0)
daniel
added subtasks:
T362108: Implement JSON schema validation in ArrayDef
,
T358560: Rest: Deprecate BodyValidator
,
T366349: Refactor ArrayDef::validate and ConfigSchemaAggregator::validateValue
,
T366289: Apply default values from the schema if not set
.
Jun 6 2024, 7:01 PM
2024-06-06 19:01:42 (UTC+0)
daniel
added subtasks:
T365757: Help remove usage of JsonBodyValidator from 3rd party extensions
,
T305973: JsonBodyValidator does not validate the parameter types
,
T363084: Remove usage of MediaWiki's JsonBodyValidator from Wikibase REST API
,
T350053: Create a JsonBodyValidator if getParamSettings() returns body params
,
T340185: The MW Rest API does not normalize its string request parameters
,
T357909: Clarify Handler::getValidatedBody error states
,
T352742: OpenAPI spec validation test fails for SecurePoll and causes CI failures for other repos
.
daniel
closed subtask
T350053: Create a JsonBodyValidator if getParamSettings() returns body params
as
Declined
.
Jun 6 2024, 7:04 PM
2024-06-06 19:04:11 (UTC+0)
daniel
changed the task status from
Open
to
In Progress
.
Jun 6 2024, 7:08 PM
2024-06-06 19:08:10 (UTC+0)
daniel
moved this task from
Incoming (Needs Triage)
to
In Progress
on the
MW-Interfaces-Team
board.
daniel
added a subtask:
T365513: REST: improve CSRF token handling
.
Jun 6 2024, 7:22 PM
2024-06-06 19:22:26 (UTC+0)
daniel
added a subtask:
T367394: REST: Stop using getParamSettings for body parameters
.
Jun 13 2024, 10:33 AM
2024-06-13 10:33:15 (UTC+0)
daniel
added a subtask:
T367395: Wikibase: stop using JsonBodyValidator in REST handlers
.
Jun 13 2024, 10:39 AM
2024-06-13 10:39:04 (UTC+0)
Atieno
closed subtask
T362108: Implement JSON schema validation in ArrayDef
as
Resolved
.
Jun 13 2024, 10:48 AM
2024-06-13 10:48:16 (UTC+0)
Atieno
changed the status of subtask
T366289: Apply default values from the schema if not set
from
Open
to
In Progress
.
Jun 13 2024, 2:59 PM
2024-06-13 14:59:00 (UTC+0)
•
FJoseph-WMF
changed the status of subtask
T367394: REST: Stop using getParamSettings for body parameters
from
Open
to
In Progress
.
Jun 13 2024, 3:28 PM
2024-06-13 15:28:56 (UTC+0)
•
FGoodwin
changed the status of subtask
T365757: Help remove usage of JsonBodyValidator from 3rd party extensions
from
Open
to
In Progress
.
Jun 14 2024, 3:54 PM
2024-06-14 15:54:48 (UTC+0)
daniel
closed subtask
T352742: OpenAPI spec validation test fails for SecurePoll and causes CI failures for other repos
as
Resolved
.
Jun 20 2024, 7:48 AM
2024-06-20 07:48:56 (UTC+0)
daniel
removed a subtask:
T340185: The MW Rest API does not normalize its string request parameters
.
Jun 20 2024, 3:17 PM
2024-06-20 15:17:34 (UTC+0)
•
FGoodwin
closed subtask
T365757: Help remove usage of JsonBodyValidator from 3rd party extensions
as
Resolved
.
Jun 21 2024, 7:11 PM
2024-06-21 19:11:23 (UTC+0)
BPirkle
changed the status of subtask
T368131: ArrayDef: add convenience methods for generating schemas
from
Open
to
In Progress
.
Jun 24 2024, 5:20 PM
2024-06-24 17:20:04 (UTC+0)
BPirkle
changed the status of subtask
T368132: REST: Make PARAM_ISMULTI require arrays in JSON
from
Open
to
In Progress
.
Jun 27 2024, 3:18 PM
2024-06-27 15:18:31 (UTC+0)
daniel
changed the status of subtask
T368133: REST: add structure test that checks if param schemas are valid
from
Open
to
In Progress
.
Jul 8 2024, 3:47 PM
2024-07-08 15:47:31 (UTC+0)
Ollie.Shotton_WMDE
closed subtask
T363084: Remove usage of MediaWiki's JsonBodyValidator from Wikibase REST API
as
Resolved
.
Jul 9 2024, 9:53 AM
2024-07-09 09:53:54 (UTC+0)
•
FJoseph-WMF
closed subtask
T367394: REST: Stop using getParamSettings for body parameters
as
Resolved
.
Jul 11 2024, 2:36 PM
2024-07-11 14:36:55 (UTC+0)
•
FJoseph-WMF
closed subtask
T305973: JsonBodyValidator does not validate the parameter types
as
Resolved
.
Atieno
changed the status of subtask
T366349: Refactor ArrayDef::validate and ConfigSchemaAggregator::validateValue
from
Open
to
In Progress
.
Jul 18 2024, 3:05 PM
2024-07-18 15:05:24 (UTC+0)
BPirkle
closed subtask
T368133: REST: add structure test that checks if param schemas are valid
as
Resolved
.
Jul 25 2024, 3:15 PM
2024-07-25 15:15:34 (UTC+0)
BPirkle
closed subtask
T368132: REST: Make PARAM_ISMULTI require arrays in JSON
as
Resolved
.
BPirkle
closed subtask
T368131: ArrayDef: add convenience methods for generating schemas
as
Resolved
.
Jul 25 2024, 8:05 PM
2024-07-25 20:05:36 (UTC+0)
BPirkle
closed subtask
T366289: Apply default values from the schema if not set
as
Resolved
.
Jul 30 2024, 3:38 PM
2024-07-30 15:38:29 (UTC+0)
BPirkle
changed the status of subtask
T365513: REST: improve CSRF token handling
from
Open
to
In Progress
.
Aug 1 2024, 3:09 PM
2024-08-01 15:09:39 (UTC+0)
BPirkle
removed a subscriber:
•
FJoseph-WMF
.
Aug 21 2024, 9:24 PM
2024-08-21 21:24:43 (UTC+0)
BPirkle
closed subtask
T358560: Rest: Deprecate BodyValidator
as
Resolved
.
Aug 22 2024, 3:39 PM
2024-08-22 15:39:17 (UTC+0)
aaron
moved this task from
In Progress
to
Epics in progress
on the
MW-Interfaces-Team
board.
Oct 24 2024, 3:36 PM
2024-10-24 15:36:57 (UTC+0)
HCoplin-WMF
moved this task from
Epics in progress
to
MWI-Roadmap
on the
MW-Interfaces-Team
board.
Jan 9 2025, 3:06 PM
2025-01-09 15:06:11 (UTC+0)
HCoplin-WMF
edited projects, added
MW-Interfaces-Team (MWI-Roadmap)
; removed
MW-Interfaces-Team
.
HCoplin-WMF
moved this task from
Now
to
Parking Lot
on the
MW-Interfaces-Team (MWI-Roadmap)
board.
HCoplin-WMF
removed a subtask:
T365513: REST: improve CSRF token handling
.
Aug 20 2025, 8:49 PM
2025-08-20 20:49:48 (UTC+0)
Log In to Comment