You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The workspace details flyover includes a YAML viewer for the Workspace. This issue involves implementing the backend functionality to fetch the Workspace YAML.
Details
A new HTTP path needs to be added to fetch the Workspace YAML.
Proposed path: GET /api/v1/workspaces/{namespace}/{name}/details/yaml
Note: There will likely be other /details/ paths and possibly /actions/ paths in the future at the same depth.
Possible JSON Payloads
Two options are being considered for the response format:
Option 1:
A normal envelope (JSON with a "data" field at the root), containing a YAML string of the Workspace YAML as the data payload.
Example:
The workspace details flyover includes a YAML viewer for the Workspace. This issue involves implementing the backend functionality to fetch the Workspace YAML.
Details
GET /api/v1/workspaces/{namespace}/{name}/details/yaml
/details/
paths and possibly/actions/
paths in the future at the same depth.Possible JSON Payloads
Two options are being considered for the response format:
Option 1:
A normal envelope (JSON with a
"data"
field at the root), containing a YAML string of the Workspace YAML as the data payload.Example:
Option 2: JSON with a Base64-encoded YAML string under
yaml_b64
The text was updated successfully, but these errors were encountered: