Skip to content

Contained resource metadata statements #96

Open
@elf-pavlik

Description

@elf-pavlik

related to #66

https://solidproject.org/TR/protocol#writing-resources

Servers MUST NOT allow HTTP POST, PUT and PATCH to update a container’s resource metadata statements; if the server receives such a request, it MUST respond with a 409 status code. [Source]

https://solidproject.org/TR/protocol#contained-resource-metadata-statements

Contained resource metadata statements include the properties:

rdf:type
A class whose URI is the expansion of the URI Template [RFC6570] http://www.w3.org/ns/iana/media-types/{+iana-media-type}#Resource, where iana-media-type corresponds to a value from the IANA Media Types [IANA-MEDIA-TYPES].

stat:size
A non-negative integer giving the size of the resource in bytes.

dcterms:modified
The date and time when the resource was last modified.

stat:mtime
The Unix time when the resource was last modified.

I assume this is a closed list of predicates, and for the rdf:type only when the object matches the regex.


Please feel free to edit this issue at will, or just close it and create a new one if you see a better way to formulate it. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions