Changes for page Версія 6: Налаштування
Last modified by Ashterix on 2024/07/11 10:08
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - 2.Bundle config1 +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): true129 + 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",