Skip to main content

Binary

ResourceFoundation · OtherNormativeMaturity 5

A resource that represents the data of a single raw artifact as digital content accessible in its native format. A Binary resource can contain any content, whether text, image, pdf, zip archive, etc.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
0 of 0 parameters tested

Structure​

ElementCard.TypeDescription
contentTypeRequiredΣ
1..1codeMimeType of the binary contentBinding (required): mimetypes
securityContextΣ
0..1Reference(Resource)Identifies another resource to use as proxy when enforcing access control
data
0..1base64BinaryThe actual content

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/Binary?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

Binary defines no search parameters of its own; the common parameters below apply.

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition