|
1 | 1 | {
|
2 | 2 | "http_interactions": [
|
3 | 3 | {
|
4 |
| - "recorded_at": "2017-04-30T17:31:19", |
| 4 | + "recorded_at": "2017-04-30T17:42:29", |
5 | 5 | "request": {
|
6 | 6 | "body": {
|
7 | 7 | "encoding": "utf-8",
|
|
17 | 17 | "User-Agent": "github3.py/0.9.5"
|
18 | 18 | },
|
19 | 19 | "method": "GET",
|
20 |
| - "uri": "http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>" |
| 20 | + "uri": "http://localhost:8080/api/v3/user" |
21 | 21 | },
|
22 | 22 | "response": {
|
23 | 23 | "body": {
|
24 | 24 | "encoding": "utf-8",
|
25 |
| - "string": "{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"<GITBUCKET_NAMESPACE>@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:30:44Z\",\"url\":\"http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>s/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"}" |
| 25 | + "string": "{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"user@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:39:36Z\",\"url\":\"http://localhost:8080/api/v3/users/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"}" |
26 | 26 | },
|
27 | 27 | "headers": {
|
28 |
| - "Content-Length": "248", |
| 28 | + "Content-Length": "284", |
29 | 29 | "Content-Type": "application/json;charset=utf-8",
|
30 |
| - "Date": "Sun, 30 Apr 2017 17:31:19 GMT", |
| 30 | + "Date": "Sun, 30 Apr 2017 17:42:29 GMT", |
31 | 31 | "Expires": "Thu, 01 Jan 1970 00:00:00 GMT",
|
32 | 32 | "Server": "Jetty(9.3.z-SNAPSHOT)",
|
33 |
| - "Set-Cookie": "JSESSIONID=1t0htrr6dcqy7zaocy5rln907;Path=/;HttpOnly" |
| 33 | + "Set-Cookie": "JSESSIONID=v1gat922yeob3op8z3zdmrty;Path=/;HttpOnly" |
34 | 34 | },
|
35 | 35 | "status": {
|
36 | 36 | "code": 200,
|
37 | 37 | "message": "OK"
|
38 | 38 | },
|
39 |
| - "url": "http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>" |
| 39 | + "url": "http://localhost:8080/api/v3/user" |
40 | 40 | }
|
41 | 41 | },
|
42 | 42 | {
|
43 |
| - "recorded_at": "2017-04-30T17:31:19", |
| 43 | + "recorded_at": "2017-04-30T17:42:29", |
44 | 44 | "request": {
|
45 | 45 | "body": {
|
46 | 46 | "encoding": "utf-8",
|
47 |
| - "string": "{\"private\": false, \"has_downloads\": true, \"homepage\": \"\", \"name\": \"git-repo\", \"has_issues\": true, \"gitignore_template\": \"\", \"has_wiki\": true, \"description\": \"\", \"auto_init\": false}" |
| 47 | + "string": "{\"homepage\": \"\", \"private\": false, \"has_wiki\": true, \"has_downloads\": true, \"name\": \"git-repo\", \"description\": \"\", \"gitignore_template\": \"\", \"has_issues\": true, \"auto_init\": false}" |
48 | 48 | },
|
49 | 49 | "headers": {
|
50 | 50 | "Accept": "application/vnd.github.v3.full+json",
|
|
54 | 54 | "Connection": "keep-alive",
|
55 | 55 | "Content-Length": "180",
|
56 | 56 | "Content-Type": "application/json",
|
57 |
| - "Cookie": "JSESSIONID=1t0htrr6dcqy7zaocy5rln907", |
| 57 | + "Cookie": "JSESSIONID=v1gat922yeob3op8z3zdmrty", |
58 | 58 | "User-Agent": "github3.py/0.9.5"
|
59 | 59 | },
|
60 | 60 | "method": "POST",
|
61 |
| - "uri": "http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>/repos" |
| 61 | + "uri": "http://localhost:8080/api/v3/user/repos" |
62 | 62 | },
|
63 | 63 | "response": {
|
64 | 64 | "body": {
|
65 | 65 | "encoding": "utf-8",
|
66 |
| - "string": "{\"name\":\"git-repo\",\"full_name\":\"<GITBUCKET_NAMESPACE>/git-repo\",\"description\":\"\",\"watchers\":0,\"forks\":0,\"private\":false,\"default_branch\":\"master\",\"owner\":{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"<GITBUCKET_NAMESPACE>@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:30:44Z\",\"url\":\"http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>s/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"},\"forks_count\":0,\"watchers_count\":0,\"url\":\"http://localhost:8080/api/v3/repos/<GITBUCKET_NAMESPACE>/git-repo\",\"http_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"clone_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/git-repo\"}" |
| 66 | + "string": "{\"name\":\"git-repo\",\"full_name\":\"<GITBUCKET_NAMESPACE>/git-repo\",\"description\":\"\",\"watchers\":0,\"forks\":0,\"private\":false,\"default_branch\":\"master\",\"owner\":{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"user@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:39:36Z\",\"url\":\"http://localhost:8080/api/v3/users/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"},\"forks_count\":0,\"watchers_count\":0,\"url\":\"http://localhost:8080/api/v3/repos/<GITBUCKET_NAMESPACE>/git-repo\",\"http_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"clone_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/git-repo\"}" |
67 | 67 | },
|
68 | 68 | "headers": {
|
69 |
| - "Content-Length": "642", |
| 69 | + "Content-Length": "723", |
70 | 70 | "Content-Type": "application/json;charset=utf-8",
|
71 |
| - "Date": "Sun, 30 Apr 2017 17:31:19 GMT", |
| 71 | + "Date": "Sun, 30 Apr 2017 17:42:29 GMT", |
72 | 72 | "Server": "Jetty(9.3.z-SNAPSHOT)"
|
73 | 73 | },
|
74 | 74 | "status": {
|
75 | 75 | "code": 200,
|
76 | 76 | "message": "OK"
|
77 | 77 | },
|
78 |
| - "url": "http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>/repos" |
| 78 | + "url": "http://localhost:8080/api/v3/user/repos" |
79 | 79 | }
|
80 | 80 | },
|
81 | 81 | {
|
82 |
| - "recorded_at": "2017-04-30T17:31:20", |
| 82 | + "recorded_at": "2017-04-30T17:42:30", |
83 | 83 | "request": {
|
84 | 84 | "body": {
|
85 | 85 | "encoding": "utf-8",
|
|
92 | 92 | "Authorization": "token <PRIVATE_KEY_GITBUCKET>",
|
93 | 93 | "Connection": "keep-alive",
|
94 | 94 | "Content-Type": "application/json",
|
95 |
| - "Cookie": "JSESSIONID=1t0htrr6dcqy7zaocy5rln907", |
| 95 | + "Cookie": "JSESSIONID=v1gat922yeob3op8z3zdmrty", |
96 | 96 | "User-Agent": "github3.py/0.9.5"
|
97 | 97 | },
|
98 | 98 | "method": "GET",
|
|
101 | 101 | "response": {
|
102 | 102 | "body": {
|
103 | 103 | "encoding": "utf-8",
|
104 |
| - "string": "{\"name\":\"git-repo\",\"full_name\":\"<GITBUCKET_NAMESPACE>/git-repo\",\"description\":\"\",\"watchers\":0,\"forks\":0,\"private\":false,\"default_branch\":\"master\",\"owner\":{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"<GITBUCKET_NAMESPACE>@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:30:44Z\",\"url\":\"http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>s/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"},\"forks_count\":0,\"watchers_count\":0,\"url\":\"http://localhost:8080/api/v3/repos/<GITBUCKET_NAMESPACE>/git-repo\",\"http_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"clone_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/git-repo\"}" |
| 104 | + "string": "{\"name\":\"git-repo\",\"full_name\":\"<GITBUCKET_NAMESPACE>/git-repo\",\"description\":\"\",\"watchers\":0,\"forks\":0,\"private\":false,\"default_branch\":\"master\",\"owner\":{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"user@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:39:36Z\",\"url\":\"http://localhost:8080/api/v3/users/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"},\"forks_count\":0,\"watchers_count\":0,\"url\":\"http://localhost:8080/api/v3/repos/<GITBUCKET_NAMESPACE>/git-repo\",\"http_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"clone_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/git-repo\"}" |
105 | 105 | },
|
106 | 106 | "headers": {
|
107 |
| - "Content-Length": "642", |
| 107 | + "Content-Length": "723", |
108 | 108 | "Content-Type": "application/json;charset=utf-8",
|
109 |
| - "Date": "Sun, 30 Apr 2017 17:31:20 GMT", |
| 109 | + "Date": "Sun, 30 Apr 2017 17:42:30 GMT", |
110 | 110 | "Server": "Jetty(9.3.z-SNAPSHOT)"
|
111 | 111 | },
|
112 | 112 | "status": {
|
|
0 commit comments