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

feat(arcgis-rest-portal): add removeItemThumbnail() #1202

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arcenter
Copy link

Resolves #780.

This PR adds the removeItemThumbnail() function, allowing users to delete an item's thumbnail via a POST request to the ArcGIS REST API.

Changes

  • Implements removeItemThumbnail() in remove.ts.
  • Adds unit tests in remove.test.ts to verify correct API calls and responses.
  • Contains documentation with usage examples.

Testing

  • Ran npm test to confirm all tests pass.

Note: This is my first PR to this project. I’m open to any suggestions or feedback!

Copy link
Contributor

@gavinr-maps gavinr-maps left a comment

Choose a reason for hiding this comment

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

@arcenter thanks for the submission!

I have done some testing and it seems like this works fine.

@gavinr-maps gavinr-maps requested a review from patrickarlt March 17, 2025 19:45
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.

add deleteItemThumbnail()
2 participants