Skip to content

Commit 0697cd0

Browse files
committed
Fix recommended RPC controller location
1 parent cad6f87 commit 0697cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/php/api/rpc_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Endpoints are defined using a strict rule set:
111111

112112
## Convention for File Name and Location
113113

114-
It is strongly recommended to place the files in `lib/system/endpoint/<namespace>/<objects>/<nameOfTheAction>.class.php`.
114+
It is strongly recommended to place the files in `lib/system/endpoint/controller/<namespace>/<objects>/<nameOfTheAction>.class.php`.
115115
The file name should reflect the action itself, following the pattern `<Verb><Object>`, for example, `DeleteFile` or `CreatePost`.
116116

117117
## Registering the Route of an Endpoint

0 commit comments

Comments
 (0)