Skip to content

Fix URLs in the archives guide - #778

Merged
superojla merged 12 commits into
box:stagingfrom
psatala-box:ddoc-1320/create-guide-for-archive-apis
Jul 28, 2025
Merged

Fix URLs in the archives guide#778
superojla merged 12 commits into
box:stagingfrom
psatala-box:ddoc-1320/create-guide-for-archive-apis

Conversation

@psatala-box

@psatala-box psatala-box commented Jul 25, 2025

Copy link
Copy Markdown
Collaborator

Description

Fixes for URLs in the archives guide. The guide was implemented in #754.

DDOC ticket: DDOC-1320
Jira ticket: APIWG-506

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own changes
  • I have run yarn lint to make sure my changes pass all linters
  • I have pulled the latest changes from the upstream developer branch

Contribution guidelines

For contribution guidelines, styleguide, and other helpful information please
see the CONTRIBUTING.md file in the root of this project.

@psatala-box
psatala-box marked this pull request as ready for review July 25, 2025 11:48
Comment on lines +50 to +52
[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/

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


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

@superojla
superojla merged commit 671e6f6 into box:staging Jul 28, 2025
7 checks passed
psatala-box added a commit to psatala-box/developer.box.com that referenced this pull request Jul 28, 2025
* Create guides for Box Archive APIs

* Fix linter issue

* Address review comments

* Update list of supported APIs

* Add information about contacting customer support

* Add information about not allowing edits

* Address review comments

* Update wording

* Apply review comments

* Apply review comments

* Fix URLs in the archives guide
superojla pushed a commit that referenced this pull request Jul 28, 2025
* Create guides for Box Archive APIs (#754)

* Create guides for Box Archive APIs

* Fix linter issue

* Address review comments

* Update list of supported APIs

* Add information about contacting customer support

* Add information about not allowing edits

* Address review comments

* Update wording

* Apply review comments

* Apply review comments

* Fix URLs in the archives guide (#778)

* Create guides for Box Archive APIs

* Fix linter issue

* Address review comments

* Update list of supported APIs

* Add information about contacting customer support

* Add information about not allowing edits

* Address review comments

* Update wording

* Apply review comments

* Apply review comments

* Fix URLs in the archives guide
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.

2 participants