Version 4.0.24.16
Get All Project Files
Returns a list of the files in the project
Request
GET
/projects/{project_id}/files
Datatype
Description
Request
path
Expand HTTP Path definition...
project_id
Project Id
query
Expand HTTP Query definition...
fields
Requested fields
Response
200: Project File
Datatype
Description
(array)
can
lock
Operations the current user is able to perform on this object
id
lock
An opaque token uniquely identifying a file within a project. Avoid parsing or decomposing the text of this token. This token is stable within a Looker release but may change between Looker releases
path
lock
Path, file name, and extension of the file relative to the project root directory
title
lock
Display name
type
lock
File type: model, view, etc
extension
lock
The extension of the file: .view.lkml, .model.lkml, etc
mime_type
lock
File mime type
editable
lock
State of editability for the file.
git_status
lock
Status of the file according to git
Expand GitStatus definition...
action
lock
Git action: add, delete, etc
conflict
lock
When true, changes to the local file conflict with the remote repository
revertable
lock
When true, the file can be reverted to an earlier state
text
lock
Git description of the action
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Examples
Ruby
https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/list_files_per_project.rb |