1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
|
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-type:
- application/json
PRIVATE-TOKEN:
- DKkdC5JmKWWZgXZGzg83
User-Agent:
- python-requests/2.22.0
method: GET
uri: http://localhost/api/v4/projects/test%2Farchived
response:
body:
string: '{"id":22,"description":"","name":"archived","name_with_namespace":"test
/ archived","path":"archived","path_with_namespace":"test/archived","created_at":"2019-06-20T08:33:14.577Z","default_branch":null,"tag_list":[],"ssh_url_to_repo":"git@gitlab.example.com:test/archived.git","http_url_to_repo":"http://gitlab.example.com/test/archived.git","web_url":"http://gitlab.example.com/test/archived","readme_url":null,"avatar_url":null,"star_count":0,"forks_count":0,"last_activity_at":"2019-06-20T08:33:14.577Z","namespace":{"id":3,"name":"test","path":"test","kind":"group","full_path":"test","parent_id":null,"avatar_url":null,"web_url":"http://gitlab.example.com/groups/test"},"_links":{"self":"http://gitlab.example.com/api/v4/projects/22","issues":"http://gitlab.example.com/api/v4/projects/22/issues","merge_requests":"http://gitlab.example.com/api/v4/projects/22/merge_requests","repo_branches":"http://gitlab.example.com/api/v4/projects/22/repository/branches","labels":"http://gitlab.example.com/api/v4/projects/22/labels","events":"http://gitlab.example.com/api/v4/projects/22/events","members":"http://gitlab.example.com/api/v4/projects/22/members"},"archived":false,"visibility":"private","resolve_outdated_diff_discussions":false,"container_registry_enabled":true,"issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"jobs_enabled":true,"snippets_enabled":true,"issues_access_level":"enabled","repository_access_level":"enabled","merge_requests_access_level":"enabled","wiki_access_level":"enabled","builds_access_level":"enabled","snippets_access_level":"enabled","shared_runners_enabled":true,"lfs_enabled":true,"creator_id":1,"import_status":"none","import_error":null,"open_issues_count":0,"runners_token":"99HKtwTnboxeRNBs5ftu","public_jobs":true,"build_git_strategy":"fetch","build_timeout":3600,"auto_cancel_pending_pipelines":"enabled","build_coverage_regex":null,"ci_config_path":null,"shared_with_groups":[],"only_allow_merge_if_pipeline_succeeds":false,"request_access_enabled":false,"only_allow_merge_if_all_discussions_are_resolved":false,"printing_merge_request_link_enabled":true,"merge_method":"merge","external_authorization_classification_label":null,"auto_devops_enabled":true,"auto_devops_deploy_strategy":"continuous","permissions":{"project_access":null,"group_access":{"access_level":50,"notification_level":3}}}'
headers:
Cache-Control:
- max-age=0, private, must-revalidate
Connection:
- keep-alive
Content-Length:
- '2362'
Content-Type:
- application/json
Date:
- Thu, 20 Jun 2019 09:07:04 GMT
Etag:
- W/"4d0e437fd6ea8219597dfbd7487277ae"
Referrer-Policy:
- strict-origin-when-cross-origin
Server:
- nginx
Strict-Transport-Security:
- max-age=31536000
Vary:
- Origin
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-Request-Id:
- aBEdVxWiCN3
X-Runtime:
- '0.317522'
status:
code: 200
message: OK
- request:
body: '{}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '2'
Content-type:
- application/json
PRIVATE-TOKEN:
- DKkdC5JmKWWZgXZGzg83
User-Agent:
- python-requests/2.22.0
method: POST
uri: http://localhost/api/v4/projects/22/archive
response:
body:
string: '{"id":22,"description":"","name":"archived","name_with_namespace":"test
/ archived","path":"archived","path_with_namespace":"test/archived","created_at":"2019-06-20T08:33:14.577Z","default_branch":null,"tag_list":[],"ssh_url_to_repo":"git@gitlab.example.com:test/archived.git","http_url_to_repo":"http://gitlab.example.com/test/archived.git","web_url":"http://gitlab.example.com/test/archived","readme_url":null,"avatar_url":null,"star_count":0,"forks_count":0,"last_activity_at":"2019-06-20T08:33:14.577Z","namespace":{"id":3,"name":"test","path":"test","kind":"group","full_path":"test","parent_id":null,"avatar_url":null,"web_url":"http://gitlab.example.com/groups/test"},"_links":{"self":"http://gitlab.example.com/api/v4/projects/22","issues":"http://gitlab.example.com/api/v4/projects/22/issues","merge_requests":"http://gitlab.example.com/api/v4/projects/22/merge_requests","repo_branches":"http://gitlab.example.com/api/v4/projects/22/repository/branches","labels":"http://gitlab.example.com/api/v4/projects/22/labels","events":"http://gitlab.example.com/api/v4/projects/22/events","members":"http://gitlab.example.com/api/v4/projects/22/members"},"archived":true,"visibility":"private","resolve_outdated_diff_discussions":false,"container_registry_enabled":true,"issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"jobs_enabled":true,"snippets_enabled":true,"issues_access_level":"enabled","repository_access_level":"enabled","merge_requests_access_level":"enabled","wiki_access_level":"enabled","builds_access_level":"enabled","snippets_access_level":"enabled","shared_runners_enabled":true,"lfs_enabled":true,"creator_id":1,"import_status":"none","open_issues_count":0,"public_jobs":true,"build_timeout":3600,"auto_cancel_pending_pipelines":"enabled","build_coverage_regex":null,"ci_config_path":null,"shared_with_groups":[],"only_allow_merge_if_pipeline_succeeds":false,"request_access_enabled":false,"only_allow_merge_if_all_discussions_are_resolved":false,"printing_merge_request_link_enabled":true,"merge_method":"merge","external_authorization_classification_label":null,"auto_devops_enabled":true,"auto_devops_deploy_strategy":"continuous"}'
headers:
Cache-Control:
- max-age=0, private, must-revalidate
Connection:
- keep-alive
Content-Length:
- '2177'
Content-Type:
- application/json
Date:
- Thu, 20 Jun 2019 09:07:04 GMT
Etag:
- W/"b88a697e6146c343f777dc4b57dbf6c4"
Referrer-Policy:
- strict-origin-when-cross-origin
Server:
- nginx
Strict-Transport-Security:
- max-age=31536000
Vary:
- Origin
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-Request-Id:
- KeTdo4VGEn5
X-Runtime:
- '0.547568'
status:
code: 201
message: Created
version: 1
|