Last modified by Ashterix on 2024/07/11 10:08

From version 2.1
edited by Ashterix
on 2024/05/10 15:48
Change comment: There is no comment for this version
To version 1.1
edited by Ashterix
on 2024/05/09 19:27
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -2. Bundle config
1 +Bundle config
Content
... ... @@ -53,9 +53,6 @@
53 53  - RFC Standards: Header requirements are regulated by RFC documents that define standards for Internet protocols. For example, common headers and their use are described in RFC 7231.
54 54  {{/spoiler}}
55 55  
56 -
57 -
58 -
59 59  == Parameter {{code language="none"}}clients_tokens{{/code}} ==
60 60  
61 61  Now you need to specify an array of client tokens that will have access to the API.
... ... @@ -129,7 +129,7 @@
129 129  
130 130   public function __construct(protected UserService $userService) {}
131 131  
132 - public function isValid(string $token): true
129 + public function isValid(string $token): bool
133 133   {
134 134   try {
135 135   this.userService.getUserByToken(token);
... ... @@ -221,7 +221,8 @@
221 221  For more information on method validation, see the page **[[Validate procedures>>doc:.add_rpc_service.assertions.WebHome]]**
222 222  )))
223 223  
224 -{{code language="json" layout="LINENUMBERS" title="GET: /api"}}
221 +{{code language="json" layout="LINENUMBERS" title="
222 +GET: /api"}}
225 225  {
226 226   "envelope": "JSON-RPC-2.0/UFO-RPC-6",
227 227   "transport": "POST",