curl --request GET \
--url https://api.getcargo.io/v1/context/files \
--header 'Authorization: Bearer <token>'{
"files": [
{
"path": "<string>",
"name": "<string>",
"kind": "file",
"size": 123,
"sha": "<string>"
}
]
}List files and folders at a given path in the context repository.
curl --request GET \
--url https://api.getcargo.io/v1/context/files \
--header 'Authorization: Bearer <token>'{
"files": [
{
"path": "<string>",
"name": "<string>",
"kind": "file",
"size": 123,
"sha": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path to browse in the repository. Leave empty to browse root.
Successful response
List of files and folders at the given path.
Show child attributes
Was this page helpful?