docs: stub out file sections

This commit is contained in:
Stevan Freeborn
2023-04-25 08:02:09 -05:00
parent 99a0508e5c
commit 11aa9eba61
5 changed files with 25 additions and 1 deletions
+14 -1
View File
@@ -187,7 +187,20 @@ export const versionOne: DocsStructure = {
{ {
title: 'Files', title: 'Files',
folder: 'files', folder: 'files',
children: [], children: [
{
title: 'Get File',
folder: 'get_file',
copy: 'copy.md',
example: 'example.md',
},
{
title: 'Add File',
folder: 'add_file',
copy: 'copy.md',
example: 'example.md',
},
],
}, },
], ],
}, },
@@ -0,0 +1 @@
# Add File {% #add-file %}
@@ -0,0 +1,5 @@
# Add a file to a record in an app
{% code method="POST" heading="files/{appId}/{recordId}/
{fieldId}" defaultLanguage="bash" }
{% /code %}
@@ -0,0 +1 @@
# Get File {% #get-file %}
@@ -0,0 +1,4 @@
# Retrieve a file from a record in an app
{% code method="GET" heading="/Files/{appId}/{recordId}/{fieldId}" defaultLanguage="bash" }
{% /code %}