contentful-management 2.8.0 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +4 -0
 - data/lib/contentful/management/api_key.rb +13 -0
 - data/lib/contentful/management/asset.rb +3 -3
 - data/lib/contentful/management/editor_interface.rb +5 -1
 - data/lib/contentful/management/environment.rb +8 -0
 - data/lib/contentful/management/locale.rb +8 -1
 - data/lib/contentful/management/resource/refresher.rb +2 -1
 - data/lib/contentful/management/role.rb +8 -1
 - data/lib/contentful/management/space.rb +6 -0
 - data/lib/contentful/management/version.rb +1 -1
 - data/lib/contentful/management/webhook.rb +12 -1
 - data/spec/fixtures/vcr_cassettes/api_key/issue_189.yml +476 -0
 - data/spec/fixtures/vcr_cassettes/environment/issue_189.yml +418 -0
 - data/spec/fixtures/vcr_cassettes/locale/issue_189.yml +438 -0
 - data/spec/fixtures/vcr_cassettes/roles/issue_189.yml +689 -0
 - data/spec/fixtures/vcr_cassettes/space/issue_189.yml +376 -0
 - data/spec/fixtures/vcr_cassettes/webhook/issue_189.yml +448 -0
 - data/spec/lib/contentful/management/api_key_spec.rb +18 -2
 - data/spec/lib/contentful/management/environment_spec.rb +17 -0
 - data/spec/lib/contentful/management/locale_spec.rb +16 -1
 - data/spec/lib/contentful/management/role_spec.rb +20 -1
 - data/spec/lib/contentful/management/space_spec.rb +19 -0
 - data/spec/lib/contentful/management/webhook_spec.rb +19 -0
 - metadata +14 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: ec67eaa1e9c178f37793c4f3d1a0545045f7c5469c6fe98a9e96643327dd13b9
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 380d6fe7b7e841bfaea85c1a7ab0c5823265f0fea3a796e9a9865edee2a6672c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 5d2f055d5981b37a7c8012cf7438143c320f11a2d1aa284f128a52458b4a7005b450649d51d0663610221937fb9e33b6e19ac236a1a9b03a263ab41b37c92b4a
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 3dfff654f229f11794922fa214271a74df7d47d3e8e6a3ca4d7ae302f630daa5884a1d5b3b810006a49f7d817088ba86ba2187a769d592a25b6be395e682e1f1
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| 
         @@ -59,6 +59,19 @@ module Contentful 
     | 
|
| 
       59 
59 
     | 
    
         
             
                  def preview_api_key
         
     | 
| 
       60 
60 
     | 
    
         
             
                    client.preview_api_keys(space.id).find(properties[:preview_api_key].id)
         
     | 
| 
       61 
61 
     | 
    
         
             
                  end
         
     | 
| 
      
 62 
     | 
    
         
            +
             
     | 
| 
      
 63 
     | 
    
         
            +
                  protected
         
     | 
| 
      
 64 
     | 
    
         
            +
             
     | 
| 
      
 65 
     | 
    
         
            +
                  def query_attributes(attributes)
         
     | 
| 
      
 66 
     | 
    
         
            +
                    self.class.create_attributes(
         
     | 
| 
      
 67 
     | 
    
         
            +
                      nil,
         
     | 
| 
      
 68 
     | 
    
         
            +
                      {
         
     | 
| 
      
 69 
     | 
    
         
            +
                        name: name,
         
     | 
| 
      
 70 
     | 
    
         
            +
                        description: description,
         
     | 
| 
      
 71 
     | 
    
         
            +
                        environments: environments
         
     | 
| 
      
 72 
     | 
    
         
            +
                      }.merge(attributes)
         
     | 
| 
      
 73 
     | 
    
         
            +
                    )
         
     | 
| 
      
 74 
     | 
    
         
            +
                  end
         
     | 
| 
       62 
75 
     | 
    
         
             
                end
         
     | 
| 
       63 
76 
     | 
    
         
             
              end
         
     | 
| 
       64 
77 
     | 
    
         
             
            end
         
     | 
| 
         @@ -116,9 +116,9 @@ module Contentful 
     | 
|
| 
       116 
116 
     | 
    
         
             
                  end
         
     | 
| 
       117 
117 
     | 
    
         | 
| 
       118 
118 
     | 
    
         
             
                  def query_attributes(attributes)
         
     | 
| 
       119 
     | 
    
         
            -
                    self.title = attributes[:title]  
     | 
| 
       120 
     | 
    
         
            -
                    self.description = attributes[:description]  
     | 
| 
       121 
     | 
    
         
            -
                    self.file = attributes[:file]  
     | 
| 
      
 119 
     | 
    
         
            +
                    self.title = attributes[:title] || title
         
     | 
| 
      
 120 
     | 
    
         
            +
                    self.description = attributes[:description] || description
         
     | 
| 
      
 121 
     | 
    
         
            +
                    self.file = attributes[:file] || file
         
     | 
| 
       122 
122 
     | 
    
         | 
| 
       123 
123 
     | 
    
         
             
                    { fields: fields_for_query }
         
     | 
| 
       124 
124 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -85,7 +85,11 @@ module Contentful 
     | 
|
| 
       85 
85 
     | 
    
         
             
                  end
         
     | 
| 
       86 
86 
     | 
    
         | 
| 
       87 
87 
     | 
    
         
             
                  def query_attributes(attributes)
         
     | 
| 
       88 
     | 
    
         
            -
                     
     | 
| 
      
 88 
     | 
    
         
            +
                    {
         
     | 
| 
      
 89 
     | 
    
         
            +
                      controls: controls
         
     | 
| 
      
 90 
     | 
    
         
            +
                    }.merge(
         
     | 
| 
      
 91 
     | 
    
         
            +
                      attributes.each_with_object({}) { |(k, v), result| result[k.to_sym] = v }
         
     | 
| 
      
 92 
     | 
    
         
            +
                    )
         
     | 
| 
       89 
93 
     | 
    
         
             
                  end
         
     | 
| 
       90 
94 
     | 
    
         
             
                end
         
     | 
| 
       91 
95 
     | 
    
         
             
              end
         
     | 
| 
         @@ -32,7 +32,14 @@ module Contentful 
     | 
|
| 
       32 
32 
     | 
    
         
             
                  protected
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
       34 
34 
     | 
    
         
             
                  def query_attributes(attributes)
         
     | 
| 
       35 
     | 
    
         
            -
                     
     | 
