{ "opencollection": "1.0.0", "info": { "name": "Baserow API spec Admin Database table form view API", "version": "2.2.2" }, "items": [ { "info": { "name": "Database table form view", "type": "folder" }, "items": [ { "info": { "name": "get_edit_row_database_table_form_view", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/database/views/form/:slug/edit-row/:row_token/", "params": [ { "name": "row_token", "value": "", "type": "path", "description": "The signed edit token that identifies the row to edit." }, { "name": "slug", "value": "", "type": "path", "description": "The slug of the form view." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns the current field values of the row identified by the edit token. Only fields visible in the form view are returned. The token must be a valid signed token generated by a form_view_edit_row field." }, { "info": { "name": "update_edit_row_database_table_form_view", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/database/views/form/:slug/edit-row/:row_token/", "params": [ { "name": "row_token", "value": "", "type": "path", "description": "The signed edit token that identifies the row to edit." }, { "name": "slug", "value": "", "type": "path", "description": "The slug of the form view." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates the row identified by the edit token using the submitted field values. Only fields that are visible in the form view can be changed. The `row_token` must be a valid signed token generated by a form_view_edit_row field." }, { "info": { "name": "get_meta_database_table_form_view", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/database/views/form/:slug/submit/", "params": [ { "name": "slug", "value": "", "type": "path", "description": "The slug related to the form form." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns the metadata related to the form view if the form is publicly shared or if the user has access to the related workspace. This data can be used to construct a form with the right fields." }, { "info": { "name": "submit_database_table_form_view", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/database/views/form/:slug/submit/", "params": [ { "name": "slug", "value": "", "type": "path", "description": "The slug related to the form." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Submits the form if the form is publicly shared or if the user has access to the related workspace. The provided data will be validated based on the fields that are in the form and the rules per field. If valid, a new row will be created in the table." }, { "info": { "name": "upload_file_form_view", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/database/views/form/:slug/upload-file/", "params": [ { "name": "slug", "value": "", "type": "path", "description": "Submits files only if the view with the provided slughas a public file field." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Uploads a file anonymously to Baserow by uploading the file contents directly. A `file` multipart is expected containing the file contents." } ] } ], "bundled": true }