Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:controller:apicontroller63fad7

This is an old revision of the document!


ApiController

Layer: Controller · Source: lib/controller/api/ApiController.php:27 (lines 27–35)


class ApiController extends BaseApiController

API Info Controller

Serves the public /api/v1 info (metadata) endpoint. Unlike the base ApiController (whose default requiresAuth=true protects controllers that do not override it), the API root is deliberately public so clients can discover endpoints without credentials.

Docblock Metadata

^ Tag ^ Value ^
| ''@category'' | Controller Class |
| ''@author'' | Blogware Team |
| ''@license'' | MIT |
| ''@version'' | 1.0 |
| ''@since'' | Since Release 1.0 |

Inheritance

^ Relation ^ Type ^ Meaning ^
| extends | [[scriptlog:lib:controller:apicontroller|''BaseApiController'']] | parent class/interface |

Constants (0)

None.

Properties (1)

^ Visibility ^ Type ^ Name ^ Default ^ Line ^
| ''protected'' | ''(untyped)'' | ''$requiresAuth'' | ''false;'' | 34 |

Methods (0)

None.

Imports

^ Alias ^ Fully-qualified name ^
| ''BaseApiController'' | [[scriptlog:lib:controller:apicontroller|''Scriptlog\Controller\ApiController'']] |

This page is generated from source by 'tools/gendoc'. Edits will be overwritten.

scriptlog/lib/controller/apicontroller63fad7.1790413760.txt.gz · Last modified: by admin