Interface Resource

Processed resource type

Hierarchy

  • Resource

Properties

access: {
    active?: boolean;
    urlType?: string;
}

Information about the resource's accessibility

Type declaration

  • Optional active?: boolean
  • Optional urlType?: string
additionalData: StringIndexedObject

Non-standard additional data provided by the API.

cache: {
    updated?: Date;
    url?: string;
}

Information about the document's cached version

Type declaration

  • Optional updated?: Date
  • Optional url?: string
created?: Date

When the resource was created

dataset: {
    id?: string;
    position?: number;
}

The dataset the resource belongs to

Type declaration

  • Optional id?: string

    The dataset's ID

  • Optional position?: number

    The resource's position within the dataset

description?: string

The resource's long-form description

format?: string

The resource's file format

hash?: string

The resource's hash

id: string

The resource's ID

languages: string[]

Which languages the resource was published in

metadata: Metadata

Meta-metadata

mimeType: {
    inner?: string;
    resource?: string;
}

Information about the document's MIME type

Type declaration

  • Optional inner?: string

    The MIME type of resources contained within archives

  • Optional resource?: string

    The resource's direct MIME type

modified?: Date

When the resource was last modified

name: string

The resource's short name, may not be human-readable

size?: number

The resource's size

state?: string

The resource's state

url: string

The resource's url

Generated using TypeDoc