Changes for page 1. Authorization

Last modified by Giorgi Mdivnishvili on 2024/04/26 15:59

From version 27.1
edited by Giorgi Mdivnishvili
on 2024/01/09 14:19
Change comment: There is no comment for this version
To version 19.1
edited by Giorgi Mdivnishvili
on 2023/12/26 15:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,8 +1,15 @@
1 1  (% data-xwiki-non-generated-content="java.util.List" %)
2 2  (((
3 -
3 +" data-xwiki-parameter-name="title" class="xwiki-metadata-container">**Contents**
4 4  )))
5 5  
6 +(% data-xwiki-non-generated-content="java.util.List" %)
7 +(((
8 +" class="xwiki-metadata-container">
9 +
10 +{{toc/}}
11 +)))
12 +
6 6  {{box cssClass="floatinginfobox" title="**Contents**"}}
7 7  {{toc/}}
8 8  {{/box}}
... ... @@ -12,11 +12,11 @@
12 12  The initial method of the integration process is authorization. You will be provided with a  unique user username and password to generate the access token that you will need to pass in all the following methods.
13 13  
14 14  
15 -== Request URL - [POST] ==
22 +== Request URL - [GET] ==
16 16  
17 17  (% class="box infomessage" %)
18 18  (((
19 -[[https:~~/~~/integration.kazunion.com/api/Auth/Auth>>https://integration.kazunion.com/api/Auth/Auth]]
26 +https:~/~/online-api.kazunion.com/api/Auth/Auth
20 20  )))
21 21  
22 22  
... ... @@ -47,12 +47,18 @@
47 47  {{/code}}
48 48  
49 49  
50 -
51 51  === Schema ===
52 52  
53 53  (% data-xwiki-non-generated-content="java.util.List" %)
54 54  (((
55 -
61 +" class="xwiki-metadata-container">AuthRequest{
62 +
63 +|login|string
64 +nullable: true
65 +|password|string
66 +nullable: true
67 +
68 +}
56 56  )))
57 57  
58 58  {{success}}
... ... @@ -69,12 +69,30 @@
69 69  
70 70  == Important ==
71 71  
85 +(% data-xwiki-non-generated-content="java.util.List" %)
86 +(((
87 +" class="xwiki-metadata-container">It's Important to in every other request header, put Auth token
88 +
89 +**Key **- Authorization
90 +
91 +**Value **- Bearer Token what is given in this response.
92 +
93 +
94 +**also note in headers that:**
95 +
96 +Content-Type - application/json
97 +
98 +**Key - **X-nugios-timezone
99 +
100 +**Value **- 240
101 +)))
102 +
72 72  {{error}}
73 73  It's Important to in every other request header, put Auth token
74 74  
75 75  **Key **- Authorization
76 76  
77 -**Value **- Bearer Token what is given in this response. (Authorization type Bearer Token)
108 +**Value **- Bearer Token what is given in this response.
78 78  
79 79  
80 80  **also note in headers that:**
... ... @@ -85,3 +85,5 @@
85 85  
86 86  **Value **- 240
87 87  {{/error}}
119 +
120 +