WikiLambda
MediaWiki WikiLambda extension
Loading...
Searching...
No Matches
MediaWiki\Extension\WikiLambda\RESTAPI\FetchHandler Class Reference

Simple REST API to fetch the latest versions of one or more ZObjects via GET /wikifunctions/v0/fetch/{zids}. More...

+ Inheritance diagram for MediaWiki\Extension\WikiLambda\RESTAPI\FetchHandler:
+ Collaboration diagram for MediaWiki\Extension\WikiLambda\RESTAPI\FetchHandler:

Public Member Functions

 run ( $ZIDs, $revisions=[])
 @inheritDoc
 
 applyCacheControl (ResponseInterface $response)
 
 needsWriteAccess ()
 @inheritDoc
 
 getParamSettings ()
 @inheritDoc
 

Public Attributes

const MAX_REQUESTED_ZIDS = 50
 

Detailed Description

Simple REST API to fetch the latest versions of one or more ZObjects via GET /wikifunctions/v0/fetch/{zids}.


The documentation for this class was generated from the following file: