Skip to main content
Question

Is Box's REST API complaint to or reflects the Box's Open API Specification

  • May 22, 2025
  • 9 replies
  • 52 views

Forum|alt.badge.img

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.

 

 

 

 

9 replies

Forum|alt.badge.img

Hi Team,

 

   Could anyone please respond to the above thread?

   My many thanks in advance.

 

Warm regards,

Raman Palikala.

 

 

 

  


Forum|alt.badge.img

 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.


Forum|alt.badge.img

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.

 

 

 


Forum|alt.badge.img

Hi Team,

 

   Could you please respond to my case as it is very urgent?

 

Thanks and regards,

Raman Palikala.

 

 

 


Forum|alt.badge.img

Hi 

 

For stuff that's particularly urgent, it's probably best to open a case with--or even call--Box support (see "Contact Support" in the blue nav bar at the top of this page).

 

Cheers,

 

Ian

 


Forum|alt.badge.img

Thanks Ian.

Warm regards,

Raman Palikala.

 


Forum|alt.badge.img

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!


Forum|alt.badge.img

Hello, 

 

Please reference https://github.com/box/box-python-sdk/issues/386

 

Best, 

Kourtney 


Forum|alt.badge.img

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***