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

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

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Bundle config
1 +2. Bundle config
Content
... ... @@ -53,6 +53,9 @@
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 +
56 56  == Parameter {{code language="none"}}clients_tokens{{/code}} ==
57 57  
58 58  Now you need to specify an array of client tokens that will have access to the API.
... ... @@ -126,7 +126,7 @@
126 126  
127 127   public function __construct(protected UserService $userService) {}
128 128  
129 - public function isValid(string $token): bool
132 + public function isValid(string $token): true
130 130   {
131 131   try {
132 132   this.userService.getUserByToken(token);
... ... @@ -218,8 +218,7 @@
218 218  For more information on method validation, see the page **[[Validate procedures>>doc:.add_rpc_service.assertions.WebHome]]**
219 219  )))
220 220  
221 -{{code language="json" layout="LINENUMBERS" title="
222 -GET: /api"}}
224 +{{code language="json" layout="LINENUMBERS" title="GET: /api"}}
223 223  {
224 224   "envelope": "JSON-RPC-2.0/UFO-RPC-6",
225 225   "transport": "POST",