Skip to content

Feature/storage owner#22

Open
ylebre wants to merge 17 commits intomainfrom
feature/storage-owner
Open

Feature/storage owner#22
ylebre wants to merge 17 commits intomainfrom
feature/storage-owner

Conversation

@ylebre
Copy link
Member

@ylebre ylebre commented Mar 10, 2026

No description provided.

@ylebre ylebre requested a review from Potherca March 10, 2026 16:07
Copy link
Member

@Potherca Potherca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only minor nitpicks, feel free to ignore.


public static function getUserByWebId($webId) {
$idParts = explode(".", $webId, 2);
if ($idParts[1] !== BASEDOMAIN . "/#me") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a scenario where the provided $webId does not have #me appended?
Otherwise if ( ! str_starts_with( $idParts[1], BASEDOMAIN)) { feels more appropriate

"openapi": "3.0.0",
"info": {
"description": "API documentation for PHP Solid Storage Provider",
"version": "0.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to semver? 0.1.0?

"title": "PHP Solid Storage Provider API",
"license": {
"name": "Copyright PDSInterop",
"url": "http://solid.local/api/v1/LICENSE"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be https://pdsinterop.org/license/?

"version": "0.1",
"title": "PHP Solid Storage Provider API",
"license": {
"name": "Copyright PDSInterop",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nitpick, missing space PDS Interop.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants