Is Box's REST API complaint to or reflects the Box's Open API Specification
回答済みHi Team,
Is the Box's REST API available under https://developer.box.com/reference
is complaint to or reflects the Box's Open API Specification available under
https://github.com/box/box-openapi/blob/master/v2.0/openapi-v2.json ?
The reason I have this question is I haven't found the field 'modified_at' in the Box's Open API Specification file
(link given above) but is available in the response which I got when I did hit the RESTful service
https://developer.box.com/reference#get-folder-info
Eagerly awaiting for your response.
Thanks and regards,
Raman Palikala.
-
Thanks for identifying this issue. Unfortunately, the Open API specification that you linked to is out of date with the API. The most current source of information for our API is our reference docs. I'll share this issue about the Open API specification with the team who owns it.
-
Hi Murtza,
Thanks for a valuable information provided.
Regarding the docs, I got where the latest ones can be found. Thanks so much for clarifying this.
And coming to open API, do you mean to say that the open API specification at
https://github.com/box/box-openapi/blob/master/v2.0/openapi-v2.json
is out of date?
And the NEW open API specification is already available which would be sharing to me
by the team who owns it, right?
Warm regards,
Raman Palikala.
-
can you please add another voice to this choir?! i'm also trying to make use of the "modified_at" attribute, for both folders and files, and via the python SDK.
i’ve found this note from back in August’18:
https://community.box.com/t5/Platform-and-Development-Forum/Python-parsing-file-object/m-p/60381/highlight/true#M5116
but when i try:CurrBoxClient.folder(folder_id=12399999).get(params={'fields': 'modified_at'}) TypeError: get() got an unexpected keyword argument 'params'
it is also holding up our development. please advise us all on the results of this contact case! -
Hello,
Please reference https://github.com/box/box-python-sdk/issues/386
Best,
Kourtney
-
thanks to ***email address removed for privacy***, using the new v2 SDK works! the attribute is `fields`
folder = client.folder(folder_id='12345').get(fields=['modified_at'])
https://github.com/box/box-python-sdk/issues/386#issuecomment-***number removed for privacy***
サインインしてコメントを残してください。
コメント
9件のコメント