The file type of an object.

Writable Fields:

name: Name of the file type. Examples:

  • Hierarchical Data Format version 5
  • Comma-separated values file
  • Microsoft Excel Open XML Spreadsheet

extension: Filename extension. Examples:

  • h5
  • csv
  • xlsx

The combination of name and extension are enforced to be unique.

Read-only Fields:

url: Reference to the instance of the FileType, final integer is the FileType id

last_updated: Datetime that this record was last updated

updated_by: Reference to the user that updated this record

GET /api/file_type/3/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://data.fairdatapipeline.org/api/file_type/3/?format=api",
    "last_updated": "2024-02-09T15:36:46.108822Z",
    "name": "YAML Document",
    "extension": "yaml",
    "updated_by": "https://data.fairdatapipeline.org/api/users/2/?format=api"
}