Skip to content

Add pagination and partial fetching options to listTemplates operation #32

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

Closed

Conversation

prince04-coder
Copy link

@prince04-coder prince04-coder commented Mar 4, 2025

Fixes #15

Implement pagination and partial fetching for the listTemplates operation.

  • client/typescript/apap.ts

    • Add offset, limit, and fields query parameters to listTemplates operation.
    • Update listTemplates response to include pagination metadata.
    • Update listTemplates response to include pagination links.
  • server/index.ts

    • Add support for offset, limit, and fields query parameters in listTemplates operation.
    • Update listTemplates response to include pagination metadata.
    • Update listTemplates response to include pagination links.
  • README.md

    • Update documentation to include information about pagination and partial fetching options in listTemplates operation.

For more details, open the Copilot Workspace session.

Fixes accordproject#15

Implement pagination and partial fetching for the `listTemplates` operation.

* **client/typescript/apap.ts**
  - Add `offset`, `limit`, and `fields` query parameters to `listTemplates` operation.
  - Update `listTemplates` response to include pagination metadata.
  - Update `listTemplates` response to include pagination links.

* **server/index.ts**
  - Add support for `offset`, `limit`, and `fields` query parameters in `listTemplates` operation.
  - Update `listTemplates` response to include pagination metadata.
  - Update `listTemplates` response to include pagination links.

* **README.md**
  - Update documentation to include information about pagination and partial fetching options in `listTemplates` operation.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/accordproject/apap/issues/15?shareId=XXXX-XXXX-XXXX-XXXX).
@dselman
Copy link
Contributor

dselman commented May 15, 2025

This has been implemented in the generic REST handler for all resources.

@dselman dselman closed this May 15, 2025
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.

templates and agreement partial fetch and pagination
2 participants