contentful-management 1.8.1 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/CHANGELOG.md +15 -0
  4. data/README.md +209 -41
  5. data/contentful-management.gemspec +1 -1
  6. data/lib/contentful/management/asset.rb +1 -1
  7. data/lib/contentful/management/client.rb +155 -31
  8. data/lib/contentful/management/client_organization_methods_factory.rb +23 -0
  9. data/lib/contentful/management/client_personal_access_tokens_methods_factory.rb +27 -0
  10. data/lib/contentful/management/client_snapshot_methods_factory.rb +16 -6
  11. data/lib/contentful/management/client_space_membership_methods_factory.rb +15 -0
  12. data/lib/contentful/management/client_ui_extension_methods_factory.rb +15 -0
  13. data/lib/contentful/management/client_user_methods_factory.rb +27 -0
  14. data/lib/contentful/management/client_webhook_call_methods_factory.rb +30 -0
  15. data/lib/contentful/management/client_webhook_health_methods_factory.rb +27 -0
  16. data/lib/contentful/management/content_type.rb +10 -0
  17. data/lib/contentful/management/content_type_snapshot_methods_factory.rb +35 -0
  18. data/lib/contentful/management/editor_interface.rb +1 -1
  19. data/lib/contentful/management/organization.rb +20 -0
  20. data/lib/contentful/management/personal_access_token.rb +45 -0
  21. data/lib/contentful/management/request.rb +0 -1
  22. data/lib/contentful/management/resource.rb +4 -2
  23. data/lib/contentful/management/resource_builder.rb +15 -0
  24. data/lib/contentful/management/snapshot.rb +31 -20
  25. data/lib/contentful/management/space.rb +32 -10
  26. data/lib/contentful/management/space_membership.rb +43 -0
  27. data/lib/contentful/management/space_space_membership_methods_factory.rb +15 -0
  28. data/lib/contentful/management/space_ui_extension_methods_factory.rb +15 -0
  29. data/lib/contentful/management/ui_extension.rb +106 -0
  30. data/lib/contentful/management/user.rb +28 -0
  31. data/lib/contentful/management/version.rb +1 -1
  32. data/lib/contentful/management/webhook.rb +20 -0
  33. data/lib/contentful/management/webhook_call.rb +77 -0
  34. data/lib/contentful/management/webhook_health.rb +79 -0
  35. data/lib/contentful/management/webhook_webhook_call_methods_factory.rb +30 -0
  36. data/lib/contentful/management/webhook_webhook_health_methods_factory.rb +28 -0
  37. data/spec/fixtures/vcr_cassettes/get_request.yml +34 -17
  38. data/spec/fixtures/vcr_cassettes/organization/all.yml +100 -0
  39. data/spec/fixtures/vcr_cassettes/personal_access_token/all.yml +101 -0
  40. data/spec/fixtures/vcr_cassettes/personal_access_token/create.yml +94 -0
  41. data/spec/fixtures/vcr_cassettes/personal_access_token/find.yml +91 -0
  42. data/spec/fixtures/vcr_cassettes/personal_access_token/find_not_found.yml +88 -0
  43. data/spec/fixtures/vcr_cassettes/personal_access_token/revoke.yml +179 -0
  44. data/spec/fixtures/vcr_cassettes/snapshot/ct_all.yml +207 -0
  45. data/spec/fixtures/vcr_cassettes/snapshot/ct_find.yml +198 -0
  46. data/spec/fixtures/vcr_cassettes/snapshot/ct_find_not_found.yml +94 -0
  47. data/spec/fixtures/vcr_cassettes/space/all_disabled_cache.yml +428 -0
  48. data/spec/fixtures/vcr_cassettes/space/disabled_cache.yml +120 -0
  49. data/spec/fixtures/vcr_cassettes/space_memberships/all.yml +190 -0
  50. data/spec/fixtures/vcr_cassettes/space_memberships/create.yml +143 -0
  51. data/spec/fixtures/vcr_cassettes/space_memberships/delete.yml +322 -0
  52. data/spec/fixtures/vcr_cassettes/space_memberships/find.yml +141 -0
  53. data/spec/fixtures/vcr_cassettes/ui_extension/all.yml +1020 -0
  54. data/spec/fixtures/vcr_cassettes/ui_extension/create.yml +133 -0
  55. data/spec/fixtures/vcr_cassettes/ui_extension/delete.yml +291 -0
  56. data/spec/fixtures/vcr_cassettes/ui_extension/find.yml +126 -0
  57. data/spec/fixtures/vcr_cassettes/user/find.yml +96 -0
  58. data/spec/fixtures/vcr_cassettes/webhook_call/all.yml +151 -0
  59. data/spec/fixtures/vcr_cassettes/webhook_call/find.yml +88 -0
  60. data/spec/fixtures/vcr_cassettes/webhook_call/find_not_found.yml +93 -0
  61. data/spec/fixtures/vcr_cassettes/webhook_health/find.yml +111 -0
  62. data/spec/lib/contentful/management/client_spec.rb +25 -26
  63. data/spec/lib/contentful/management/entry_spec.rb +48 -48
  64. data/spec/lib/contentful/management/organization_spec.rb +33 -0
  65. data/spec/lib/contentful/management/personal_access_token_spec.rb +85 -0
  66. data/spec/lib/contentful/management/snapshot_spec.rb +134 -47
  67. data/spec/lib/contentful/management/space_membership_spec.rb +147 -0
  68. data/spec/lib/contentful/management/space_spec.rb +35 -1
  69. data/spec/lib/contentful/management/ui_extension_spec.rb +276 -0
  70. data/spec/lib/contentful/management/user_spec.rb +52 -0
  71. data/spec/lib/contentful/management/webhook_calls_spec.rb +69 -0
  72. data/spec/lib/contentful/management/webhook_health_spec.rb +51 -0
  73. metadata +88 -8
  74. data/lib/contentful/management/http_client.rb +0 -89
