Skip to content

Commit 1494d53

Browse files
authored
Merge pull request #6353 from opsmill/wvd-20250424-add-artifact-content-types
docs: add artifact content types and clarify transformation output formats
2 parents debb8a9 + c2c33a2 commit 1494d53

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

docs/docs/topics/artifact.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@ import ReactPlayer from 'react-player/youtube'
66

77
# Artifact
88

9-
An artifact is the result of a [Transformation](./transformation.mdx) for a specific context and/or object. It can be either plain text or JSON format.
9+
An artifact is the result of a [Transformation](./transformation.mdx) for a specific context and/or object.
10+
11+
The following MIME types or formats are supported and will be rendered properly in Infrahub's web interface:
12+
13+
- application/json
14+
- application/yaml
15+
- application/xml
16+
- text/plain
17+
- text/markdown
18+
- text/csv
19+
- image/svg+xml
1020

1121
:::success Examples
1222

docs/docs/topics/transformation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Transformation
66

77
A `Transformation` is a generic plugin to transform a dataset into a different format to simplify it's ingestion by third-party systems.
88

9-
The output of a transformation can be either in JSON format or in plain text.
9+
The output of a transformation can be either in JSON or any text based format.
1010
>*Currently transformations must be written in Python or Jinja2, but in the future more languages could be supported.*
1111
1212
:::note Examples

0 commit comments

Comments
 (0)