Skip to content
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

--fields=sync state not working with box folder: get #124

Closed
TonyHuckle opened this issue Feb 19, 2019 · 1 comment
Closed

--fields=sync state not working with box folder: get #124

TonyHuckle opened this issue Feb 19, 2019 · 1 comment

Comments

@TonyHuckle
Copy link

when running 'box folders:get --as-user= --fields=sync_state'

only the type and ID fields are returned.

expected sync_state which is returned when doing the following in postman

curl -X GET
'https://api.box.com/2.0/folders/?fields=sync_state'
-H 'Authorization: Bearer <>'
-H 'Postman-Token: <>'
-H 'cache-control: no-cache'

I get the result

{
"type": "folder",
"id": "<>",
"etag": "2",
"sync_state": "synced"
}

@mattwiller
Copy link
Contributor

@TonyHuckle This issue has already been resolved on master with #113 and will be fixed in the next CLI release!

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

No branches or pull requests

2 participants