Inspect workspace file or folder metadata headers
HEAD/v1/workspaces/:workspaceId/files/:filePath
The Go API also registers a wildcard route so filePath may contain slashes.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
File content headers.
Response Headers
ETag
Entity tag of the inspected version.
X-Kothar-File-Is-Folder
True when the inspected path is a folder marker.
X-Kothar-File-Provenance
Base64url-encoded FileProvenance JSON for the exact returned version, when available.
X-Kothar-File-User-Id
User id recorded when this version was written, when available.
X-Kothar-File-Username
Display name recorded when this version was written, when available.
X-Kothar-File-Version-Id
Exact S3 version id of the inspected content.
The request is malformed or invalid.
Authentication is required or invalid.
The caller is not allowed to perform this action.
The requested resource was not found.
The server encountered an unexpected error.