Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contained resource metadata statements #96

Open
elf-pavlik opened this issue Oct 13, 2022 · 0 comments
Open

Contained resource metadata statements #96

elf-pavlik opened this issue Oct 13, 2022 · 0 comments

Comments

@elf-pavlik
Copy link

elf-pavlik commented Oct 13, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants