Version 4.0.25.20 (latest)
Get Project File Info
Returns information about a file in the project
Request
GET
/projects/{project_id}/files/file
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
project_id
string
Project Id
query
HTTP Query
Expand HTTP Query definition...
file_id
string
File Id
fields
string
Requested fields
Response
200: Project File
Datatype
Description
(object)
can
lock
object
Operations the current user is able to perform on this object
id
lock
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
lock
string
Path, file name, and extension of the file relative to the project root directory
title
lock
string
Display name
type
lock
string
File type: model, view, etc
extension
lock
string
The extension of the file: .view.lkml, .model.lkml, etc
mime_type
lock
string
File mime type
editable
lock
boolean
State of editability for the file.
Expand GitStatus definition...
action
lock
string
Git action: add, delete, etc
conflict
lock
boolean
When true, changes to the local file conflict with the remote repository
revertable
lock
boolean
When true, the file can be reverted to an earlier state
text
lock
string
Git description of the action
400: Bad Request
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link

