Resources Repository Get Directory
🤬
Get Directory
Get children of specified directory
Http Method
GET
End Point
/~api/repositories/{projectId}/directories/{revisionAndDirectory:.*}
Placeholder Description Example
{projectId} Project Id 1
{revisionAndDirectory} Revision And Directory some-branch-or-tag/path/to/directory
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
[ {
"path" : "string" ,
"isFile" : true
}
]
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> https://crash.software/~api/repositories/1/directories/some-branch-or-tag/path/to/directory
Please wait...
Page is in error, reload to recover