-
Notifications
You must be signed in to change notification settings - Fork 190
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
apiTest: listPermissions #7946
Conversation
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. |
@individual-it @saw-jan I created first test as example. ready to discuss suggestions and get feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
public static function getBetaFullUrl(string $baseUrl, string $path): string { | ||
$baseUrl = rtrim($baseUrl, "/"); | ||
return $baseUrl . '/graph/v1beta1/' . $path; | ||
} |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, yes.
* apiTest: listPermissions * fix after review * fix
* apiTest: listPermissions * fix after review * fix
first api test for new sharing ng api:
getting permissions list: https://owncloud.dev/libre-graph-api/#/drives.permissions/ListPermissions