|
1 | 1 | { |
2 | 2 | "http_interactions": [ |
3 | 3 | { |
4 | | - "recorded_at": "2016-10-15T20:46:51", |
| 4 | + "recorded_at": "2019-08-26T21:13:22", |
5 | 5 | "request": { |
6 | 6 | "body": { |
7 | 7 | "encoding": "utf-8", |
|
11 | 11 | "Accept": "*/*", |
12 | 12 | "Accept-Encoding": "identity", |
13 | 13 | "Connection": "keep-alive", |
| 14 | + "Content-type": "application/json", |
14 | 15 | "PRIVATE-TOKEN": "<PRIVATE_KEY_GITLAB>", |
15 | | - "User-Agent": "python-requests/2.10.0" |
| 16 | + "User-Agent": "python-requests/2.22.0" |
16 | 17 | }, |
17 | 18 | "method": "GET", |
18 | | - "uri": "https://gitlab.com/api/v3/user" |
| 19 | + "uri": "https://gitlab.com/api/v4/user" |
19 | 20 | }, |
20 | 21 | "response": { |
21 | 22 | "body": { |
22 | 23 | "encoding": null, |
23 | | - "string": "{\"name\":\"Guyzmo\",\"username\":\"<GITLAB_NAMESPACE>\",\"id\":459552,\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/917dc55c63895af9953df7d798cdd5f8?s=80&d=identicon\",\"web_url\":\"https://gitlab.com/<GITLAB_NAMESPACE>\",\"created_at\":\"2016-03-21T12:52:59.859Z\",\"is_admin\":false,\"bio\":\": :(){ :|:& };:\",\"location\":\"Earth, Solar system, Milkyway, Universe\",\"skype\":\"\",\"linkedin\":\"\",\"twitter\":\"\",\"website_url\":\"http://i.got.nothing.to/blog\",\"organization\":null,\"last_sign_in_at\":\"2016-10-13T18:28:52.737Z\",\"confirmed_at\":\"2016-03-21T13:48:05.234Z\",\"email\":\"toto@example.org\",\"theme_id\":4,\"color_scheme_id\":4,\"projects_limit\":100000,\"current_sign_in_at\":\"2016-10-13T18:28:55.087Z\",\"identities\":[],\"can_create_group\":true,\"can_create_project\":true,\"two_factor_enabled\":false,\"external\":false}" |
| 24 | + "string": "{\"id\":459552,\"name\":\"Guyzmo\",\"username\":\"guyzmo\",\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/917dc55c63895af9953df7d798cdd5f8?s=80\\u0026d=identicon\",\"web_url\":\"https://gitlab.com/guyzmo\",\"created_at\":\"2016-03-21T12:52:59.859Z\",\"bio\":\": :(){ :|:\\u0026 };:\",\"location\":\"Earth, Solar system, Milkyway, Universe\",\"public_email\":\"\",\"skype\":\"\",\"linkedin\":\"\",\"twitter\":\"https://twitter.com/guyzmo\",\"website_url\":\"http://i.got.nothing.to/blog\",\"organization\":\"\",\"last_sign_in_at\":\"2019-08-19T16:34:20.318Z\",\"confirmed_at\":\"2016-03-21T13:48:05.234Z\",\"last_activity_on\":\"2019-08-26\",\"email\":\"guyzmo+gitlab@m0g.net\",\"theme_id\":2,\"color_scheme_id\":2,\"projects_limit\":100000,\"current_sign_in_at\":\"2019-08-26T12:05:47.884Z\",\"identities\":[],\"can_create_group\":true,\"can_create_project\":true,\"two_factor_enabled\":false,\"external\":false,\"private_profile\":false,\"shared_runners_minutes_limit\":2000,\"extra_shared_runners_minutes_limit\":null}" |
24 | 25 | }, |
25 | 26 | "headers": { |
26 | 27 | "Cache-Control": "max-age=0, private, must-revalidate", |
27 | | - "Content-Length": "775", |
| 28 | + "Content-Length": "944", |
28 | 29 | "Content-Type": "application/json", |
29 | | - "Date": "Sat, 15 Oct 2016 20:46:51 GMT", |
30 | | - "Etag": "W/\"677a046b34e34176cde8e128968cb26c\"", |
| 30 | + "Date": "Mon, 26 Aug 2019 21:13:22 GMT", |
| 31 | + "Etag": "W/\"c277655375af222ec17621ae3125a5fd\"", |
| 32 | + "RateLimit-Limit": "600", |
| 33 | + "RateLimit-Observed": "2", |
| 34 | + "RateLimit-Remaining": "598", |
| 35 | + "RateLimit-Reset": "1566854062", |
| 36 | + "RateLimit-ResetTime": "Mon, 26 Aug 2019 21:14:22 GMT", |
| 37 | + "Referrer-Policy": "strict-origin-when-cross-origin", |
31 | 38 | "Server": "nginx", |
| 39 | + "Strict-Transport-Security": "max-age=31536000", |
32 | 40 | "Vary": "Origin", |
33 | | - "X-Request-Id": "0d16804f-e0d9-4841-9beb-285fd7c9817a", |
34 | | - "X-Runtime": "0.038217" |
| 41 | + "X-Content-Type-Options": "nosniff", |
| 42 | + "X-Frame-Options": "SAMEORIGIN", |
| 43 | + "X-Request-Id": "xyVUzGHFt47", |
| 44 | + "X-Runtime": "0.026212" |
35 | 45 | }, |
36 | 46 | "status": { |
37 | 47 | "code": 200, |
38 | 48 | "message": "OK" |
39 | 49 | }, |
40 | | - "url": "https://gitlab.com/api/v3/user" |
| 50 | + "url": "https://gitlab.com/api/v4/user" |
41 | 51 | } |
42 | 52 | }, |
43 | 53 | { |
44 | | - "recorded_at": "2016-10-15T20:46:52", |
| 54 | + "recorded_at": "2019-08-26T21:13:22", |
45 | 55 | "request": { |
46 | 56 | "body": { |
47 | 57 | "encoding": "utf-8", |
|
51 | 61 | "Accept": "*/*", |
52 | 62 | "Accept-Encoding": "identity", |
53 | 63 | "Connection": "keep-alive", |
| 64 | + "Content-type": "application/json", |
54 | 65 | "PRIVATE-TOKEN": "<PRIVATE_KEY_GITLAB>", |
55 | | - "User-Agent": "python-requests/2.10.0" |
| 66 | + "User-Agent": "python-requests/2.22.0" |
56 | 67 | }, |
57 | 68 | "method": "GET", |
58 | | - "uri": "https://gitlab.com/api/v3/groups?search=<GITLAB_NAMESPACE>" |
| 69 | + "uri": "https://gitlab.com/api/v4/groups?search=<GITLAB_NAMESPACE>" |
59 | 70 | }, |
60 | 71 | "response": { |
61 | 72 | "body": { |
62 | 73 | "encoding": null, |
63 | | - "string": "[]" |
| 74 | + "string": "[{\"id\":938543,\"web_url\":\"https://gitlab.com/groups/<GITLAB_NAMESPACE>\",\"name\":\"<GITLAB_NAMESPACE>\",\"path\":\"<GITLAB_NAMESPACE>\",\"description\":\"\",\"visibility\":\"public\",\"lfs_enabled\":true,\"avatar_url\":null,\"request_access_enabled\":true,\"full_name\":\"<GITLAB_NAMESPACE>\",\"full_path\":\"<GITLAB_NAMESPACE>\",\"parent_id\":null,\"ldap_cn\":null,\"ldap_access\":null}]" |
64 | 75 | }, |
65 | 76 | "headers": { |
66 | 77 | "Cache-Control": "max-age=0, private, must-revalidate", |
67 | | - "Content-Length": "2", |
| 78 | + "Content-Length": "326", |
68 | 79 | "Content-Type": "application/json", |
69 | | - "Date": "Sat, 15 Oct 2016 20:46:52 GMT", |
70 | | - "Etag": "W/\"d751713988987e9331980363e24189ce\"", |
71 | | - "Link": "<https://gitlab.com/api/v3/groups?page=1&per_page=20&search=<GITLAB_NAMESPACE>>; rel=\"first\", <https://gitlab.com/api/v3/groups?page=0&per_page=20&search=<GITLAB_NAMESPACE>>; rel=\"last\"", |
| 80 | + "Date": "Mon, 26 Aug 2019 21:13:22 GMT", |
| 81 | + "Etag": "W/\"b808f34f76127c9de5593aaed1627c7c\"", |
| 82 | + "Link": "<https://gitlab.com/api/v4/groups?order_by=name&owned=false&page=1&per_page=20&search=<GITLAB_NAMESPACE>&sort=asc&statistics=false&with_custom_attributes=false>; rel=\"first\", <https://gitlab.com/api/v4/groups?order_by=name&owned=false&page=1&per_page=20&search=<GITLAB_NAMESPACE>&sort=asc&statistics=false&with_custom_attributes=false>; rel=\"last\"", |
| 83 | + "RateLimit-Limit": "600", |
| 84 | + "RateLimit-Observed": "3", |
| 85 | + "RateLimit-Remaining": "597", |
| 86 | + "RateLimit-Reset": "1566854062", |
| 87 | + "RateLimit-ResetTime": "Mon, 26 Aug 2019 21:14:22 GMT", |
| 88 | + "Referrer-Policy": "strict-origin-when-cross-origin", |
72 | 89 | "Server": "nginx", |
| 90 | + "Strict-Transport-Security": "max-age=31536000", |
73 | 91 | "Vary": "Origin", |
| 92 | + "X-Content-Type-Options": "nosniff", |
| 93 | + "X-Frame-Options": "SAMEORIGIN", |
74 | 94 | "X-Next-Page": "", |
75 | 95 | "X-Page": "1", |
76 | 96 | "X-Per-Page": "20", |
77 | 97 | "X-Prev-Page": "", |
78 | | - "X-Request-Id": "b03eada5-dde3-47d7-973a-880905f9965b", |
79 | | - "X-Runtime": "0.024603", |
80 | | - "X-Total": "0", |
81 | | - "X-Total-Pages": "0" |
| 98 | + "X-Request-Id": "mvsifxECVP7", |
| 99 | + "X-Runtime": "0.050724", |
| 100 | + "X-Total": "1", |
| 101 | + "X-Total-Pages": "1" |
82 | 102 | }, |
83 | 103 | "status": { |
84 | 104 | "code": 200, |
85 | 105 | "message": "OK" |
86 | 106 | }, |
87 | | - "url": "https://gitlab.com/api/v3/groups?search=<GITLAB_NAMESPACE>" |
| 107 | + "url": "https://gitlab.com/api/v4/groups?search=<GITLAB_NAMESPACE>" |
88 | 108 | } |
89 | 109 | }, |
90 | 110 | { |
91 | | - "recorded_at": "2016-10-15T20:46:52", |
| 111 | + "recorded_at": "2019-08-26T21:13:22", |
92 | 112 | "request": { |
93 | 113 | "body": { |
94 | 114 | "encoding": "utf-8", |
95 | | - "string": "{\"name\": \"git-repo\"}" |
| 115 | + "string": "{\"name\": \"git-repo\", \"namespace_id\": 938543}" |
96 | 116 | }, |
97 | 117 | "headers": { |
98 | 118 | "Accept": "*/*", |
99 | 119 | "Accept-Encoding": "identity", |
100 | 120 | "Connection": "keep-alive", |
101 | | - "Content-Length": "20", |
| 121 | + "Content-Length": "44", |
102 | 122 | "Content-type": "application/json", |
103 | 123 | "PRIVATE-TOKEN": "<PRIVATE_KEY_GITLAB>", |
104 | | - "User-Agent": "python-requests/2.10.0" |
| 124 | + "User-Agent": "python-requests/2.22.0" |
105 | 125 | }, |
106 | 126 | "method": "POST", |
107 | | - "uri": "https://gitlab.com/api/v3/projects" |
| 127 | + "uri": "https://gitlab.com/api/v4/projects" |
108 | 128 | }, |
109 | 129 | "response": { |
110 | 130 | "body": { |
|
115 | 135 | "Cache-Control": "no-cache", |
116 | 136 | "Content-Length": "100", |
117 | 137 | "Content-Type": "application/json", |
118 | | - "Date": "Sat, 15 Oct 2016 20:46:52 GMT", |
| 138 | + "Date": "Mon, 26 Aug 2019 21:13:22 GMT", |
| 139 | + "RateLimit-Limit": "600", |
| 140 | + "RateLimit-Observed": "4", |
| 141 | + "RateLimit-Remaining": "596", |
| 142 | + "RateLimit-Reset": "1566854062", |
| 143 | + "RateLimit-ResetTime": "Mon, 26 Aug 2019 21:14:22 GMT", |
119 | 144 | "Server": "nginx", |
120 | 145 | "Vary": "Origin", |
121 | | - "X-Request-Id": "30d60bc8-de0c-45fa-abc5-b8547bdbe283", |
122 | | - "X-Runtime": "0.069274" |
| 146 | + "X-Content-Type-Options": "nosniff", |
| 147 | + "X-Frame-Options": "SAMEORIGIN", |
| 148 | + "X-Request-Id": "skz73zlMLW4", |
| 149 | + "X-Runtime": "0.182593" |
123 | 150 | }, |
124 | 151 | "status": { |
125 | 152 | "code": 400, |
126 | 153 | "message": "Bad Request" |
127 | 154 | }, |
128 | | - "url": "https://gitlab.com/api/v3/projects" |
| 155 | + "url": "https://gitlab.com/api/v4/projects" |
129 | 156 | } |
130 | 157 | } |
131 | 158 | ], |
|
0 commit comments