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

apiTest: listPermissions #7946

Merged
merged 3 commits into from
Dec 13, 2023
Merged

apiTest: listPermissions #7946

merged 3 commits into from
Dec 13, 2023

Conversation

ScharfViktor
Copy link
Contributor

first api test for new sharing ng api:
getting permissions list: https://owncloud.dev/libre-graph-api/#/drives.permissions/ListPermissions

Copy link

update-docs bot commented Dec 12, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@ScharfViktor
Copy link
Contributor Author

@individual-it @saw-jan I created first test as example. ready to discuss suggestions and get feedback.

Copy link
Member

@saw-jan saw-jan left a comment

Choose a reason for hiding this comment

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

👍

Copy link

sonarcloud bot commented Dec 13, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Comment on lines +106 to +109
public static function getBetaFullUrl(string $baseUrl, string $path): string {
$baseUrl = rtrim($baseUrl, "/");
return $baseUrl . '/graph/v1beta1/' . $path;
}
Copy link
Member

Choose a reason for hiding this comment

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

what will we do when the path changes? change every occurrence of getBetaFullUrl to getFullUrl?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think, yes.

@ScharfViktor ScharfViktor merged commit b4d1fee into master Dec 13, 2023
4 checks passed
@delete-merged-branch delete-merged-branch bot deleted the listPermissionsTest branch December 13, 2023 11:34
ownclouders pushed a commit that referenced this pull request Dec 13, 2023
* apiTest: listPermissions

* fix after review

* fix
2403905 pushed a commit to 2403905/ocis that referenced this pull request Jan 24, 2024
* apiTest: listPermissions

* fix after review

* fix
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.

3 participants