| 
      
 35 
     | 
    
         
            +
                    {
         
     | 
| 
      
 36 
     | 
    
         
            +
                      name: name,
         
     | 
| 
      
 37 
     | 
    
         
            +
                      code: code,
         
     | 
| 
      
 38 
     | 
    
         
            +
                      optional: optional,
         
     | 
| 
      
 39 
     | 
    
         
            +
                      fallbackCode: fallback_code
         
     | 
| 
      
 40 
     | 
    
         
            +
                    }.merge(
         
     | 
| 
      
 41 
     | 
    
         
            +
                      attributes.each_with_object({}) { |(k, v), result| result[k.to_sym] = v }
         
     | 
| 
      
 42 
     | 
    
         
            +
                    )
         
     | 
| 
       36 
43 
     | 
    
         
             
                  end
         
     | 
| 
       37 
44 
     | 
    
         
             
                end
         
     | 
| 
       38 
45 
     | 
    
         
             
              end
         
     | 
| 
         @@ -12,7 +12,8 @@ module Contentful 
     | 
|
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
                    # @private
         
     | 
| 
       14 
14 
     | 
    
         
             
                    def refresh_find
         
     | 
| 
       15 
     | 
    
         
            -
                      self.class.find(client, space.id, environment_id, id)
         
     | 
| 
      
 15 
     | 
    
         
            +
                      return self.class.find(client, space.id, environment_id, id) if environment_id
         
     | 
| 
      
 16 
     | 
    
         
            +
                      self.class.find(client, space.id, id)
         
     | 
| 
       16 
17 
     | 
    
         
             
                    end
         
     | 
| 
       17 
18 
     | 
    
         | 
| 
       18 
19 
     | 
    
         
             
                    # @private
         
     | 
| 
         @@ -48,7 +48,14 @@ module Contentful 
     | 
|
| 
       48 
48 
     | 
    
         
             
                  protected
         
     | 
| 
       49 
49 
     | 
    
         | 
| 
       50 
50 
     | 
    
         
             
                  def query_attributes(attributes)
         
     | 
| 
       51 
     | 
    
         
            -
                     
     | 
| 
      
 51 
     | 
    
         
            +
                    {
         
     | 
| 
      
 52 
     | 
    
         
            +
                      name: name,
         
     | 
| 
      
 53 
     | 
    
         
            +
                      description: description,
         
     | 
| 
      
 54 
     | 
    
         
            +
                      permissions: permissions,
         
     | 
| 
      
 55 
     | 
    
         
            +
                      policies: policies
         
     | 
| 
      
 56 
     | 
    
         
            +
                    }.merge(
         
     | 
| 
      
 57 
     | 
    
         
            +
                      attributes.each_with_object({}) { |(k, v), result| result[k.to_sym] = v }
         
     | 
| 
      
 58 
     | 
    
         
            +
                    )
         
     | 
| 
       52 
59 
     | 
    
         
             
                  end
         
     | 
| 
       53 
60 
     | 
    
         | 
| 
       54 
61 
     | 
    
         
             
                  # @private
         
     | 
| 
         @@ -74,7 +74,18 @@ module Contentful 
     | 
|
| 
       74 
74 
     | 
    
         
             
                  protected
         
     | 
| 
       75 
75 
     | 
    
         | 
| 
       76 
76 
     | 
    
         
             
                  def query_attributes(attributes)
         
     | 
| 
       77 
     | 
    
         
            -
                    self.class.create_attributes( 
     | 
| 
      
 77 
     | 
    
         
            +
                    self.class.create_attributes(
         
     | 
| 
      
 78 
     | 
    
         
            +
                      nil,
         
     | 
| 
      
 79 
     | 
    
         
            +
                      {
         
     | 
| 
      
 80 
     | 
    
         
            +
                        url: url,
         
     | 
| 
      
 81 
     | 
    
         
            +
                        name: name,
         
     | 
| 
      
 82 
     | 
    
         
            +
                        topics: topics,
         
     | 
| 
      
 83 
     | 
    
         
            +
                        headers: headers,
         
     | 
| 
      
 84 
     | 
    
         
            +
                        httpBasicUsername: http_basic_username,
         
     | 
| 
      
 85 
     | 
    
         
            +
                        filters: filters,
         
     | 
| 
      
 86 
     | 
    
         
            +
                        transformation: transformation
         
     | 
| 
      
 87 
     | 
    
         
            +
                      }.merge(attributes)
         
     | 
| 
      
 88 
     | 
    
         
            +
                    )
         
     | 
| 
       78 
89 
     | 
    
         
             
                  end
         
     | 
| 
       79 
90 
     | 
    
         
             
                end
         
     | 
| 
       80 
91 
     | 
    
         
             
              end
         
     | 
| 
         @@ -0,0 +1,476 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            http_interactions:
         
     | 
| 
      
 3 
     | 
    
         
            +
            - request:
         
     | 
| 
      
 4 
     | 
    
         
            +
                method: get
         
     | 
| 
      
 5 
     | 
    
         
            +
                uri: https://api.contentful.com/spaces/facgnwwgj5fe/api_keys/5rjsSfZUvHJnWBDkbcCsem
         
     | 
| 
      
 6 
     | 
    
         
            +
                body:
         
     | 
| 
      
 7 
     | 
    
         
            +
                  encoding: US-ASCII
         
     | 
| 
      
 8 
     | 
    
         
            +
                  string: ''
         
     | 
| 
      
 9 
     | 
    
         
            +
                headers:
         
     | 
| 
      
 10 
     | 
    
         
            +
                  X-Contentful-User-Agent:
         
     | 
| 
      
 11 
     | 
    
         
            +
                  - sdk contentful-management.rb/2.8.0; platform ruby/2.5.3; 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-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team
         
     | 
| 
      
 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 
     | 
    
         
            +
                  Cf-Organization-Id:
         
     | 
| 
      
 42 
     | 
    
         
            +
                  - 4SsuxQCaMaemfIms52Jr8s
         
     | 
| 
      
 43 
     | 
    
         
            +
                  Cf-Space-Id:
         
     | 
| 
      
 44 
     | 
    
         
            +
                  - facgnwwgj5fe
         
     | 
| 
      
 45 
     | 
    
         
            +
                  Content-Type:
         
     | 
| 
      
 46 
     | 
    
         
            +
                  - application/vnd.contentful.management.v1+json
         
     | 
| 
      
 47 
     | 
    
         
            +
                  Contentful-Api:
         
     | 
| 
      
 48 
     | 
    
         
            +
                  - cma
         
     | 
| 
      
 49 
     | 
    
         
            +
                  Date:
         
     | 
| 
      
 50 
     | 
    
         
            +
                  - Tue, 02 Apr 2019 13:29:57 GMT
         
     | 
| 
      
 51 
     | 
    
         
            +
                  Etag:
         
     | 
| 
      
 52 
     | 
    
         
            +
                  - W/"ee4064a28cc997b3d479492a6f74b26d"
         
     | 
| 
      
 53 
     | 
    
         
            +
                  Referrer-Policy:
         
     | 
| 
      
 54 
     | 
    
         
            +
                  - strict-origin-when-cross-origin
         
     | 
| 
      
 55 
     | 
    
         
            +
                  Server:
         
     | 
| 
      
 56 
     | 
    
         
            +
                  - Contentful
         
     | 
| 
      
 57 
     | 
    
         
            +
                  Strict-Transport-Security:
         
     | 
| 
      
 58 
     | 
    
         
            +
                  - max-age=15768000
         
     | 
| 
      
 59 
     | 
    
         
            +
                  X-Content-Type-Options:
         
     | 
| 
      
 60 
     | 
    
         
            +
                  - nosniff
         
     | 
| 
      
 61 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Hour-Limit:
         
     | 
| 
      
 62 
     | 
    
         
            +
                  - '36000'
         
     | 
| 
      
 63 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Hour-Remaining:
         
     | 
| 
      
 64 
     | 
    
         
            +
                  - '35999'
         
     | 
| 
      
 65 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Reset:
         
     | 
| 
      
 66 
     | 
    
         
            +
                  - '0'
         
     | 
| 
      
 67 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Second-Limit:
         
     | 
| 
      
 68 
     | 
    
         
            +
                  - '10'
         
     | 
| 
      
 69 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Second-Remaining:
         
     | 
| 
      
 70 
     | 
    
         
            +
                  - '9'
         
     | 
| 
      
 71 
     | 
    
         
            +
                  X-Contentful-Request-Id:
         
     | 
| 
      
 72 
     | 
    
         
            +
                  - 1a925fe051f4b74bbf151b50a14a91a6
         
     | 
| 
      
 73 
     | 
    
         
            +
                  X-Download-Options:
         
     | 
| 
      
 74 
     | 
    
         
            +
                  - noopen
         
     | 
| 
      
 75 
     | 
    
         
            +
                  X-Frame-Options:
         
     | 
| 
      
 76 
     | 
    
         
            +
                  - ALLOWALL
         
     | 
| 
      
 77 
     | 
    
         
            +
                  X-Permitted-Cross-Domain-Policies:
         
     | 
| 
      
 78 
     | 
    
         
            +
                  - none
         
     | 
| 
      
 79 
     | 
    
         
            +
                  X-Xss-Protection:
         
     | 
| 
      
 80 
     | 
    
         
            +
                  - 1; mode=block
         
     | 
| 
      
 81 
     | 
    
         
            +
                  Content-Length:
         
     | 
| 
      
 82 
     | 
    
         
            +
                  - '1160'
         
     | 
| 
      
 83 
     | 
    
         
            +
                  Connection:
         
     | 
| 
      
 84 
     | 
    
         
            +
                  - Close
         
     | 
| 
      
 85 
     | 
    
         
            +
                  Set-Cookie:
         
     | 
| 
      
 86 
     | 
    
         
            +
                  - incap_ses_1077_673446=baPFJsTWwWXeoWoUCkbyDtRjo1wAAAAA7Kovsj9OUSXsUCzoeAko1A==;
         
     | 
| 
      
 87 
     | 
    
         
            +
                    path=/; Domain=.contentful.com
         
     | 
| 
      
 88 
     | 
    
         
            +
                  - nlbi_673446=8gi/C6asIRhEx1XqYMlkBAAAAABJsJAkAt1ahydRN/RUSQLx; path=/; Domain=.contentful.com
         
     | 
| 
      
 89 
     | 
    
         
            +
                  - visid_incap_673446=roXiP+VsR42ppuS/wI0Od9Rjo1wAAAAAQUIPAAAAAACv3iML2eglTfkNRnifG/rz;
         
     | 
| 
      
 90 
     | 
    
         
            +
                    expires=Wed, 01 Apr 2020 05:58:50 GMT; path=/; Domain=.contentful.com
         
     | 
| 
      
 91 
     | 
    
         
            +
                  X-Iinfo:
         
     | 
| 
      
 92 
     | 
    
         
            +
                  - 12-468673-468674 NNNN CT(114 114 0) RT(1554211796039 57) q(0 0 3 -1) r(4 4)
         
     | 
| 
      
 93 
     | 
    
         
            +
                    U5
         
     | 
| 
      
 94 
     | 
    
         
            +
                  X-Cdn:
         
     | 
| 
      
 95 
     | 
    
         
            +
                  - Incapsula
         
     | 
| 
      
 96 
     | 
    
         
            +
                body:
         
     | 
| 
      
 97 
     | 
    
         
            +
                  encoding: ASCII-8BIT
         
     | 
| 
      
 98 
     | 
    
         
            +
                  string: |+
         
     | 
| 
      
 99 
     | 
    
         
            +
                    {
         
     | 
| 
      
 100 
     | 
    
         
            +
                      "name":"test - updated",
         
     | 
| 
      
 101 
     | 
    
         
            +
                      "description":"",
         
     | 
| 
      
 102 
     | 
    
         
            +
                      "accessToken":"a53de8ab24af833c7352f2b3262591b40b4765c42a288e1f54d374620a7bd619",
         
     | 
| 
      
 103 
     | 
    
         
            +
                      "policies":[
         
     | 
| 
      
 104 
     | 
    
         
            +
                        {
         
     | 
| 
      
 105 
     | 
    
         
            +
                          "effect":"allow",
         
     | 
| 
      
 106 
     | 
    
         
            +
                          "actions":"all"
         
     | 
| 
      
 107 
     | 
    
         
            +
                        }
         
     | 
| 
      
 108 
     | 
    
         
            +
                      ],
         
     | 
| 
      
 109 
     | 
    
         
            +
                      "sys":{
         
     | 
| 
      
 110 
     | 
    
         
            +
                        "type":"ApiKey",
         
     | 
| 
      
 111 
     | 
    
         
            +
                        "id":"5rjsSfZUvHJnWBDkbcCsem",
         
     | 
| 
      
 112 
     | 
    
         
            +
                        "version":4,
         
     | 
| 
      
 113 
     | 
    
         
            +
                        "space":{
         
     | 
| 
      
 114 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 115 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 116 
     | 
    
         
            +
                            "linkType":"Space",
         
     | 
| 
      
 117 
     | 
    
         
            +
                            "id":"facgnwwgj5fe"
         
     | 
| 
      
 118 
     | 
    
         
            +
                          }
         
     | 
| 
      
 119 
     | 
    
         
            +
                        },
         
     | 
| 
      
 120 
     | 
    
         
            +
                        "createdBy":{
         
     | 
| 
      
 121 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 122 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 123 
     | 
    
         
            +
                            "linkType":"User",
         
     | 
| 
      
 124 
     | 
    
         
            +
                            "id":"4SejVrWT96dvL9IV4Nb7sQ"
         
     | 
| 
      
 125 
     | 
    
         
            +
                          }
         
     | 
| 
      
 126 
     | 
    
         
            +
                        },
         
     | 
| 
      
 127 
     | 
    
         
            +
                        "createdAt":"2018-09-17T09:12:17Z",
         
     | 
| 
      
 128 
     | 
    
         
            +
                        "updatedBy":{
         
     | 
| 
      
 129 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 130 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 131 
     | 
    
         
            +
                            "linkType":"User",
         
     | 
| 
      
 132 
     | 
    
         
            +
                            "id":"4SejVrWT96dvL9IV4Nb7sQ"
         
     | 
| 
      
 133 
     | 
    
         
            +
                          }
         
     | 
| 
      
 134 
     | 
    
         
            +
                        },
         
     | 
| 
      
 135 
     | 
    
         
            +
                        "updatedAt":"2018-09-17T09:22:09Z"
         
     | 
| 
      
 136 
     | 
    
         
            +
                      },
         
     | 
| 
      
 137 
     | 
    
         
            +
                      "environments":[
         
     | 
| 
      
 138 
     | 
    
         
            +
                        {
         
     | 
| 
      
 139 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 140 
     | 
    
         
            +
                            "id":"testing",
         
     | 
| 
      
 141 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 142 
     | 
    
         
            +
                            "linkType":"Environment"
         
     | 
| 
      
 143 
     | 
    
         
            +
                          }
         
     | 
| 
      
 144 
     | 
    
         
            +
                        },
         
     | 
| 
      
 145 
     | 
    
         
            +
                        {
         
     | 
| 
      
 146 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 147 
     | 
    
         
            +
                            "id":"master",
         
     | 
| 
      
 148 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 149 
     | 
    
         
            +
                            "linkType":"Environment"
         
     | 
| 
      
 150 
     | 
    
         
            +
                          }
         
     | 
| 
      
 151 
     | 
    
         
            +
                        }
         
     | 
| 
      
 152 
     | 
    
         
            +
                      ],
         
     | 
| 
      
 153 
     | 
    
         
            +
                      "preview_api_key":{
         
     | 
| 
      
 154 
     | 
    
         
            +
                        "sys":{
         
     | 
| 
      
 155 
     | 
    
         
            +
                          "type":"Link",
         
     | 
| 
      
 156 
     | 
    
         
            +
                          "linkType":"PreviewApiKey",
         
     | 
| 
      
 157 
     | 
    
         
            +
                          "id":"5rkieiBVQBhmVPfgrfTxA6"
         
     | 
| 
      
 158 
     | 
    
         
            +
                        }
         
     | 
| 
      
 159 
     | 
    
         
            +
                      }
         
     | 
| 
      
 160 
     | 
    
         
            +
                    }
         
     | 
| 
      
 161 
     | 
    
         
            +
             
     | 
| 
      
 162 
     | 
    
         
            +
                http_version: 
         
     | 
| 
      
 163 
     | 
    
         
            +
              recorded_at: Tue, 02 Apr 2019 13:29:57 GMT
         
     | 
| 
      
 164 
     | 
    
         
            +
            - request:
         
     | 
| 
      
 165 
     | 
    
         
            +
                method: put
         
     | 
| 
      
 166 
     | 
    
         
            +
                uri: https://api.contentful.com/spaces/facgnwwgj5fe/api_keys/5rjsSfZUvHJnWBDkbcCsem
         
     | 
| 
      
 167 
     | 
    
         
            +
                body:
         
     | 
| 
      
 168 
     | 
    
         
            +
                  encoding: UTF-8
         
     | 
| 
      
 169 
     | 
    
         
            +
                  string: '{"name":"test - updated 2","description":"","environments":["#<Contentful::Management::Link:0x00007fa74690dba8>","#<Contentful::Management::Link:0x00007fa74690d018>"]}'
         
     | 
| 
      
 170 
     | 
    
         
            +
                headers:
         
     | 
| 
      
 171 
     | 
    
         
            +
                  X-Contentful-User-Agent:
         
     | 
| 
      
 172 
     | 
    
         
            +
                  - sdk contentful-management.rb/2.8.0; platform ruby/2.5.3; os macOS/16;
         
     | 
| 
      
 173 
     | 
    
         
            +
                  Authorization:
         
     | 
| 
      
 174 
     | 
    
         
            +
                  - Bearer <ACCESS_TOKEN>
         
     | 
| 
      
 175 
     | 
    
         
            +
                  Content-Type:
         
     | 
| 
      
 176 
     | 
    
         
            +
                  - application/vnd.contentful.management.v1+json
         
     | 
| 
      
 177 
     | 
    
         
            +
                  X-Contentful-Version:
         
     | 
| 
      
 178 
     | 
    
         
            +
                  - '4'
         
     | 
| 
      
 179 
     | 
    
         
            +
                  Version:
         
     | 
| 
      
 180 
     | 
    
         
            +
                  - '4'
         
     | 
| 
      
 181 
     | 
    
         
            +
                  Connection:
         
     | 
| 
      
 182 
     | 
    
         
            +
                  - close
         
     | 
| 
      
 183 
     | 
    
         
            +
                  Host:
         
     | 
| 
      
 184 
     | 
    
         
            +
                  - api.contentful.com
         
     | 
| 
      
 185 
     | 
    
         
            +
                  User-Agent:
         
     | 
| 
      
 186 
     | 
    
         
            +
                  - http.rb/2.2.2
         
     | 
| 
      
 187 
     | 
    
         
            +
              response:
         
     | 
| 
      
 188 
     | 
    
         
            +
                status:
         
     | 
| 
      
 189 
     | 
    
         
            +
                  code: 200
         
     | 
| 
      
 190 
     | 
    
         
            +
                  message: OK
         
     | 
| 
      
 191 
     | 
    
         
            +
                headers:
         
     | 
| 
      
 192 
     | 
    
         
            +
                  Accept-Ranges:
         
     | 
| 
      
 193 
     | 
    
         
            +
                  - bytes
         
     | 
| 
      
 194 
     | 
    
         
            +
                  Access-Control-Allow-Headers:
         
     | 
