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

Update itemanalytics-get.md #9287

Merged
merged 3 commits into from
Mar 30, 2024
Merged

Update itemanalytics-get.md #9287

merged 3 commits into from
Mar 30, 2024

Conversation

aaronmi
Copy link
Contributor

@aaronmi aaronmi commented Mar 26, 2024

Add a note to clarify {item-id} for /sites/{site-id}/lists/{list-id}/items/{item-id} should be the listItemUniqueId.

Add a note to clarify {item-id} for /sites/{site-id}/lists/{list-id}/items/{item-id} should be the listItemUniqueId.
Copy link

Learn Build status updates of commit 1b874ee:

✅ Validation status: passed

File Status Preview URL Details
api-reference/v1.0/api/itemanalytics-get.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

@@ -40,6 +40,10 @@ GET /drives/{drive-id}/items/{item-id}/analytics/lastSevenDays
GET /sites/{site-id}/analytics/lastSevenDays
GET /sites/{site-id}/lists/{list-id}/items/{item-id}/analytics/lastSevenDays
```

> [!NOTE]
> The value for `{item-id}` in the `/sites/{site-id}/lists/{list-id}/items/{item-id}` request is the `listItemUniqueId`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need a link to where they can get the listItemUniqueId value?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea. To get the listItemUniqueId of an item, call /sites/{site-id}/lists/{list-id}/items/{item-id}?$select=sharepointIds.
Ref. https://learn.microsoft.com/en-us/graph/api/resources/sharepointids?view=graph-rest-1.0

Copy link

Learn Build status updates of commit 00f3f3a:

✅ Validation status: passed

File Status Preview URL Details
api-reference/v1.0/api/itemanalytics-get.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

@Lauragra Lauragra added ready to merge Use this label to indicate to the repository admins that your PR is ready to merge into master. and removed awaiting internal response labels Mar 29, 2024
Copy link

Learn Build status updates of commit 1dd2757:

✅ Validation status: passed

File Status Preview URL Details
api-reference/v1.0/api/itemanalytics-get.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

@Lauragra Lauragra merged commit 7297771 into microsoftgraph:main Mar 30, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Use this label to indicate to the repository admins that your PR is ready to merge into master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants