Version 4.0.24.12
Get Project File Info
Returns information about a file in the project
Request
GET
/projects/{project_id}/files/file
Datatype
Description
Request
path
Expand HTTP Path definition...
project_id
Project Id
query
Expand HTTP Query definition...
file_id
File Id
fields
Requested fields
Response
200: Project File
Datatype
Description
(object)
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