@@ -0,0 +1,96 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com//users/me
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/1.8.1; platform ruby/2.4.1; os macOS/16;
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.contentful.com
20
+ User-Agent:
21
+ - http.rb/2.2.2
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Accept-Ranges:
28
+ - bytes
29
+ Access-Control-Allow-Headers:
30
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
31
+ Access-Control-Allow-Methods:
32
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
33
+ Access-Control-Allow-Origin:
34
+ - "*"
35
+ Access-Control-Expose-Headers:
36
+ - Etag
37
+ Access-Control-Max-Age:
38
+ - '1728000'
39
+ Cache-Control:
40
+ - max-age=0
41
+ Content-Type:
42
+ - application/vnd.contentful.management.v1+json
43
+ Date:
44
+ - Thu, 05 Oct 2017 21:48:07 GMT
45
+ Etag:
46
+ - W/"b77dab203d68f339bdd776884a425ba2"
47
+ Server:
48
+ - Contentful
49
+ Strict-Transport-Security:
50
+ - max-age=15768000
51
+ X-Content-Type-Options:
52
+ - nosniff
53
+ X-Contentful-Request-Id:
54
+ - 145f8fecdf422acdd764e19026040d22
55
+ X-Frame-Options:
56
+ - ALLOWALL
57
+ X-Xss-Protection:
58
+ - 1; mode=block
59
+ Content-Length:
60
+ - '392'
61
+ Connection:
62
+ - Close
63
+ Set-Cookie:
64
+ - incap_ses_222_673446=KvCIby2F70q+o74MRbQUA5ao1lkAAAAAws32dr4aJU/mBjyA+dg7JQ==;
65
+ path=/; Domain=.contentful.com
66
+ - nlbi_673446=khvkW6MViBHLNVIe6lKYhQAAAACWIbuD8pozEHYup2tMnALO; path=/; Domain=.contentful.com
67
+ - visid_incap_673446=xWJ6dSh0RuafLW3bxX98Kcin1lkAAAAAQUIPAAAAAACxLe9Bdph6CMi//qcHS+PJ;
68
+ expires=Fri, 05 Oct 2018 07:44:47 GMT; path=/; Domain=.contentful.com
69
+ X-Iinfo:
70
+ - 5-125243369-125243422 NNNN CT(26 26 0) RT(1507240086148 301) q(0 0 1 0) r(2
71
+ 2) U5
72
+ X-Cdn:
73
+ - Incapsula
74
+ body:
75
+ encoding: ASCII-8BIT
76
+ string: |+
77
+ {
78
+ "firstName":"David",
79
+ "lastName":"Test",
80
+ "avatarUrl":"https://avatars.githubusercontent.com/u/1032706?v=3",
81
+ "email":"david.test@testytest.com",
82
+ "activated":true,
83
+ "signInCount":26,
84
+ "confirmed":true,
85
+ "sys":{
86
+ "type":"User",
87
+ "id":"some_user_id",
88
+ "version":38,
89
+ "createdAt":"2015-09-17T23:13:27Z",
90
+ "updatedAt":"2017-09-18T16:36:57Z"
91
+ }
92
+ }
93
+
94
+ http_version:
95
+ recorded_at: Thu, 05 Oct 2017 21:48:07 GMT
96
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,151 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/orzkxlxlq59d/webhooks/16ypL3XjNK6oreLPPoVBxI/calls
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/1.8.1; platform ruby/2.4.1; os macOS/16;
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.contentful.com
20
+ User-Agent:
21
+ - http.rb/2.2.2
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Accept-Ranges:
28
+ - bytes
29
+ Access-Control-Allow-Headers:
30
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
31
+ Access-Control-Allow-Methods:
32
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
33
+ Access-Control-Allow-Origin:
34
+ - "*"
35
+ Access-Control-Expose-Headers:
36
+ - Etag
37
+ Access-Control-Max-Age:
38
+ - '1728000'
39
+ Cache-Control:
40
+ - no-cache
41
+ Cf-Space-Id:
42
+ - orzkxlxlq59d
43
+ Content-Type:
44
+ - application/vnd.contentful.management.v1+json
45
+ Date:
46
+ - Thu, 21 Sep 2017 18:46:56 GMT
47
+ Server:
48
+ - Contentful
49
+ Strict-Transport-Security:
50
+ - max-age=15768000
51
+ Vary:
52
+ - accept-encoding
53
+ X-Content-Type-Options:
54
+ - nosniff
55
+ X-Contentful-Ratelimit-Hour-Limit:
56
+ - '36000'
57
+ X-Contentful-Ratelimit-Hour-Remaining:
58
+ - '35975'
59
+ X-Contentful-Ratelimit-Reset:
60
+ - '0'
61
+ X-Contentful-Ratelimit-Second-Limit:
62
+ - '10'
63
+ X-Contentful-Ratelimit-Second-Remaining:
64
+ - '9'
65
+ X-Contentful-Request-Id:
66
+ - 26a077964bde56562aa1ad5af6cf10f2
67
+ Content-Length:
68
+ - '1725'
69
+ Connection:
70
+ - Close
71
+ Set-Cookie:
72
+ - incap_ses_222_673446=wv23LaokPi051xq1QrQUAx8JxFkAAAAAIZiYRkvcxAHIkWF13Al0Tg==;
73
+ path=/; Domain=.contentful.com
74
+ - nlbi_673446=iusQX+MNWR7I6szh6lKYhQAAAAAb9nBZUX8ZCp+kELx4liZZ; path=/; Domain=.contentful.com
75
+ - visid_incap_673446=oN0jwN5qRhSbEYze5c8csh8JxFkAAAAAQUIPAAAAAAAfLgSk+7eyCkLGWkbSiw+Z;
76
+ expires=Fri, 21 Sep 2018 11:21:53 GMT; path=/; Domain=.contentful.com
77
+ X-Iinfo:
78
+ - 5-95491926-95491983 NNNN CT(27 27 0) RT(1506019610793 344) q(0 0 0 -1) r(42
79
+ 42) U5
80
+ X-Cdn:
81
+ - Incapsula
82
+ body:
83
+ encoding: ASCII-8BIT
84
+ string: |-
85
+ {
86
+ "sys": {
87
+ "type": "Array"
88
+ },
89
+ "items": [
90
+ {
91
+ "sys": {
92
+ "id": "6r2EQ0iVBmYyyq0UMWKoge",
93
+ "type": "WebhookCallOverview",
94
+ "space": {
95
+ "sys": {
96
+ "type": "Link",
97
+ "linkType": "Space",
98
+ "id": "orzkxlxlq59d"
99
+ }
100
+ },
101
+ "createdBy": {
102
+ "sys": {
103
+ "type": "Link",
104
+ "linkType": "WebhookDefinition",
105
+ "id": "16ypL3XjNK6oreLPPoVBxI"
106
+ }
107
+ },
108
+ "createdAt": "2017-09-15T14:35:28.576Z"
109
+ },
110
+ "statusCode": 201,
111
+ "responseAt": "2017-09-15T14:35:28.755Z",
112
+ "errors": [],
113
+ "eventType": "publish",
114
+ "url": "https://circleci.com/api/v1/project/virgendeloreto/blog_source/tree/master?circle-token=foobar",
115
+ "requestAt": "2017-09-15T14:35:28.576Z"
116
+ },
117
+ {
118
+ "sys": {
119
+ "id": "6OZHbXOABU8uOyEuGmMwSW",
120
+ "type": "WebhookCallOverview",
121
+ "space": {
122
+ "sys": {
123
+ "type": "Link",
124
+ "linkType": "Space",
125
+ "id": "orzkxlxlq59d"
126
+ }
127
+ },
128
+ "createdBy": {
129
+ "sys": {
130
+ "type": "Link",
131
+ "linkType": "WebhookDefinition",
132
+ "id": "16ypL3XjNK6oreLPPoVBxI"
133
+ }
134
+ },
135
+ "createdAt": "2017-09-15T14:35:24.795Z"
136
+ },
137
+ "statusCode": 201,
138
+ "responseAt": "2017-09-15T14:35:25.233Z",
139
+ "errors": [],
140
+ "eventType": "publish",
141
+ "url": "https://circleci.com/api/v1/project/virgendeloreto/blog_source/tree/master?circle-token=20e4b04a4c4cd549f34e025a223e898c71a9ab13",
142
+ "requestAt": "2017-09-15T14:35:24.795Z"
143
+ }
144
+ ],
145
+ "skip": 0,
146
+ "limit": 20,
147
+ "total": 2
148
+ }
149
+ http_version:
150
+ recorded_at: Thu, 21 Sep 2017 18:46:56 GMT
151
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,88 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/orzkxlxlq59d/webhooks/16ypL3XjNK6oreLPPoVBxI/calls/6r2EQ0iVBmYyyq0UMWKoge
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/1.8.1; platform ruby/2.4.1; os macOS/16;
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.contentful.com
20
+ User-Agent:
21
+ - http.rb/2.2.2
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Accept-Ranges:
28
+ - bytes
29
+ Access-Control-Allow-Headers:
30
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
31
+ Access-Control-Allow-Methods:
32
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
33
+ Access-Control-Allow-Origin:
34
+ - "*"
35
+ Access-Control-Expose-Headers:
36
+ - Etag
37
+ Access-Control-Max-Age:
38
+ - '1728000'
39
+ Cache-Control:
40
+ - no-cache
41
+ Cf-Space-Id:
42
+ - orzkxlxlq59d
43
+ Content-Type:
44
+ - application/vnd.contentful.management.v1+json
45
+ Date:
46
+ - Thu, 21 Sep 2017 18:49:27 GMT
47
+ Server:
48
+ - Contentful
49
+ Strict-Transport-Security:
50
+ - max-age=15768000
51
+ Vary:
52
+ - accept-encoding
53
+ X-Content-Type-Options:
54
+ - nosniff
55
+ X-Contentful-Ratelimit-Hour-Limit:
56
+ - '36000'
57
+ X-Contentful-Ratelimit-Hour-Remaining:
58
+ - '35974'
59
+ X-Contentful-Ratelimit-Reset:
60
+ - '0'
61
+ X-Contentful-Ratelimit-Second-Limit:
62
+ - '10'
63
+ X-Contentful-Ratelimit-Second-Remaining:
64
+ - '9'
65
+ X-Contentful-Request-Id:
66
+ - 7ecdd98065c23db2f9a2dff3832c4737
67
+ Content-Length:
68
+ - '8761'
69
+ Connection:
70
+ - Close
71
+ Set-Cookie:
72
+ - incap_ses_222_673446=hYModKRAHHeE8xu1QrQUA7YJxFkAAAAAvMRQprgdyYzywgXTT49gEQ==;
73
+ path=/; Domain=.contentful.com
74
+ - nlbi_673446=kgiBfbUbnUwvNK9z6lKYhQAAAAAvSIueHItQvVLDoIY3hSyU; path=/; Domain=.contentful.com
75
+ - visid_incap_673446=CBQtzrIARiaaYvqcdn5cYbYJxFkAAAAAQUIPAAAAAABfarYlDYqx3ykDEMkqLHwT;
76
+ expires=Fri, 21 Sep 2018 11:21:53 GMT; path=/; Domain=.contentful.com
77
+ X-Iinfo:
78
+ - 5-95523251-95523302 NNNN CT(27 33 0) RT(1506019762447 308) q(0 0 1 -1) r(37
79
+ 37) U5
80
+ X-Cdn:
81
+ - Incapsula
82
+ body:
83
+ encoding: ASCII-8BIT
84
+ string: !binary |-
85
+ ewogICJzeXMiOiB7CiAgICAiaWQiOiAiNnIyRVEwaVZCbVl5eXEwVU1XS29nZSIsCiAgICAidHlwZSI6ICJXZWJob29rQ2FsbERldGFpbHMiLAogICAgInNwYWNlIjogewogICAgICAic3lzIjogewogICAgICAgICJ0eXBlIjogIkxpbmsiLAogICAgICAgICJsaW5rVHlwZSI6ICJTcGFjZSIsCiAgICAgICAgImlkIjogIm9yemt4bHhscTU5ZCIKICAgICAgfQogICAgfSwKICAgICJjcmVhdGVkQnkiOiB7CiAgICAgICJzeXMiOiB7CiAgICAgICAgInR5cGUiOiAiTGluayIsCiAgICAgICAgImxpbmtUeXBlIjogIldlYmhvb2tEZWZpbml0aW9uIiwKICAgICAgICAiaWQiOiAiMTZ5cEwzWGpOSzZvcmVMUFBvVkJ4SSIKICAgICAgfQogICAgfSwKICAgICJjcmVhdGVkQXQiOiAiMjAxNy0wOS0xNVQxNDozNToyOC41NzZaIgogIH0sCiAg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ICAgICAgImNvbnRlbnQtbGVuZ3RoIjogIjIyMTUiLAogICAgICAiY29ubmVjdGlvbiI6ICJDbG9zZSIKICAgIH0sCiAgICAic3RhdHVzQ29kZSI6IDIwMQogIH0sCiAgInN0YXR1c0NvZGUiOiAyMDEsCiAgInJlc3BvbnNlQXQiOiAiMjAxNy0wOS0xNVQxNDozNToyOC43NTVaIiwKICAiZXJyb3JzIjogW10sCiAgImV2ZW50VHlwZSI6ICJwdWJsaXNoIiwKICAidXJsIjogImh0dHBzOi8vY2lyY2xlY2kuY29tL2FwaS92MS9wcm9qZWN0L3ZpcmdlbmRlbG9yZXRvL2Jsb2dfc291cmNlL3RyZWUvbWFzdGVyP2NpcmNsZS10b2tlbj0yMGU0YjA0YTRjNGNkNTQ5ZjM0ZTAyNWEyMjNlODk4YzcxYTlhYjEzIiwKICAicmVxdWVzdEF0IjogIjIwMTctMDktMTVUMTQ6MzU6MjguNTc2WiIKfQ==
86
+ http_version:
87
+ recorded_at: Thu, 21 Sep 2017 18:49:27 GMT
88
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,93 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/orzkxlxlq59d/webhooks/16ypL3XjNK6oreLPPoVBxI/calls/not_exist
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/1.8.1; platform ruby/2.4.1; os macOS/16;
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.contentful.com
20
+ User-Agent:
21
+ - http.rb/2.2.2
22
+ response:
23
+ status:
24
+ code: 404
25
+ message: Not Found
26
+ headers:
27
+ Access-Control-Allow-Headers:
28
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
29
+ Access-Control-Allow-Methods:
30
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
31
+ Access-Control-Allow-Origin:
32
+ - "*"
33
+ Access-Control-Expose-Headers:
34
+ - Etag
35
+ Access-Control-Max-Age:
36
+ - '1728000'
37
+ Cache-Control:
38
+ - no-cache
39
+ Cf-Space-Id:
40
+ - orzkxlxlq59d
41
+ Content-Type:
42
+ - application/vnd.contentful.management.v1+json
43
+ Date:
44
+ - Thu, 21 Sep 2017 18:49:31 GMT
45
+ Server:
46
+ - Contentful
47
+ Strict-Transport-Security:
48
+ - max-age=15768000
49
+ Vary:
50
+ - accept-encoding
51
+ X-Content-Type-Options:
52
+ - nosniff
53
+ X-Contentful-Ratelimit-Hour-Limit:
54
+ - '36000'
55
+ X-Contentful-Ratelimit-Hour-Remaining:
56
+ - '35973'
57
+ X-Contentful-Ratelimit-Reset:
58
+ - '0'
59
+ X-Contentful-Ratelimit-Second-Limit:
60
+ - '10'
61
+ X-Contentful-Ratelimit-Second-Remaining:
62
+ - '9'
63
+ X-Contentful-Request-Id:
64
+ - 3b7c831009d996b0d9a0500145e2d35b
65
+ Content-Length:
66
+ - '158'
67
+ Connection:
68
+ - Close
69
+ Set-Cookie:
70
+ - incap_ses_222_673446=BAXWbjMCy03K/Bu1QrQUA7sJxFkAAAAAntTGuGlQsbvVyfUCClh7Hw==;
71
+ path=/; Domain=.contentful.com
72
+ - nlbi_673446=L9sCRzFfx2PyNmPa6lKYhQAAAAANoZQ/PJHhI3wYpEngDFfk; path=/; Domain=.contentful.com
73
+ - visid_incap_673446=jbhMMdGUTjqPliybRyi9s7sJxFkAAAAAQUIPAAAAAACHX7fVHmqNl8yOYx3vplq7;
74
+ expires=Fri, 21 Sep 2018 11:21:53 GMT; path=/; Domain=.contentful.com
75
+ X-Iinfo:
76
+ - 8-125693722-125693839 NNNN CT(29 28 0) RT(1506019766844 323) q(0 0 1 -1) r(41
77
+ 41) U5
78
+ X-Cdn:
79
+ - Incapsula
80
+ body:
81
+ encoding: ASCII-8BIT
82
+ string: |-
83
+ {
84
+ "sys": {
85
+ "type": "Error",
86
+ "id": "NotFound"
87
+ },
88
+ "message": "The resource could not be found.",
89
+ "details": "The resource could not be found."
90
+ }
91
+ http_version:
92
+ recorded_at: Thu, 21 Sep 2017 18:49:32 GMT
93
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,111 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/orzkxlxlq59d/webhooks/16ypL3XjNK6oreLPPoVBxI/health
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/1.8.1; platform ruby/2.4.1; os macOS/16;
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.contentful.com
20
+ User-Agent:
21
+ - http.rb/2.2.2
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Accept-Ranges:
28
+ - bytes
29
+ Access-Control-Allow-Headers:
30
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-User-Agent,X-Contentful-Enable-Experimental-Feature
31
+ Access-Control-Allow-Methods:
32
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
33
+ Access-Control-Allow-Origin:
34
+ - "*"
35
+ Access-Control-Expose-Headers:
36
+ - Etag
37
+ Access-Control-Max-Age:
38
+ - '1728000'
39
+ Cache-Control:
40
+ - no-cache
41
+ Cf-Space-Id:
42
+ - orzkxlxlq59d
43
+ Content-Type:
44
+ - application/vnd.contentful.management.v1+json
45
+ Date:
46
+ - Tue, 26 Sep 2017 22:47:35 GMT
47
+ Server:
48
+ - Contentful
49
+ Strict-Transport-Security:
50
+ - max-age=15768000
51
+ Vary:
52
+ - accept-encoding
53
+ X-Content-Type-Options:
54
+ - nosniff
55
+ X-Contentful-Ratelimit-Hour-Limit:
56
+ - '36000'
57
+ X-Contentful-Ratelimit-Hour-Remaining:
58
+ - '35999'
59
+ X-Contentful-Ratelimit-Reset:
60
+ - '0'
61
+ X-Contentful-Ratelimit-Second-Limit:
62
+ - '10'
63
+ X-Contentful-Ratelimit-Second-Remaining:
64
+ - '9'
65
+ X-Contentful-Request-Id:
66
+ - 77866d951c84220392c5b35ca6a395a7
67
+ Content-Length:
68
+ - '407'
69
+ Connection:
70
+ - Close
71
+ Set-Cookie:
72
+ - incap_ses_788_673446=JHfaQgwIH20+Fskz2onvCgfZylkAAAAAmMXVsHuoFs442vy8AhABNA==;
73
+ path=/; Domain=.contentful.com
74
+ - nlbi_673446=CM29R3DPT0IA3L7v6lKYhQAAAADEz8epntzqBrVO+ztbW93p; path=/; Domain=.contentful.com
75
+ - visid_incap_673446=DcgO6cn8QoGuDYTelwSZ7gDZylkAAAAAQUIPAAAAAABT4T+k/eP2eoMjpEPIfo0v;
76
+ expires=Wed, 26 Sep 2018 14:31:18 GMT; path=/; Domain=.contentful.com
77
+ X-Iinfo:
78
+ - 14-93413063-93413107 NNNN CT(135 275 0) RT(1506466048542 361) q(0 0 4 0) r(63
79
+ 63) U5
80
+ X-Cdn:
81
+ - Incapsula
82
+ body:
83
+ encoding: ASCII-8BIT
84
+ string: |-
85
+ {
86
+ "sys": {
87
+ "id": "16ypL3XjNK6oreLPPoVBxI",
88
+ "type": "Webhook",
89
+ "space": {
90
+ "sys": {
91
+ "type": "Link",
92
+ "linkType": "Space",
93
+ "id": "orzkxlxlq59d"
94
+ }
95
+ },
96
+ "createdBy": {
97
+ "sys": {
98
+ "type": "Link",
99
+ "linkType": "WebhookDefinition",
100
+ "id": "16ypL3XjNK6oreLPPoVBxI"
101
+ }
102
+ }
103
+ },
104
+ "calls": {
105
+ "total": 2,
106
+ "healthy": 2
107
+ }
108
+ }
109
+ http_version:
110
+ recorded_at: Tue, 26 Sep 2017 22:47:35 GMT
111
+ recorded_with: VCR 3.0.3