Get All Project Files

Version 4.0.24.12

Get All Project Files

Returns a list of the files in the project

Request

GET /projects/{project_id}/files
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
project_id
string
Project Id
query
HTTP Query
Expand HTTP Query definition...
fields
string
Requested fields

Response

200: Project File

Datatype
Description
(array)
can
object
Operations the current user is able to perform on this object
id
string
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
string
Path, file name, and extension of the file relative to the project root directory
title
string
Display name
type
string
File type: model, view, etc
extension
string
The extension of the file: .view.lkml, .model.lkml, etc
mime_type
string
File mime type
editable
boolean
State of editability for the file.
git_status
Status of the file according to git
Expand GitStatus definition...
action
string
Git action: add, delete, etc
conflict
boolean
When true, changes to the local file conflict with the remote repository
revertable
boolean
When true, the file can be reverted to an earlier state
text
string
Git description of the action

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

Examples