Page MenuHomeWickedGov Phorge

moduleTestRoutes.json
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

moduleTestRoutes.json

{
"$schema": "https://www.mediawiki.org/schema/mwapi-1.0",
"mwapi": "1.1.0",
"moduleId": "test.v1",
"info": {
"title": "test",
"version": "1.0"
},
"paths": {
"/ModuleTest/HELLO/{name}": {
"get": {
"redirect": {
"path": "/test.v1/ModuleTest/hello/{name}"
}
}
},
"/ModuleTest/hello/{name}": {
"get": {
"summary": "hello summary",
"x-i18n-description": "rest-endpoint-desc-mock-desc",
"handler": {
"class": "MediaWiki\\Tests\\Rest\\Handler\\HelloHandler",
"hello": "hi!"
}
}
},
"/ModuleTest/throw": {
"get": {
"handler": {
"factory": "MediaWiki\\Tests\\Rest\\MockHandlerFactory::throwHandlerFactory"
}
}
},
"/ModuleTest/fatal": {
"get": {
"handler": {
"factory": "MediaWiki\\Tests\\Rest\\MockHandlerFactory::fatalHandlerFactory"
}
}
},
"/ModuleTest/throwRedirect": {
"get": {
"handler": {
"factory": "MediaWiki\\Tests\\Rest\\MockHandlerFactory::throwRedirectHandlerFactory"
}
}
},
"/ModuleTest/throwWrapped": {
"get": {
"handler": {
"factory": "MediaWiki\\Tests\\Rest\\MockHandlerFactory::throwWrappedHandlerFactory"
}
}
},
"/ModuleTest/deprecated": {
"get": {
"deprecationSettings": {
"since": 1735689600
},
"handler": {
"class": "MediaWiki\\Tests\\Rest\\Handler\\HelloHandler",
"hello": "hi!"
}
}
}
}
}

File Metadata

Mime Type
application/json
Expires
Sun, Nov 22, 13:26 (22 h, 26 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ba/6b/c6d5281e248e0f0a51dbc613ac8b
Default Alt Text
moduleTestRoutes.json (1 KB)

Event Timeline