This page returns a paginated list of all Collections.

The HTTP POST operation is allowed in order to create a new Collection instance; a single Collection may be created per POST. The ability to POST depends upon user account permissions.

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/collection/?username=jdoe&resource=12

Nested collections are identified uniquely by the "name" field.

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

Resource Attachments (files) may not be created here. They must be added in a separate step via the Resource Attachment API.

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

{
    "count": 392,
    "next": null,
    "previous": "https://specimens.cancer.gov/api/collection/?page=39",
    "results": [
        {
            "id": "https://specimens.cancer.gov/api/collection/266/",
            "name": "Vulva, NOS",
            "resource": "https://specimens.cancer.gov/api/resource/27/",
            "user": "paraickenny",
            "date_created": null,
            "date_modified": "2014-05-14T15:29:59.574",
            "organ_site": [
                "Vulva, NOS"
            ],
            "tumor_type": [
                "Carcinoma",
                "In Situ Carcinoma",
                "Squamous Cell Carcinoma"
            ],
            "specimen_type": [
                "Blood",
                "Buffy Coat",
                "Serum",
                "Surgical Resection"
            ],
            "secondary_specimen_types": [],
            "preservation_type": [
                "Formalin-Fixed Paraffin-Embedded",
                "Fresh/Frozen"
            ],
            "available_data": [
                "Treatment Information",
                "Outcome Information",
                "Demographic Information",
                "Pathology Report"
            ],
            "number_of_specimens": 29,
            "collection_types": [
                "Cancer Center",
                "Collaboration",
                "Institutional",
                "Pathology Department"
            ],
            "eligibility": [
                "Non-U.S. Organization",
                "Non-Profit",
                "Academia",
                "Commercial",
                "Government"
            ],
            "is_collaboration_required": false,
            "clinical_trial_url": ""
        },
        {
            "id": "https://specimens.cancer.gov/api/collection/377/",
            "name": "Washington University Leukemia Biospecimen Repository",
            "resource": "https://specimens.cancer.gov/api/resource/51/",
            "user": "watsonm",
            "date_created": "2015-05-29T00:52:08.345",
            "date_modified": "2015-05-29T00:52:08.345",
            "organ_site": [
                "Blood",
                "Bone Marrow"
            ],
            "tumor_type": [
                "Acute Myeloid Leukemia",
                "Leukemia",
                "Myelodysplastic Disease",
                "Other (Leukemia)"
            ],
            "specimen_type": [
                "DNA",
                "Plasma",
                "RNA",
                "Serum"
            ],
            "secondary_specimen_types": [],
            "preservation_type": [
                "Fresh/Frozen"
            ],
            "available_data": [
                "Demographic Information",
                "Treatment Information",
                "Outcome Information",
                "Other",
                "Family History",
                "Pathology Report"
            ],
            "number_of_specimens": 1000,
            "collection_types": [
                "Cancer Center",
                "Institutional",
                "SPORE"
            ],
            "eligibility": [
                "Non-Profit",
                "Academia",
                "Government"
            ],
            "is_collaboration_required": false,
            "clinical_trial_url": ""
        }
    ]
}