List folder content
Changed onList the content of a repository tree, with pagination support.
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/api/spaces/{namespace}/{repo}/tree/{rev}/{path}
- Auth: HTTP bearer
Path parameters
Wildcard path parameter
Query parameters
If true, returns returns associated commit data for each entry and security scanner metadata.
If true, returns the tree recursively.
1.000 by default, 100 by default for expand=true
Response
List of entries in the repository tree
Changes
- breaking
for the
queryrequest parameterexpand, default valuefalsewas removed - breaking
for the
queryrequest parameterrecursive, default valuefalsewas removed - breaking
the
/////response's property type changed from no type tostringfor status - breaking
the
///response's property type changed from no type tostringfor status - breaking
the
/////response's property type changed from no type tostringfor status - breaking
the
///response's property type changed from no type tostringfor status - breaking
the
/////response's property type changed from no type tostringfor status - breaking
the
///response's property type changed from no type tostringfor status - breaking
the
/////response's property type changed from no type tostringfor status - breaking
the
///response's property type changed from no type tostringfor status - breaking
the
//response's property type changed from no type tostringfor status - breaking
the
/////response's property type changed from no type tostringfor status - breaking
the
///response's property type changed from no type tostringfor status - breaking
the
/response's property type changed from no type tostringfor status - info
for the
queryrequest parameterexpand, the type was generalized from no type tostring - info
for the
queryrequest parameterrecursive, the type was generalized from no type tostring - info
the
//response's property pattern was changed from^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$to^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$for the status
- breaking