Skip to content

feat: Add Get Sheet Shares#35

Open
akimpel-smar wants to merge 2 commits intomainfrom
feature/get_sheet_shares
Open

feat: Add Get Sheet Shares#35
akimpel-smar wants to merge 2 commits intomainfrom
feature/get_sheet_shares

Conversation

@akimpel-smar
Copy link

@akimpel-smar akimpel-smar commented Jun 12, 2025

Adds getSheetShares() method to smartsheet-sheet-api.ts.

Adds corresponding tool in smartsheet-sheet-tools.ts to fetch all sheet shares.

Also adds build-windows to package.json.

@akimpel-smar akimpel-smar changed the title Feature: Add Get Sheet Shares feat: Add Get Sheet Shares Jun 12, 2025
* @returns Sheet shares data
*/
async getSheetShares(
sheetId: string,
Copy link
Collaborator

Choose a reason for hiding this comment

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

my assumption is that most users will not

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

Pushed - I left this as a separate tool for convenience. It's possible we may be able to dry it up further but I don't think keeping these separate (especially given this is undocumented) is a bad thing.

Copy link
Contributor

Choose a reason for hiding this comment

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

There is an undocumented public API I added a couple years ago to the API get sheet endpoint by the "DirectId"

Is there a way we can document it? Jim could help us get it in?

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