|
14 | 14 | "User-Agent": "python-requests/2.12.4"
|
15 | 15 | },
|
16 | 16 | "method": "GET",
|
17 |
| - "uri": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>" |
| 17 | + "uri": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>" |
18 | 18 | },
|
19 | 19 | "response": {
|
20 | 20 | "body": {
|
21 | 21 | "encoding": "UTF-8",
|
22 |
| - "string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}" |
| 22 | + "string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"<GOGS_URL>/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}" |
23 | 23 | },
|
24 | 24 | "headers": {
|
25 | 25 | "Content-Length": "152",
|
|
33 | 33 | "code": 200,
|
34 | 34 | "message": "OK"
|
35 | 35 | },
|
36 |
| - "url": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>" |
| 36 | + "url": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>" |
37 | 37 | }
|
38 | 38 | },
|
39 | 39 | {
|
|
51 | 51 | "User-Agent": "python-requests/2.12.4"
|
52 | 52 | },
|
53 | 53 | "method": "GET",
|
54 |
| - "uri": "http://127.0.0.1:3000/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>" |
| 54 | + "uri": "<GOGS_URL>/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>" |
55 | 55 | },
|
56 | 56 | "response": {
|
57 | 57 | "body": {
|
58 | 58 | "encoding": "UTF-8",
|
59 |
| - "string": "[{\"id\":4,\"username\":\"guyzmo\",\"full_name\":\"\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/4\",\"description\":\"\",\"website\":\"\",\"location\":\"\"}]" |
| 59 | + "string": "[{\"id\":4,\"username\":\"guyzmo\",\"full_name\":\"\",\"avatar_url\":\"<GOGS_URL>/avatars/4\",\"description\":\"\",\"website\":\"\",\"location\":\"\"}]" |
60 | 60 | },
|
61 | 61 | "headers": {
|
62 | 62 | "Content-Length": "136",
|
|
69 | 69 | "code": 200,
|
70 | 70 | "message": "OK"
|
71 | 71 | },
|
72 |
| - "url": "http://127.0.0.1:3000/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>" |
| 72 | + "url": "<GOGS_URL>/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>" |
73 | 73 | }
|
74 | 74 | },
|
75 | 75 | {
|
|
89 | 89 | "User-Agent": "python-requests/2.12.4"
|
90 | 90 | },
|
91 | 91 | "method": "POST",
|
92 |
| - "uri": "http://127.0.0.1:3000/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>" |
| 92 | + "uri": "<GOGS_URL>/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>" |
93 | 93 | },
|
94 | 94 | "response": {
|
95 | 95 | "body": {
|
96 | 96 | "encoding": "UTF-8",
|
97 |
| - "string": "{\"id\":5,\"owner\":{\"id\":4,\"login\":\"guyzmo\",\"full_name\":\"\",\"email\":\"\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/4\",\"username\":\"guyzmo\"},\"name\":\"foobar\",\"full_name\":\"guyzmo/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"http://127.0.0.1:3000/guyzmo/foobar\",\"ssh_url\":\"ssh://git@:3022/guyzmo/foobar.git\",\"clone_url\":\"http://127.0.0.1:3000/guyzmo/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":0,\"open_issues_count\":0,\"default_branch\":\"\",\"created_at\":\"0001-01-01T00:00:00Z\",\"updated_at\":\"0001-01-01T00:00:00Z\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}" |
| 97 | + "string": "{\"id\":5,\"owner\":{\"id\":4,\"login\":\"guyzmo\",\"full_name\":\"\",\"email\":\"\",\"avatar_url\":\"<GOGS_URL>/avatars/4\",\"username\":\"guyzmo\"},\"name\":\"foobar\",\"full_name\":\"guyzmo/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"<GOGS_URL>/guyzmo/foobar\",\"ssh_url\":\"ssh://git@:3022/guyzmo/foobar.git\",\"clone_url\":\"<GOGS_URL>/guyzmo/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":0,\"open_issues_count\":0,\"default_branch\":\"\",\"created_at\":\"0001-01-01T00:00:00Z\",\"updated_at\":\"0001-01-01T00:00:00Z\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}" |
98 | 98 | },
|
99 | 99 | "headers": {
|
100 | 100 | "Content-Length": "605",
|
|
107 | 107 | "code": 201,
|
108 | 108 | "message": "Created"
|
109 | 109 | },
|
110 |
| - "url": "http://127.0.0.1:3000/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>" |
| 110 | + "url": "<GOGS_URL>/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>" |
111 | 111 | }
|
112 | 112 | },
|
113 | 113 | {
|
|
125 | 125 | "User-Agent": "python-requests/2.12.4"
|
126 | 126 | },
|
127 | 127 | "method": "GET",
|
128 |
| - "uri": "http://127.0.0.1:3000/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>" |
| 128 | + "uri": "<GOGS_URL>/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>" |
129 | 129 | },
|
130 | 130 | "response": {
|
131 | 131 | "body": {
|
132 | 132 | "encoding": "UTF-8",
|
133 |
| - "string": "{\"id\":5,\"owner\":{\"id\":4,\"login\":\"guyzmo\",\"full_name\":\"\",\"email\":\"\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/4\",\"username\":\"guyzmo\"},\"name\":\"foobar\",\"full_name\":\"guyzmo/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"http://127.0.0.1:3000/guyzmo/foobar\",\"ssh_url\":\"ssh://git@:3022/guyzmo/foobar.git\",\"clone_url\":\"http://127.0.0.1:3000/guyzmo/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":2,\"open_issues_count\":0,\"default_branch\":\"master\",\"created_at\":\"2017-01-21T17:04:10+03:00\",\"updated_at\":\"2017-01-21T17:04:10+03:00\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}" |
| 133 | + "string": "{\"id\":5,\"owner\":{\"id\":4,\"login\":\"guyzmo\",\"full_name\":\"\",\"email\":\"\",\"avatar_url\":\"<GOGS_URL>/avatars/4\",\"username\":\"guyzmo\"},\"name\":\"foobar\",\"full_name\":\"guyzmo/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"<GOGS_URL>/guyzmo/foobar\",\"ssh_url\":\"ssh://git@:3022/guyzmo/foobar.git\",\"clone_url\":\"<GOGS_URL>/guyzmo/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":2,\"open_issues_count\":0,\"default_branch\":\"master\",\"created_at\":\"2017-01-21T17:04:10+03:00\",\"updated_at\":\"2017-01-21T17:04:10+03:00\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}" |
134 | 134 | },
|
135 | 135 | "headers": {
|
136 | 136 | "Content-Length": "621",
|
|
143 | 143 | "code": 200,
|
144 | 144 | "message": "OK"
|
145 | 145 | },
|
146 |
| - "url": "http://127.0.0.1:3000/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>" |
| 146 | + "url": "<GOGS_URL>/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>" |
147 | 147 | }
|
148 | 148 | }
|
149 | 149 | ],
|
|
0 commit comments