--- http_interactions: - request: method: get uri: https://api.contentful.com/spaces/286arvy86ry9 body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContentfulManagementGem/0.5.0 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '0' Host: - api.contentful.com response: status: code: 200 message: OK headers: Accept-Ranges: - bytes Access-Control-Allow-Headers: - 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 Access-Control-Allow-Methods: - DELETE,GET,HEAD,POST,PUT,OPTIONS Access-Control-Allow-Origin: - "*" Access-Control-Expose-Headers: - Etag Access-Control-Max-Age: - '1728000' Cache-Control: - max-age=0 Content-Type: - application/vnd.contentful.management.v1+json Date: - Thu, 18 Dec 2014 12:21:23 GMT Etag: - '"91d2291b87bce2aa62bc5aeadb61793a"' Server: - nginx Status: - 200 OK X-Contentful-Request-Id: - f1c-653450314 Content-Length: - '453' Connection: - keep-alive body: encoding: UTF-8 string: | { "sys":{ "type":"Space", "id":"286arvy86ry9", "version":1, "createdBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "createdAt":"2014-12-15T08:12:42Z", "updatedBy":{ "sys":{ "type":"Link", "linkType":"User", "id":"1E7acJL8I5XUXAMHQt9Grs" } }, "updatedAt":"2014-12-15T08:12:42Z" }, "name":"TestingRspec"} http_version: recorded_at: Thu, 18 Dec 2014 12:21:23 GMT - request: method: get uri: https://api.contentful.com/spaces/286arvy86ry9/environments/master/content_types body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContentfulManagementGem/0.5.0 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '0' Host: - api.contentful.com response: status: code: 200 message: OK headers: Access-Control-Allow-Headers: - 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 Access-Control-Allow-Methods: - DELETE,GET,HEAD,POST,PUT,OPTIONS Access-Control-Allow-Origin: - "*" Access-Control-Expose-Headers: - Etag Access-Control-Max-Age: - '1728000' Cf-Space-Id: - 286arvy86ry9 Content-Type: - application/vnd.contentful.management.v1+json Date: - Thu, 18 Dec 2014 12:21:23 GMT Etag: - '"0042a1083a298261f6f010e5e28a8f1f"' Server: - nginx X-Powered-By: - Express Content-Length: - '4644' Connection: - keep-alive body: encoding: UTF-8 string: | { "sys": { "type": "Array" }, "total": 3, "skip": 0, "limit": 100, "items": [ { "fields": [ { "name": "text", "id": "text", "type": "Text" }, { "name": "number2", "id": "number2", "type": "Integer" }, { "name": "entry2", "id": "entry2", "type": "Link", "linkType": "Entry" } ], "name": "Test2", "sys": { "id": "4dsDWisVl6WAAYuk60E4QC", "type": "ContentType", "createdAt": "2014-12-15T08:13:47.342Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "286arvy86ry9" } }, "firstPublishedAt": "2014-12-15T08:14:20.807Z", "publishedCounter": 1, "publishedAt": "2014-12-15T08:14:20.807Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 39, "version": 40, "updatedAt": "2014-12-15T08:14:20.852Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } }, "description": "test", "displayField": "text" }, { "fields": [ { "name": "name", "id": "name", "type": "Text" }, { "name": "number", "id": "number", "type": "Integer" }, { "name": "entry", "id": "entry", "type": "Link", "linkType": "Entry", "validations": [ { "linkContentType": [ "4dsDWisVl6WAAYuk60E4QC" ] } ] } ], "name": "Test1", "sys": { "id": "5lIEiXrCIoKoIKaSW2C8aa", "type": "ContentType", "createdAt": "2014-12-15T08:13:15.767Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "286arvy86ry9" } }, "firstPublishedAt": "2014-12-15T08:13:43.070Z", "publishedCounter": 2, "publishedAt": "2014-12-18T12:02:02.366Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 30, "version": 31, "updatedAt": "2014-12-18T12:02:02.409Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } }, "description": "test1", "displayField": "name" }, { "fields": [ { "name": "name", "id": "name", "type": "Text", "validations": [ { "size": { "min": 1, "max": 2 } } ] } ], "name": "Test3", "sys": { "id": "2PqKsSmwKASkM6sWiqMuqi", "type": "ContentType", "createdAt": "2014-12-18T12:01:49.830Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "286arvy86ry9" } }, "firstPublishedAt": "2014-12-18T12:01:59.077Z", "publishedCounter": 2, "publishedAt": "2014-12-18T12:16:31.529Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 14, "version": 15, "updatedAt": "2014-12-18T12:16:31.576Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } }, "displayField": "name" } ] } http_version: recorded_at: Thu, 18 Dec 2014 12:21:23 GMT - request: method: get uri: https://api.contentful.com/spaces/286arvy86ry9/environments/master/entries/1YNepnMpXGiMWikaKC4GG0 body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContentfulManagementGem/0.5.0 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '0' Host: - api.contentful.com response: status: code: 200 message: OK headers: Access-Control-Allow-Headers: - 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 Access-Control-Allow-Methods: - DELETE,GET,HEAD,POST,PUT,OPTIONS Access-Control-Allow-Origin: - "*" Access-Control-Expose-Headers: - Etag Access-Control-Max-Age: - '1728000' Cf-Space-Id: - 286arvy86ry9 Content-Type: - application/vnd.contentful.management.v1+json Date: - Thu, 18 Dec 2014 12:21:24 GMT Etag: - '"9458b849a96cdf2ff9d50bffce2300ee"' Server: - nginx X-Powered-By: - Express Content-Length: - '1105' Connection: - keep-alive body: encoding: UTF-8 string: | { "sys": { "id": "1YNepnMpXGiMWikaKC4GG0", "type": "Entry", "createdAt": "2014-12-18T12:02:39.207Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "286arvy86ry9" } }, "contentType": { "sys": { "type": "Link", "linkType": "ContentType", "id": "2PqKsSmwKASkM6sWiqMuqi" } }, "firstPublishedAt": "2014-12-18T12:02:49.757Z", "publishedCounter": 1, "publishedAt": "2014-12-18T12:02:49.757Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 18, "version": 19, "updatedAt": "2014-12-18T12:02:49.806Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } }, "fields": { "name": { "en-US": "Entry Test 3" } } } http_version: recorded_at: Thu, 18 Dec 2014 12:21:24 GMT - request: method: get uri: https://api.contentful.com/spaces/286arvy86ry9/environments/master/content_types/5lIEiXrCIoKoIKaSW2C8aa body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContentfulManagementGem/0.5.0 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '0' Host: - api.contentful.com response: status: code: 200 message: OK headers: Access-Control-Allow-Headers: - 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 Access-Control-Allow-Methods: - DELETE,GET,HEAD,POST,PUT,OPTIONS Access-Control-Allow-Origin: - "*" Access-Control-Expose-Headers: - Etag Access-Control-Max-Age: - '1728000' Cf-Space-Id: - 286arvy86ry9 Content-Type: - application/vnd.contentful.management.v1+json Date: - Thu, 18 Dec 2014 12:21:24 GMT Etag: - '"bf0d1213c4389c275fe7d30e0e84631a"' Server: - nginx X-Powered-By: - Express Content-Length: - '1378' Connection: - keep-alive body: encoding: UTF-8 string: | { "fields": [ { "name": "name", "id": "name", "type": "Text" }, { "name": "number", "id": "number", "type": "Integer" }, { "name": "entry", "id": "entry", "type": "Link", "linkType": "Entry", "validations": [ { "linkContentType": [ "4dsDWisVl6WAAYuk60E4QC" ] } ] } ], "name": "Test1", "sys": { "id": "5lIEiXrCIoKoIKaSW2C8aa", "type": "ContentType", "createdAt": "2014-12-15T08:13:15.767Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "286arvy86ry9" } }, "firstPublishedAt": "2014-12-15T08:13:43.070Z", "publishedCounter": 2, "publishedAt": "2014-12-18T12:02:02.366Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 30, "version": 31, "updatedAt": "2014-12-18T12:02:02.409Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } }, "description": "test1", "displayField": "name" } http_version: recorded_at: Thu, 18 Dec 2014 12:21:25 GMT - request: method: post uri: https://api.contentful.com/spaces/286arvy86ry9/environments/master/entries body: encoding: UTF-8 string: '{"fields":{"name":{"en-US":"Create test"},"entry":{"en-US":{"sys":{"type":"Link","linkType":"Entry","id":"1YNepnMpXGiMWikaKC4GG0"}}}}}' headers: User-Agent: - RubyContentfulManagementGem/0.5.0 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Content-Type: - 5lIEiXrCIoKoIKaSW2C8aa Host: - api.contentful.com response: status: code: 201 message: Created headers: Access-Control-Allow-Headers: - 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 Access-Control-Allow-Methods: - DELETE,GET,HEAD,POST,PUT,OPTIONS Access-Control-Allow-Origin: - "*" Access-Control-Expose-Headers: - Etag Access-Control-Max-Age: - '1728000' Cf-Space-Id: - 286arvy86ry9 Content-Type: - application/vnd.contentful.management.v1+json Date: - Thu, 18 Dec 2014 12:21:26 GMT Etag: - '"50fcfbbef32b283c8528932f23a158ec"' Server: - nginx X-Powered-By: - Express Content-Length: - '979' Connection: - keep-alive body: encoding: UTF-8 string: | { "fields": { "name": { "en-US": "Create test" }, "entry": { "en-US": { "sys": { "type": "Link", "linkType": "Entry", "id": "1YNepnMpXGiMWikaKC4GG0" } } } }, "sys": { "id": "7cMVEy1toAWaMKUYsSAmC4", "type": "Entry", "version": 1, "createdAt": "2014-12-18T12:21:26.306Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "286arvy86ry9" } }, "contentType": { "sys": { "type": "Link", "linkType": "ContentType", "id": "5lIEiXrCIoKoIKaSW2C8aa" } }, "updatedAt": "2014-12-18T12:21:26.306Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } } } http_version: recorded_at: Thu, 18 Dec 2014 12:21:26 GMT - request: method: put uri: https://api.contentful.com/spaces/286arvy86ry9/environments/master/entries/7cMVEy1toAWaMKUYsSAmC4/published body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContentfulManagementGem/0.5.0 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Version: - '1' Content-Length: - '0' Host: - api.contentful.com response: status: code: 429 message: Rate Limit Exceeded headers: Access-Control-Allow-Headers: - 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 Access-Control-Allow-Methods: - DELETE,GET,HEAD,POST,PUT,OPTIONS Access-Control-Allow-Origin: - "*" Access-Control-Expose-Headers: - Etag Access-Control-Max-Age: - '1728000' Content-Type: - application/vnd.contentful.management.v1+json Date: - Thu, 18 Dec 2014 12:21:27 GMT Server: - nginx X-Powered-By: - Express Content-Length: - '609' Connection: - keep-alive body: encoding: UTF-8 string: | { "sys": { "type": "Error", "id": "RateLimitExceeded" }, "message": "You have exceeded the rate limit of the Organization this Space belongs to by making too many API requests within a short timespan. Please wait a moment before trying the request again.", "details": { "errors": [ { "details": "You have exceeded the rate limit of the Organization this Space belongs to by making too many API requests within a short timespan. Please wait a moment before trying the request again." } ] } } http_version: recorded_at: Thu, 18 Dec 2014 12:21:27 GMT - request: method: put uri: https://api.contentful.com/spaces/286arvy86ry9/environments/master/entries/7cMVEy1toAWaMKUYsSAmC4/published body: encoding: US-ASCII string: '' headers: User-Agent: - RubyContenfulManagementGem/0.0.1 Authorization: - Bearer Content-Type: - application/vnd.contentful.management.v1+json X-Contentful-Version: - '30' Content-Length: - '0' Host: - api.contentful.com response: status: code: 200 message: OK headers: Server: - nginx Date: - Wed, 30 Jul 2014 12:49:32 GMT Content-Type: - application/vnd.contentful.management.v1+json Content-Length: - '1449' Connection: - keep-alive X-Powered-By: - Express Cf-Space-Id: - yr5m0jky5hsh Etag: - '"6cbe0348b4d246662423a4d2a905ede2"' Access-Control-Allow-Origin: - "*" Access-Control-Allow-Headers: - 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 Access-Control-Allow-Methods: - DELETE,GET,HEAD,POST,PUT,OPTIONS "^access-Control-Expose-Headers": - Etag Access-Control-Max-Age: - '1728000' body: encoding: UTF-8 string: | { "sys": { "id": "1YNepnMpXGiMWikaKC4GG0", "type": "Entry", "createdAt": "2014-12-18T12:02:39.207Z", "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "space": { "sys": { "type": "Link", "linkType": "Space", "id": "286arvy86ry9" } }, "contentType": { "sys": { "type": "Link", "linkType": "ContentType", "id": "2PqKsSmwKASkM6sWiqMuqi" } }, "firstPublishedAt": "2014-12-18T12:02:49.757Z", "publishedCounter": 1, "publishedAt": "2014-12-18T12:02:49.757Z", "publishedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } }, "publishedVersion": 18, "version": 19, "updatedAt": "2014-12-18T12:02:49.806Z", "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "1E7acJL8I5XUXAMHQt9Grs" } } }, "fields": { "name": { "en-US": "Entry Test 3" } } } http_version: recorded_at: Wed, 30 Jul 2014 12:49:32 GMT recorded_with: VCR 2.9.2