RESTBase used this to check if the domain sent by the client matches the domain in the restbase config under the hood. Since this code is moving to core, this assertion is no longer needed. Bug: T301370 Change-Id: I01a4f35b81c31d106671e5c829d317a41687fd7a
56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
[
|
|
{
|
|
"path": "/coredev/v0/me/contributions",
|
|
"class": "MediaWiki\\Rest\\Handler\\UserContributionsHandler",
|
|
"services": [
|
|
"ContributionsLookup",
|
|
"UserNameUtils"
|
|
],
|
|
"mode": "me"
|
|
},
|
|
{
|
|
"path": "/coredev/v0/user/{user}/contributions",
|
|
"class": "MediaWiki\\Rest\\Handler\\UserContributionsHandler",
|
|
"services": [
|
|
"ContributionsLookup",
|
|
"UserNameUtils"
|
|
],
|
|
"mode": "user"
|
|
},
|
|
{
|
|
"path": "/coredev/v0/me/contributions/count",
|
|
"class": "MediaWiki\\Rest\\Handler\\ContributionsCountHandler",
|
|
"services": [
|
|
"ContributionsLookup",
|
|
"UserNameUtils"
|
|
],
|
|
"mode": "me"
|
|
},
|
|
{
|
|
"path": "/coredev/v0/user/{user}/contributions/count",
|
|
"class": "MediaWiki\\Rest\\Handler\\ContributionsCountHandler",
|
|
"services": [
|
|
"ContributionsLookup",
|
|
"UserNameUtils"
|
|
],
|
|
"mode": "user"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/coredev/v0/transform/{from}/to/{format}/{title}/{revision}",
|
|
"class": "MediaWiki\\Rest\\Handler\\TransformHandler",
|
|
"factory": "MediaWiki\\Rest\\Handler\\TransformHandler::factory"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/coredev/v0/transform/{from}/to/{format}",
|
|
"class": "MediaWiki\\Rest\\Handler\\TransformHandler",
|
|
"factory": "MediaWiki\\Rest\\Handler\\TransformHandler::factory"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/coredev/v0/transform/{from}/to/{format}/{title}",
|
|
"class": "MediaWiki\\Rest\\Handler\\TransformHandler",
|
|
"factory": "MediaWiki\\Rest\\Handler\\TransformHandler::factory"
|
|
}
|
|
]
|