This page returns a single Resource Attachment instance.

The HTTP DELETE operation is allowed for purposes of deleting a Resource Attachment. The ability to DELETE depends upon account permissions.

No HTTP POST operation is supported. In order to update a file, first delete it here and then add the new version using the Resource Attachment List API page.

Current page: GET /api/resource-attachment/8/View Plain JSON
HTTP 200 OK
Content-Type: application/json
Vary: Accept
Allow: GET, HEAD, OPTIONS, DELETE

{
    "id": "https://specimens.cancer.gov/api/resource-attachment/8/",
    "user": "goetzke@nei.nih.gov",
    "resource": "https://specimens.cancer.gov/api/resource/62/",
    "file_name": "EyeGene_Researcher_Brochure_3pan.pdf",
    "file_size": 342635,
    "date_attached": "2016-06-20T08:32:51.378",
    "file": "https://specimens.cancer.gov/backend/resource/attach/serve/8/"
}