Sha256: 104640c89cd95bddcd15c7ab15c81c7418498f29b0f86f8f60893fe74158b75d

Contents?: true

Size: 1.85 KB

Versions: 10

Compression:

Stored size: 1.85 KB

Contents

---
http_interactions:
- request:
    method: put
    uri: https://api.contentful.com/spaces/yr5m0jky5hsh/assets/codequest_id_test_custom_id
    body:
      encoding: UTF-8
      string: '{"fields":{"title":{"en-US":"titlebyCreateAPI_custom_id"},"description":{"en-US":"descByAPI_custom_id"},"file":{"en-US":{"contentType":"image/jpeg","fileName":"codequest.jpg","upload":"http://static.goldenline.pl/firm_logo/082/firm_225106_22f37f_small.jpg"}}}}'
    headers:
      User-Agent:
      - RubyContenfulManagementGem/0.0.1
      Authorization:
      - Bearer <ACCESS_TOKEN>
      Content-Type:
      - application/vnd.contentful.management.v1+json
      Host:
      - api.contentful.com
  response:
    status:
      code: 400
      message: Bad Request
    headers:
      Server:
      - nginx
      Date:
      - Thu, 31 Jul 2014 07:39:06 GMT
      Content-Type:
      - application/vnd.contentful.management.v1+json
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      X-Powered-By:
      - Express
      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": {
            "type": "Error",
            "id": "VersionMismatch"
          }
        }
    http_version: 
  recorded_at: Thu, 31 Jul 2014 07:39:06 GMT
recorded_with: VCR 2.9.2

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
contentful-management-0.4.0 spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml
contentful-management-0.3.1 spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml
contentful-management-0.3.0 spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml
contentful-management-0.2.1 spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml
contentful-management-0.2.0 spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml
contentful-management-0.1.0 spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml
contentful-management-0.0.3 spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml
contentful-management-0.0.2 spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml
contentful-management-0.0.1 spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml
contentful-management-0.0.1.pre spec/fixtures/vcr_cassettes/asset/create_with_already_used_id.yml