This page returns a paginated list of all Resource Attachments.

The HTTP POST operation is allowed for purposes of creating a new Resource Attachment instance; a single Resource Attachment may be created per post. The ability to POST depends upon on account permissions and Resource ownership.

Filtering by Resource owner and/or Resource is available using the 'username' and 'resource' GET parameters. The 'resource' GET parameter takes an integer value, corresponding to the internal id of the Resource. Example: https://specimens.cancer.gov/api/resource-attachment/?username=jdoe&resource=12

The 'resource' element in the POST data must be the full API URL of the desired Resource to which the attachment belongs. Example: https://specimens.cancer.gov/api/resource/12/

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

{
    "count": 11,
    "next": "https://specimens.cancer.gov/api/resource-attachment/?page=2",
    "previous": null,
    "results": [
        {
            "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/"
        },
        {
            "id": "https://specimens.cancer.gov/api/resource-attachment/9/",
            "user": "moyej@exchange.nih.gov",
            "resource": "https://specimens.cancer.gov/api/resource/65/",
            "file_name": "NCS_Archive_Study_Description - May 2016.pdf",
            "file_size": 1472435,
            "date_attached": "2016-08-12T15:05:42.908",
            "file": "https://specimens.cancer.gov/backend/resource/attach/serve/9/"
        },
        {
            "id": "https://specimens.cancer.gov/api/resource-attachment/11/",
            "user": "paculacox",
            "resource": "https://specimens.cancer.gov/api/resource/70/",
            "file_name": "207194A-Brochure-022117-4.pdf",
            "file_size": 177713,
            "date_attached": "2017-04-04T15:17:31.230",
            "file": "https://specimens.cancer.gov/backend/resource/attach/serve/11/"
        },
        {
            "id": "https://specimens.cancer.gov/api/resource-attachment/10/",
            "user": "oicr",
            "resource": "https://specimens.cancer.gov/api/resource/67/",
            "file_name": "OTB sample request procedure.pdf",
            "file_size": 102589,
            "date_attached": "2017-01-12T10:48:30.603",
            "file": "https://specimens.cancer.gov/backend/resource/attach/serve/10/"
        },
        {
            "id": "https://specimens.cancer.gov/api/resource-attachment/2/",
            "user": "paraickenny",
            "resource": "https://specimens.cancer.gov/api/resource/27/",
            "file_name": "MD Professional BioBank Flyer Updated.pdf",
            "file_size": 235914,
            "date_attached": "2014-04-23T16:59:03.626",
            "file": "https://specimens.cancer.gov/backend/resource/attach/serve/2/"
        },
        {
            "id": "https://specimens.cancer.gov/api/resource-attachment/6/",
            "user": "sexton",
            "resource": "https://specimens.cancer.gov/api/resource/47/",
            "file_name": "UAB SPORE Biorepository Banks.docx",
            "file_size": 15345,
            "date_attached": "2015-01-29T09:56:05.432",
            "file": "https://specimens.cancer.gov/backend/resource/attach/serve/6/"
        },
        {
            "id": "https://specimens.cancer.gov/api/resource-attachment/3/",
            "user": "tissuenetwork",
            "resource": "https://specimens.cancer.gov/api/resource/6/",
            "file_name": "info card 03242014.pdf",
            "file_size": 71610,
            "date_attached": "2014-06-10T16:21:10.388",
            "file": "https://specimens.cancer.gov/backend/resource/attach/serve/3/"
        },
        {
            "id": "https://specimens.cancer.gov/api/resource-attachment/7/",
            "user": "tombeachaz",
            "resource": "https://specimens.cancer.gov/api/resource/54/",
            "file_name": "BBDP AZSAND brochure 10-25-12.pub",
            "file_size": 5554688,
            "date_attached": "2016-01-12T20:01:07.760",
            "file": "https://specimens.cancer.gov/backend/resource/attach/serve/7/"
        },
        {
            "id": "https://specimens.cancer.gov/api/resource-attachment/5/",
            "user": "cohortsbio",
            "resource": "https://specimens.cancer.gov/api/resource/42/",
            "file_name": "BHCB pamphletfinal04242014.pdf",
            "file_size": 806630,
            "date_attached": "2014-08-05T07:34:08.682",
            "file": "https://specimens.cancer.gov/backend/resource/attach/serve/5/"
        },
        {
            "id": "https://specimens.cancer.gov/api/resource-attachment/4/",
            "user": "werner",
            "resource": "https://specimens.cancer.gov/api/resource/33/",
            "file_name": "Werner Registry Resource Description.pdf",
            "file_size": 7011,
            "date_attached": "2014-06-25T15:42:34.221",
            "file": "https://specimens.cancer.gov/backend/resource/attach/serve/4/"
        }
    ]
}