Skip to content

Document the copy_all API endpoint for reference files (FLCRM-19499)#39

Merged
nehilor merged 6 commits intov2from
feature/FLCRM-19499-copy-all-ref-files-v2
Mar 9, 2026
Merged

Document the copy_all API endpoint for reference files (FLCRM-19499)#39
nehilor merged 6 commits intov2from
feature/FLCRM-19499-copy-all-ref-files-v2

Conversation

@nehilor
Copy link
Contributor

@nehilor nehilor commented Mar 6, 2026

Description

This PR documents the new copy_all API endpoint for copying reference files between forms, as requested in FLCRM-19499.

Changes:

  • Added AttachmentCopyAllRequest and AttachmentCopyAllResponse schemas to rest-api.json.
  • Defined the POST /v2/attachments/copy_all endpoint in rest-api.json.
  • Created a new documentation page copy-all-attachments.md details the endpoint and its current limits (100 files / form, 1GB / form).
  • Updated _order.yaml to include the new endpoint in the Attachments API documentation.

Limits:

  • 100 reference files per form.
  • 1GB total per form.

Copilot AI review requested due to automatic review settings March 6, 2026 17:13
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 OpenAPI and documentation entries for a new POST /v2/attachments/copy_all endpoint that copies reference file attachments from one form to another, including stated limits (100 files / form, 1GB / form).

Changes:

  • Added AttachmentCopyAllRequest / AttachmentCopyAllResponse schemas to the OpenAPI spec.
  • Added the POST /v2/attachments/copy_all path definition to the OpenAPI spec.
  • Added a new Attachments doc page and included it in the Attachments docs ordering.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
reference/rest-api.json Defines the new copy_all endpoint and its request/response schemas.
reference/ATTACHMENTS/copy-all-attachments.md Adds a documentation page for the new endpoint and its limits.
reference/ATTACHMENTS/_order.yaml Adds the new doc page to the Attachments navigation order.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nehilor nehilor requested review from a team as code owners March 6, 2026 17:52
Copilot AI review requested due to automatic review settings March 6, 2026 17:57
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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nehilor nehilor changed the title Document the copy_all API endpoint for reference files Document the copy_all API endpoint for reference files (FLCRM-19499) Mar 9, 2026
- Add 400 Bad Request response to copy_all OpenAPI operation
- Add 401 response example payload for consistency
- Normalize front matter quote style in copy-all-attachments.md
Copilot AI review requested due to automatic review settings March 9, 2026 14:56
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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Change 401 description from 'Unauthorized' to '401' for consistency
- Add deprecated: false to copy_all endpoint
- Align with Attachments endpoints patterns
@nehilor nehilor merged commit f2d53cb into v2 Mar 9, 2026
1 check passed
@nehilor nehilor deleted the feature/FLCRM-19499-copy-all-ref-files-v2 branch March 9, 2026 19:55
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.

4 participants