Get workspace file content
GET/v1/workspaces/:workspaceId/files/:filePath
The Go API also registers a wildcard route so filePath may contain slashes.
Request
Responses
- 200
- 206
- 304
- 400
- 401
- 403
- 404
- 500
File content.
Response Headers
Entity tag of the returned version.
Base64url-encoded FileProvenance JSON for the exact returned version, when available.
User id recorded when this version was written, when available.
Display name recorded when this version was written, when available.
Exact S3 version id of the returned content.
Partial file content.
Response Headers
Base64url-encoded FileProvenance JSON for the exact returned version, when available.
File content matches If-None-Match.
Response Headers
Base64url-encoded FileProvenance JSON for the exact returned version, when available.
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.