Sha256: d2e7cecba207dc551db1d82be04372675e57be589fb4ddf22ae9f2e35674eab4

Contents?: true

Size: 1.54 KB

Versions: 14

Compression:

Stored size: 1.54 KB

Contents

{
  "total_entries": 2,
  "_links": {
    "self": {
      "href": "/api/v2/cases/1/attachments?page=1&per_page=50",
      "class": "page"
    },
    "first": {
      "href": "/api/v2/cases/1/attachments?page=1&per_page=50",
      "class": "page"
    },
    "last": {
      "href": "/api/v2/cases/1/attachments?page=1&per_page=50",
      "class": "page"
    },
    "next": null,
    "previous": null
  },
  "_embedded": {
    "entries": [
      {
        "file_name": "awesome_pic.png",
        "content_type": "image/png",
        "size": "500",
        "url": "http://example.com/short_lived_link_to_the_file_content",
        "erased_at": null,
        "created_at": "2013-11-22T22:49:20Z",
        "updated_at": "2013-11-22T22:49:20Z",
        "_links": {
          "self": {
            "href": "/api/v2/cases/1/attachments/1",
            "class": "attachment"
          },
          "case": {
            "href": "/api/v2/cases/1",
            "class": "case"
          }
        }
      },
      {
        "file_name": "another_awesome_pic.png",
        "content_type": "image/png",
        "size": "500",
        "url": "http://example.com/short_lived_link_to_the_file_content",
        "erased_at": null,
        "created_at": "2013-11-22T22:49:20Z",
        "updated_at": "2013-11-22T22:49:20Z",
        "_links": {
          "self": {
            "href": "/api/v2/cases/1/attachments/2",
            "class": "attachment"
          },
          "case": {
            "href": "/api/v2/cases/2",
            "class": "case"
          }
        }
      }
    ]
  }
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
desk-1.2.0 spec/fixtures/case_attachments
desk-1.1.1 spec/fixtures/case_attachments
desk-1.1.0 spec/fixtures/case_attachments
desk-1.0.10 spec/fixtures/case_attachments
desk-1.0.9 spec/fixtures/case_attachments
desk-1.0.8 spec/fixtures/case_attachments
desk-1.0.7 spec/fixtures/case_attachments
desk-1.0.6 spec/fixtures/case_attachments
desk-1.0.5 spec/fixtures/case_attachments
desk-1.0.4 spec/fixtures/case_attachments
desk-1.0.3 spec/fixtures/case_attachments
desk-1.0.2 spec/fixtures/case_attachments
desk-1.0.1 spec/fixtures/case_attachments
desk-1.0.0 spec/fixtures/case_attachments