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

enhancement: add creation time to the permission object #179

Merged
merged 1 commit into from Apr 25, 2024

Conversation

fschade
Copy link
Contributor

@fschade fschade commented Apr 24, 2024

the c-time is not part of the official ms spec, that means were extending the permission object with a creationDateTime object property.

not sure how we proceed with that (not part of the official spec), lets discuss it here!

Needed by: owncloud/ocis#8749

2403905
2403905 previously approved these changes Apr 24, 2024
@fschade fschade marked this pull request as draft April 24, 2024 14:45
Copy link
Contributor

@rhafer rhafer left a comment

Choose a reason for hiding this comment

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

Fine with me. We should just add a note that this is a libregraph property only. Similar to what is done for the createLink request body (driveItemCreateLink)

@@ -4963,6 +4963,11 @@ components:
description: An optional expiration date which limits the permission in time.
format: date-time
nullable: true
creationDateTime:
type: string
description: An optional creation date.
Copy link
Contributor

Choose a reason for hiding this comment

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

Please at a note here, that this is libregraph only.

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually I was referring to add the note the the description. Like we do e.g. here:
https://github.com/owncloud/libre-graph-api/blob/main/api/openapi-spec/v1.0.yaml#L4222

api/openapi-spec/v1.0.yaml Outdated Show resolved Hide resolved
@fschade fschade marked this pull request as ready for review April 24, 2024 14:53
@fschade fschade requested a review from rhafer April 24, 2024 14:54
@@ -4963,6 +4963,11 @@ components:
description: An optional expiration date which limits the permission in time.
format: date-time
nullable: true
creationDateTime:
type: string
description: An optional creation date.
Copy link
Contributor

Choose a reason for hiding this comment

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

Actually I was referring to add the note the the description. Like we do e.g. here:
https://github.com/owncloud/libre-graph-api/blob/main/api/openapi-spec/v1.0.yaml#L4222

@fschade fschade merged commit ebb1b6c into owncloud:main Apr 25, 2024
1 check passed
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.

None yet

3 participants