| 
      
 195 
     | 
    
         
            +
                  - 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-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team
         
     | 
| 
      
 196 
     | 
    
         
            +
                  Access-Control-Allow-Methods:
         
     | 
| 
      
 197 
     | 
    
         
            +
                  - DELETE,GET,HEAD,POST,PUT,OPTIONS
         
     | 
| 
      
 198 
     | 
    
         
            +
                  Access-Control-Allow-Origin:
         
     | 
| 
      
 199 
     | 
    
         
            +
                  - "*"
         
     | 
| 
      
 200 
     | 
    
         
            +
                  Access-Control-Expose-Headers:
         
     | 
| 
      
 201 
     | 
    
         
            +
                  - Etag
         
     | 
| 
      
 202 
     | 
    
         
            +
                  Access-Control-Max-Age:
         
     | 
| 
      
 203 
     | 
    
         
            +
                  - '1728000'
         
     | 
| 
      
 204 
     | 
    
         
            +
                  Cache-Control:
         
     | 
| 
      
 205 
     | 
    
         
            +
                  - max-age=0
         
     | 
| 
      
 206 
     | 
    
         
            +
                  Cf-Organization-Id:
         
     | 
| 
      
 207 
     | 
    
         
            +
                  - 4SsuxQCaMaemfIms52Jr8s
         
     | 
| 
      
 208 
     | 
    
         
            +
                  Cf-Space-Id:
         
     | 
| 
      
 209 
     | 
    
         
            +
                  - facgnwwgj5fe
         
     | 
| 
      
 210 
     | 
    
         
            +
                  Content-Type:
         
     | 
| 
      
 211 
     | 
    
         
            +
                  - application/vnd.contentful.management.v1+json
         
     | 
| 
      
 212 
     | 
    
         
            +
                  Contentful-Api:
         
     | 
| 
      
 213 
     | 
    
         
            +
                  - cma
         
     | 
| 
      
 214 
     | 
    
         
            +
                  Date:
         
     | 
| 
      
 215 
     | 
    
         
            +
                  - Tue, 02 Apr 2019 13:29:57 GMT
         
     | 
| 
      
 216 
     | 
    
         
            +
                  Etag:
         
     | 
| 
      
 217 
     | 
    
         
            +
                  - W/"82ea9f73bb585a5686f43861e04ee0a9"
         
     | 
| 
      
 218 
     | 
    
         
            +
                  Referrer-Policy:
         
     | 
| 
      
 219 
     | 
    
         
            +
                  - strict-origin-when-cross-origin
         
     | 
| 
      
 220 
     | 
    
         
            +
                  Server:
         
     | 
| 
      
 221 
     | 
    
         
            +
                  - Contentful
         
     | 
| 
      
 222 
     | 
    
         
            +
                  Strict-Transport-Security:
         
     | 
| 
      
 223 
     | 
    
         
            +
                  - max-age=15768000
         
     | 
| 
      
 224 
     | 
    
         
            +
                  X-Content-Type-Options:
         
     | 
| 
      
 225 
     | 
    
         
            +
                  - nosniff
         
     | 
| 
      
 226 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Hour-Limit:
         
     | 
| 
      
 227 
     | 
    
         
            +
                  - '36000'
         
     | 
| 
      
 228 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Hour-Remaining:
         
     | 
| 
      
 229 
     | 
    
         
            +
                  - '35998'
         
     | 
| 
      
 230 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Reset:
         
     | 
| 
      
 231 
     | 
    
         
            +
                  - '0'
         
     | 
| 
      
 232 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Second-Limit:
         
     | 
| 
      
 233 
     | 
    
         
            +
                  - '10'
         
     | 
| 
      
 234 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Second-Remaining:
         
     | 
| 
      
 235 
     | 
    
         
            +
                  - '8'
         
     | 
| 
      
 236 
     | 
    
         
            +
                  X-Contentful-Request-Id:
         
     | 
| 
      
 237 
     | 
    
         
            +
                  - 22ba926216763c4525b94b0064865fa6
         
     | 
| 
      
 238 
     | 
    
         
            +
                  X-Download-Options:
         
     | 
| 
      
 239 
     | 
    
         
            +
                  - noopen
         
     | 
| 
      
 240 
     | 
    
         
            +
                  X-Frame-Options:
         
     | 
| 
      
 241 
     | 
    
         
            +
                  - ALLOWALL
         
     | 
| 
      
 242 
     | 
    
         
            +
                  X-Permitted-Cross-Domain-Policies:
         
     | 
| 
      
 243 
     | 
    
         
            +
                  - none
         
     | 
| 
      
 244 
     | 
    
         
            +
                  X-Xss-Protection:
         
     | 
| 
      
 245 
     | 
    
         
            +
                  - 1; mode=block
         
     | 
| 
      
 246 
     | 
    
         
            +
                  Content-Length:
         
     | 
| 
      
 247 
     | 
    
         
            +
                  - '1047'
         
     | 
| 
      
 248 
     | 
    
         
            +
                  Connection:
         
     | 
| 
      
 249 
     | 
    
         
            +
                  - Close
         
     | 
| 
      
 250 
     | 
    
         
            +
                  Set-Cookie:
         
     | 
| 
      
 251 
     | 
    
         
            +
                  - incap_ses_1077_673446=Pl2FOkKQUnDwoWoUCkbyDtVjo1wAAAAAJsiBB2wfMR7tFhAOy3eCjA==;
         
     | 
| 
      
 252 
     | 
    
         
            +
                    path=/; Domain=.contentful.com
         
     | 
| 
      
 253 
     | 
    
         
            +
                  - nlbi_673446=CHfkdKUEtyZGK7RHYMlkBAAAAABVBnkYKRhDc+11XV2/V9Nt; path=/; Domain=.contentful.com
         
     | 
| 
      
 254 
     | 
    
         
            +
                  - visid_incap_673446=6OZjLktRQjCpW2bkGQ64XtVjo1wAAAAAQUIPAAAAAAD9oeNTrhN3FztQM8rablqG;
         
     | 
| 
      
 255 
     | 
    
         
            +
                    expires=Wed, 01 Apr 2020 05:58:22 GMT; path=/; Domain=.contentful.com
         
     | 
| 
      
 256 
     | 
    
         
            +
                  X-Iinfo:
         
     | 
| 
      
 257 
     | 
    
         
            +
                  - 4-1112978-1112979 NNNN CT(107 106 0) RT(1554211796564 51) q(0 0 2 -1) r(4
         
     | 
| 
      
 258 
     | 
    
         
            +
                    4) U5
         
     | 
| 
      
 259 
     | 
    
         
            +
                  X-Cdn:
         
     | 
| 
      
 260 
     | 
    
         
            +
                  - Incapsula
         
     | 
| 
      
 261 
     | 
    
         
            +
                body:
         
     | 
| 
      
 262 
     | 
    
         
            +
                  encoding: ASCII-8BIT
         
     | 
| 
      
 263 
     | 
    
         
            +
                  string: |+
         
     | 
| 
      
 264 
     | 
    
         
            +
                    {
         
     | 
| 
      
 265 
     | 
    
         
            +
                      "name":"test - updated 2",
         
     | 
| 
      
 266 
     | 
    
         
            +
                      "description":"",
         
     | 
| 
      
 267 
     | 
    
         
            +
                      "accessToken":"a53de8ab24af833c7352f2b3262591b40b4765c42a288e1f54d374620a7bd619",
         
     | 
| 
      
 268 
     | 
    
         
            +
                      "policies":[
         
     | 
| 
      
 269 
     | 
    
         
            +
                        {
         
     | 
| 
      
 270 
     | 
    
         
            +
                          "effect":"allow",
         
     | 
| 
      
 271 
     | 
    
         
            +
                          "actions":"all"
         
     | 
| 
      
 272 
     | 
    
         
            +
                        }
         
     | 
| 
      
 273 
     | 
    
         
            +
                      ],
         
     | 
| 
      
 274 
     | 
    
         
            +
                      "sys":{
         
     | 
| 
      
 275 
     | 
    
         
            +
                        "type":"ApiKey",
         
     | 
| 
      
 276 
     | 
    
         
            +
                        "id":"5rjsSfZUvHJnWBDkbcCsem",
         
     | 
| 
      
 277 
     | 
    
         
            +
                        "version":5,
         
     | 
| 
      
 278 
     | 
    
         
            +
                        "space":{
         
     | 
| 
      
 279 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 280 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 281 
     | 
    
         
            +
                            "linkType":"Space",
         
     | 
| 
      
 282 
     | 
    
         
            +
                            "id":"facgnwwgj5fe"
         
     | 
| 
      
 283 
     | 
    
         
            +
                          }
         
     | 
| 
      
 284 
     | 
    
         
            +
                        },
         
     | 
| 
      
 285 
     | 
    
         
            +
                        "createdBy":{
         
     | 
| 
      
 286 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 287 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 288 
     | 
    
         
            +
                            "linkType":"User",
         
     | 
| 
      
 289 
     | 
    
         
            +
                            "id":"4SejVrWT96dvL9IV4Nb7sQ"
         
     | 
| 
      
 290 
     | 
    
         
            +
                          }
         
     | 
| 
      
 291 
     | 
    
         
            +
                        },
         
     | 
| 
      
 292 
     | 
    
         
            +
                        "createdAt":"2018-09-17T09:12:17Z",
         
     | 
| 
      
 293 
     | 
    
         
            +
                        "updatedBy":{
         
     | 
| 
      
 294 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 295 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 296 
     | 
    
         
            +
                            "linkType":"User",
         
     | 
| 
      
 297 
     | 
    
         
            +
                            "id":"4SejVrWT96dvL9IV4Nb7sQ"
         
     | 
| 
      
 298 
     | 
    
         
            +
                          }
         
     | 
| 
      
 299 
     | 
    
         
            +
                        },
         
     | 
| 
      
 300 
     | 
    
         
            +
                        "updatedAt":"2019-04-02T13:29:57Z"
         
     | 
| 
      
 301 
     | 
    
         
            +
                      },
         
     | 
| 
      
 302 
     | 
    
         
            +
                      "environments":[
         
     | 
| 
      
 303 
     | 
    
         
            +
                        {
         
     | 
| 
      
 304 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 305 
     | 
    
         
            +
                            "id":"master",
         
     | 
| 
      
 306 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 307 
     | 
    
         
            +
                            "linkType":"Environment"
         
     | 
| 
      
 308 
     | 
    
         
            +
                          }
         
     | 
| 
      
 309 
     | 
    
         
            +
                        }
         
     | 
| 
      
 310 
     | 
    
         
            +
                      ],
         
     | 
| 
      
 311 
     | 
    
         
            +
                      "preview_api_key":{
         
     | 
| 
      
 312 
     | 
    
         
            +
                        "sys":{
         
     | 
| 
      
 313 
     | 
    
         
            +
                          "type":"Link",
         
     | 
| 
      
 314 
     | 
    
         
            +
                          "linkType":"PreviewApiKey",
         
     | 
| 
      
 315 
     | 
    
         
            +
                          "id":"5rkieiBVQBhmVPfgrfTxA6"
         
     | 
| 
      
 316 
     | 
    
         
            +
                        }
         
     | 
| 
      
 317 
     | 
    
         
            +
                      }
         
     | 
| 
      
 318 
     | 
    
         
            +
                    }
         
     | 
| 
      
 319 
     | 
    
         
            +
             
     | 
| 
      
 320 
     | 
    
         
            +
                http_version: 
         
     | 
| 
      
 321 
     | 
    
         
            +
              recorded_at: Tue, 02 Apr 2019 13:29:57 GMT
         
     | 
| 
      
 322 
     | 
    
         
            +
            - request:
         
     | 
| 
      
 323 
     | 
    
         
            +
                method: get
         
     | 
| 
      
 324 
     | 
    
         
            +
                uri: https://api.contentful.com/spaces/facgnwwgj5fe/api_keys/5rjsSfZUvHJnWBDkbcCsem
         
     | 
| 
      
 325 
     | 
    
         
            +
                body:
         
     | 
| 
      
 326 
     | 
    
         
            +
                  encoding: US-ASCII
         
     | 
| 
      
 327 
     | 
    
         
            +
                  string: ''
         
     | 
| 
      
 328 
     | 
    
         
            +
                headers:
         
     | 
| 
      
 329 
     | 
    
         
            +
                  X-Contentful-User-Agent:
         
     | 
| 
      
 330 
     | 
    
         
            +
                  - sdk contentful-management.rb/2.8.0; platform ruby/2.5.3; os macOS/16;
         
     | 
| 
      
 331 
     | 
    
         
            +
                  Authorization:
         
     | 
| 
      
 332 
     | 
    
         
            +
                  - Bearer <ACCESS_TOKEN>
         
     | 
| 
      
 333 
     | 
    
         
            +
                  Content-Type:
         
     | 
| 
      
 334 
     | 
    
         
            +
                  - application/vnd.contentful.management.v1+json
         
     | 
| 
      
 335 
     | 
    
         
            +
                  Connection:
         
     | 
| 
      
 336 
     | 
    
         
            +
                  - close
         
     | 
| 
      
 337 
     | 
    
         
            +
                  Host:
         
     | 
| 
      
 338 
     | 
    
         
            +
                  - api.contentful.com
         
     | 
| 
      
 339 
     | 
    
         
            +
                  User-Agent:
         
     | 
| 
      
 340 
     | 
    
         
            +
                  - http.rb/2.2.2
         
     | 
| 
      
 341 
     | 
    
         
            +
              response:
         
     | 
| 
      
 342 
     | 
    
         
            +
                status:
         
     | 
| 
      
 343 
     | 
    
         
            +
                  code: 200
         
     | 
| 
      
 344 
     | 
    
         
            +
                  message: OK
         
     | 
| 
      
 345 
     | 
    
         
            +
                headers:
         
     | 
| 
      
 346 
     | 
    
         
            +
                  Accept-Ranges:
         
     | 
| 
      
 347 
     | 
    
         
            +
                  - bytes
         
     | 
| 
      
 348 
     | 
    
         
            +
                  Access-Control-Allow-Headers:
         
     | 
| 
      
 349 
     | 
    
         
            +
                  - 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-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team
         
     | 
| 
      
 350 
     | 
    
         
            +
                  Access-Control-Allow-Methods:
         
     | 
| 
      
 351 
     | 
    
         
            +
                  - DELETE,GET,HEAD,POST,PUT,OPTIONS
         
     | 
| 
      
 352 
     | 
    
         
            +
                  Access-Control-Allow-Origin:
         
     | 
| 
      
 353 
     | 
    
         
            +
                  - "*"
         
     | 
| 
      
 354 
     | 
    
         
            +
                  Access-Control-Expose-Headers:
         
     | 
| 
      
 355 
     | 
    
         
            +
                  - Etag
         
     | 
| 
      
 356 
     | 
    
         
            +
                  Access-Control-Max-Age:
         
     | 
| 
      
 357 
     | 
    
         
            +
                  - '1728000'
         
     | 
| 
      
 358 
     | 
    
         
            +
                  Cache-Control:
         
     | 
| 
      
 359 
     | 
    
         
            +
                  - max-age=0
         
     | 
| 
      
 360 
     | 
    
         
            +
                  Cf-Organization-Id:
         
     | 
| 
      
 361 
     | 
    
         
            +
                  - 4SsuxQCaMaemfIms52Jr8s
         
     | 
| 
      
 362 
     | 
    
         
            +
                  Cf-Space-Id:
         
     | 
| 
      
 363 
     | 
    
         
            +
                  - facgnwwgj5fe
         
     | 
| 
      
 364 
     | 
    
         
            +
                  Content-Type:
         
     | 
| 
      
 365 
     | 
    
         
            +
                  - application/vnd.contentful.management.v1+json
         
     | 
| 
      
 366 
     | 
    
         
            +
                  Contentful-Api:
         
     | 
| 
      
 367 
     | 
    
         
            +
                  - cma
         
     | 
| 
      
 368 
     | 
    
         
            +
                  Date:
         
     | 
| 
      
 369 
     | 
    
         
            +
                  - Tue, 02 Apr 2019 13:29:58 GMT
         
     | 
| 
      
 370 
     | 
    
         
            +
                  Etag:
         
     | 
| 
      
 371 
     | 
    
         
            +
                  - W/"82ea9f73bb585a5686f43861e04ee0a9"
         
     | 
| 
      
 372 
     | 
    
         
            +
                  Referrer-Policy:
         
     | 
| 
      
 373 
     | 
    
         
            +
                  - strict-origin-when-cross-origin
         
     | 
| 
      
 374 
     | 
    
         
            +
                  Server:
         
     | 
| 
      
 375 
     | 
    
         
            +
                  - Contentful
         
     | 
| 
      
 376 
     | 
    
         
            +
                  Strict-Transport-Security:
         
     | 
| 
      
 377 
     | 
    
         
            +
                  - max-age=15768000
         
     | 
| 
      
 378 
     | 
    
         
            +
                  X-Content-Type-Options:
         
     | 
| 
      
 379 
     | 
    
         
            +
                  - nosniff
         
     | 
| 
      
 380 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Hour-Limit:
         
     | 
| 
      
 381 
     | 
    
         
            +
                  - '36000'
         
     | 
| 
      
 382 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Hour-Remaining:
         
     | 
| 
      
 383 
     | 
    
         
            +
                  - '35999'
         
     | 
| 
      
 384 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Reset:
         
     | 
| 
      
 385 
     | 
    
         
            +
                  - '0'
         
     | 
| 
      
 386 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Second-Limit:
         
     | 
| 
      
 387 
     | 
    
         
            +
                  - '10'
         
     | 
| 
      
 388 
     | 
    
         
            +
                  X-Contentful-Ratelimit-Second-Remaining:
         
     | 
| 
      
 389 
     | 
    
         
            +
                  - '9'
         
     | 
| 
      
 390 
     | 
    
         
            +
                  X-Contentful-Request-Id:
         
     | 
| 
      
 391 
     | 
    
         
            +
                  - 7f277f2afca4b7ef050a663d82b6bde8
         
     | 
| 
      
 392 
     | 
    
         
            +
                  X-Download-Options:
         
     | 
| 
      
 393 
     | 
    
         
            +
                  - noopen
         
     | 
| 
      
 394 
     | 
    
         
            +
                  X-Frame-Options:
         
     | 
| 
      
 395 
     | 
    
         
            +
                  - ALLOWALL
         
     | 
| 
      
 396 
     | 
    
         
            +
                  X-Permitted-Cross-Domain-Policies:
         
     | 
| 
      
 397 
     | 
    
         
            +
                  - none
         
     | 
| 
      
 398 
     | 
    
         
            +
                  X-Xss-Protection:
         
     | 
| 
      
 399 
     | 
    
         
            +
                  - 1; mode=block
         
     | 
| 
      
 400 
     | 
    
         
            +
                  Content-Length:
         
     | 
| 
      
 401 
     | 
    
         
            +
                  - '1047'
         
     | 
| 
      
 402 
     | 
    
         
            +
                  Connection:
         
     | 
| 
      
 403 
     | 
    
         
            +
                  - Close
         
     | 
| 
      
 404 
     | 
    
         
            +
                  Set-Cookie:
         
     | 
| 
      
 405 
     | 
    
         
            +
                  - incap_ses_1077_673446=lWeSYMEmvlQEomoUCkbyDtVjo1wAAAAArGE5hHQc6mtAiNmohmvOog==;
         
     | 
