Using the Portal Files API
The Portal Files API can be used as an alternative to the Portal CLI to manage
dev portal content. Portal content must maintain a specific structure to render
correctly, so it is generally recommended to use the
because it enforces that structure. The Portal Files API is useful for smaller
tasks such as managing specification, content, or theme files outside the context of
|The path to the file.
|The contents of the file.
@ symbol in a command automatically reads the file on disk and places
its contents into the contents argument.
POST a Content File
For more details about content files, see the
Content File documentation.
POST a Spec File
For more details about specification files, see the
Spec File documentation.
POST a Theme File
For more details about theme files, see the
Theme File documentation.
GET a File
PATCH a File
DELETE a File