Skip to content

Feature/storage owner#22

Merged
ylebre merged 21 commits intomainfrom
feature/storage-owner
Mar 23, 2026
Merged

Feature/storage owner#22
ylebre merged 21 commits intomainfrom
feature/storage-owner

Conversation

@ylebre
Copy link
Copy Markdown
Member

@ylebre ylebre commented Mar 10, 2026

No description provided.

@ylebre ylebre requested a review from Potherca March 10, 2026 16:07
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

@ylebre ylebre merged commit e0de438 into main Mar 23, 2026
21 checks passed
@ylebre ylebre deleted the feature/storage-owner branch March 23, 2026 10:27
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