v1

latestSwagger 2.0Apache 2.02026-07-1334102.9 MB
Custom Metadata

Update custom file metadata for a file

Update an existing custom file metadata record. Editable fields include title, description, language, resource type, and funding information.

patch/custom_file_metadata_records/{file_id}/

Path parameters

file_idstring required

The unique identifier of the file.

Request body

Example request

{
  "data": {
    "type": "custom-file-metadata-records",
    "attributes": {
      "title": "My Dataset File",
      "description": "This file contains raw data collected from fieldwork.",
      "language": "en",
      "resource_type_general": "Dataset",
      "funders": [
        {
          "funder_name": "National Science Foundation",
          "funder_identifier": "123456",
          "funder_identifier_type": "ROR",
          "award_number": "NSF-1234",
          "award_uri": "https://nsf.gov/awardsearch/showAward?AWD_ID=1234",
          "award_title": "Climate Change Research Grant"
        }
      ]
    }
  }
}

Response

Successfully updated custom file metadata record.