cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example response of team folder archive check api

Example response of team folder archive check api

hhting
Explorer | Level 4

Hi dropbox dev,


We would like to know the response format of the team folder archive check API.

If the response contains a failed job, what is the format of the error? Does it include an error tag?

An example response with a failed job in JSON format would be appreciated.

 

Thanks

 

https://www.dropbox.com/developers/documentation/http/teams#team-team_folder-archive-check

2 Replies 2

Здравко
Legendary | Level 20

Hi @hhting,

Yes, maybe an example might add more clarity, but the description is there and you may derive expected format. Just an example:

{
  ".tag": "failed",
  "failed": {
    ".tag": "access_error",
    "access_error": {
      ".tag": "invalid_team_folder_id"
    }
  }
}

 

 

Greg-DB
Dropbox Staff

@hhting As Здравко mentioned, look under TeamFolderArchiveJobStatus to see the description of the failed job status. Specifically, be sure to click on TeamFolderArchiveError, and so on, to expand the documentation for each nested type.

 

That describes the structure of that type, but I'll ask the team to add an example of that scenario as well.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Здравко Legendary | Level 20
What do Dropbox user levels mean?