Skip to content

Conversation

@KoditkarVedant
Copy link
Contributor

Description

Add support for List File Uploads API

Fixes #481

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for the List File Uploads API to the Notion client library, allowing users to retrieve and filter file uploads with pagination support.

  • Implements the List File Uploads API endpoint with filtering by status and pagination
  • Adds request/response models for the new API functionality
  • Includes integration tests to verify the API implementation

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Test/Notion.IntegrationTests/FileUploadsClientTests.cs Adds integration test for the new ListAsync method
Src/Notion.Client/Api/FileUploads/List/Response/ListFileUploadsResponse.cs Defines response model for list file uploads API
Src/Notion.Client/Api/FileUploads/List/Request/ListFileUploadsRequest.cs Implements request model for list file uploads API
Src/Notion.Client/Api/FileUploads/List/Request/IListFileUploadsQueryParameters.cs Defines interface for query parameters with documentation
Src/Notion.Client/Api/FileUploads/List/FileUploadsClient.cs Implements the ListAsync method in the FileUploadsClient
Src/Notion.Client/Api/FileUploads/IFileUploadsClient.cs Adds ListAsync method to the interface contract
Src/Notion.Client/Api/ApiEndpoints.cs Adds API endpoint URL for the list file uploads operation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@KoditkarVedant KoditkarVedant merged commit e23801b into main Oct 18, 2025
7 checks passed
@KoditkarVedant KoditkarVedant deleted the 481-add-support-to-list-file-uploads branch October 18, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for List file uploads

1 participant