| 
      
 406 
     | 
    
         
            +
                    path=/; Domain=.contentful.com
         
     | 
| 
      
 407 
     | 
    
         
            +
                  - nlbi_673446=np9Ffa4WYUgEV1zMYMlkBAAAAAB5Emvv9J5iQZvMKsIsEYgl; path=/; Domain=.contentful.com
         
     | 
| 
      
 408 
     | 
    
         
            +
                  - visid_incap_673446=NthvU3CcRT6ZpqTsOU5H6NVjo1wAAAAAQUIPAAAAAAB5bEpQFqHTkxucGLY+j/dF;
         
     | 
| 
      
 409 
     | 
    
         
            +
                    expires=Wed, 01 Apr 2020 05:58:22 GMT; path=/; Domain=.contentful.com
         
     | 
| 
      
 410 
     | 
    
         
            +
                  X-Iinfo:
         
     | 
| 
      
 411 
     | 
    
         
            +
                  - 3-927481-927482 NNNN CT(113 113 0) RT(1554211797082 52) q(0 0 2 -1) r(4 4)
         
     | 
| 
      
 412 
     | 
    
         
            +
                    U5
         
     | 
| 
      
 413 
     | 
    
         
            +
                  X-Cdn:
         
     | 
| 
      
 414 
     | 
    
         
            +
                  - Incapsula
         
     | 
| 
      
 415 
     | 
    
         
            +
                body:
         
     | 
| 
      
 416 
     | 
    
         
            +
                  encoding: ASCII-8BIT
         
     | 
| 
      
 417 
     | 
    
         
            +
                  string: |+
         
     | 
| 
      
 418 
     | 
    
         
            +
                    {
         
     | 
| 
      
 419 
     | 
    
         
            +
                      "name":"test - updated 2",
         
     | 
| 
      
 420 
     | 
    
         
            +
                      "description":"",
         
     | 
| 
      
 421 
     | 
    
         
            +
                      "accessToken":"a53de8ab24af833c7352f2b3262591b40b4765c42a288e1f54d374620a7bd619",
         
     | 
| 
      
 422 
     | 
    
         
            +
                      "policies":[
         
     | 
| 
      
 423 
     | 
    
         
            +
                        {
         
     | 
| 
      
 424 
     | 
    
         
            +
                          "effect":"allow",
         
     | 
| 
      
 425 
     | 
    
         
            +
                          "actions":"all"
         
     | 
| 
      
 426 
     | 
    
         
            +
                        }
         
     | 
| 
      
 427 
     | 
    
         
            +
                      ],
         
     | 
| 
      
 428 
     | 
    
         
            +
                      "sys":{
         
     | 
| 
      
 429 
     | 
    
         
            +
                        "type":"ApiKey",
         
     | 
| 
      
 430 
     | 
    
         
            +
                        "id":"5rjsSfZUvHJnWBDkbcCsem",
         
     | 
| 
      
 431 
     | 
    
         
            +
                        "version":5,
         
     | 
| 
      
 432 
     | 
    
         
            +
                        "space":{
         
     | 
| 
      
 433 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 434 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 435 
     | 
    
         
            +
                            "linkType":"Space",
         
     | 
| 
      
 436 
     | 
    
         
            +
                            "id":"facgnwwgj5fe"
         
     | 
| 
      
 437 
     | 
    
         
            +
                          }
         
     | 
| 
      
 438 
     | 
    
         
            +
                        },
         
     | 
| 
      
 439 
     | 
    
         
            +
                        "createdBy":{
         
     | 
| 
      
 440 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 441 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 442 
     | 
    
         
            +
                            "linkType":"User",
         
     | 
| 
      
 443 
     | 
    
         
            +
                            "id":"4SejVrWT96dvL9IV4Nb7sQ"
         
     | 
| 
      
 444 
     | 
    
         
            +
                          }
         
     | 
| 
      
 445 
     | 
    
         
            +
                        },
         
     | 
| 
      
 446 
     | 
    
         
            +
                        "createdAt":"2018-09-17T09:12:17Z",
         
     | 
| 
      
 447 
     | 
    
         
            +
                        "updatedBy":{
         
     | 
| 
      
 448 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 449 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 450 
     | 
    
         
            +
                            "linkType":"User",
         
     | 
| 
      
 451 
     | 
    
         
            +
                            "id":"4SejVrWT96dvL9IV4Nb7sQ"
         
     | 
| 
      
 452 
     | 
    
         
            +
                          }
         
     | 
| 
      
 453 
     | 
    
         
            +
                        },
         
     | 
| 
      
 454 
     | 
    
         
            +
                        "updatedAt":"2019-04-02T13:29:57Z"
         
     | 
| 
      
 455 
     | 
    
         
            +
                      },
         
     | 
| 
      
 456 
     | 
    
         
            +
                      "environments":[
         
     | 
| 
      
 457 
     | 
    
         
            +
                        {
         
     | 
| 
      
 458 
     | 
    
         
            +
                          "sys":{
         
     | 
| 
      
 459 
     | 
    
         
            +
                            "id":"master",
         
     | 
| 
      
 460 
     | 
    
         
            +
                            "type":"Link",
         
     | 
| 
      
 461 
     | 
    
         
            +
                            "linkType":"Environment"
         
     | 
| 
      
 462 
     | 
    
         
            +
                          }
         
     | 
| 
      
 463 
     | 
    
         
            +
                        }
         
     | 
| 
      
 464 
     | 
    
         
            +
                      ],
         
     | 
| 
      
 465 
     | 
    
         
            +
                      "preview_api_key":{
         
     | 
| 
      
 466 
     | 
    
         
            +
                        "sys":{
         
     | 
| 
      
 467 
     | 
    
         
            +
                          "type":"Link",
         
     | 
| 
      
 468 
     | 
    
         
            +
                          "linkType":"PreviewApiKey",
         
     | 
| 
      
 469 
     | 
    
         
            +
                          "id":"5rkieiBVQBhmVPfgrfTxA6"
         
     | 
| 
      
 470 
     | 
    
         
            +
                        }
         
     | 
| 
      
 471 
     | 
    
         
            +
                      }
         
     | 
| 
      
 472 
     | 
    
         
            +
                    }
         
     | 
| 
      
 473 
     | 
    
         
            +
             
     | 
| 
      
 474 
     | 
    
         
            +
                http_version: 
         
     | 
| 
      
 475 
     | 
    
         
            +
              recorded_at: Tue, 02 Apr 2019 13:29:58 GMT
         
     | 
| 
      
 476 
     | 
    
         
            +
            recorded_with: VCR 4.0.0
         
     |