Skip to content
2 changes: 1 addition & 1 deletion content/guides/archives/add-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The `id` parameter is the ID of the file/folder you want to add to the archive.
To specify the destination, use the `parent.id` [parameter][Update parent id of folder] in the request body.
This can be either an ID of an archive or the ID of a folder that is inside an archive.

[Create Archive]: e://post-archives
[Create Archive]: https://developer.box.com/reference/v2025.0/post-archives/
[Update file]: e://put-files-id
[Update parent id of file]: https://developer.box.com/reference/put-files-id/#param-parent-id
[Update folder]: e://put-folders-id
Expand Down
2 changes: 1 addition & 1 deletion content/guides/archives/restore-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To specify the destination, use the `parent.id` [parameter][Update parent id of
This is the ID of a folder (can be owned by any user) where you want to restore the file/folder.

To restore a file/folder to user's root folder, use `0` as the `parent.id` value. Additionally, pass the ID of the user in the
`parent.user_id` [parameter][Update parent user id of file] in the request body.
`parent.user_id` [parameter][Update parent user id of folder] in the request body.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Small update for consistency - the parent.id parameter links to folder, not file, so changing accordingly


[Update file]: e://put-files-id
[Update parent id of file]: https://developer.box.com/reference/put-files-id/#param-parent-id
Expand Down
6 changes: 3 additions & 3 deletions content/guides/archives/supported-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ See the table below for the full list of those APIs.
| [`PUT /files/:id/metadata/enterprise/securityClassification/6VMVochwUWo`][Update classification label on file] | Update a classification label on a file within an archive. |
| [`DELETE /files/:id/metadata/enterprise/securityClassification/6VMVochwUWo`][Delete classification label on file] | Delete a classification label on a file within an archive. |

[Create archive]: e://post-archives
[List archives]: e://get-archives
[Delete archive]: e://delete-archives-id
[Create archive]: https://developer.box.com/reference/v2025.0/post-archives/
[List archives]: https://developer.box.com/reference/v2025.0/get-archives/
[Delete archive]: https://developer.box.com/reference/v2025.0/delete-archives-id/
Comment on lines +50 to +52

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I had to update all URLs for the new archive endpoints since they are in the 2025.0 version. I'm not sure if the short notations supports that. Can this be achieved this way?

Suggested change
[Create archive]: https://developer.box.com/reference/v2025.0/post-archives/
[List archives]: https://developer.box.com/reference/v2025.0/get-archives/
[Delete archive]: https://developer.box.com/reference/v2025.0/delete-archives-id/
[Create archive]: e://v2025.0/post-archives
[List archives]: e://v2025.0/get-archives
[Delete archive]: e://v2025.0/delete-archives-id

[Update file]: e://put-files-id
[Update folder]: e://put-folders-id
[Upload file]: e://post-files-content
Expand Down
Loading