Skip to content

Commit

Permalink
Merge pull request #286 from fflorent/delete-column-api-doc
Browse files Browse the repository at this point in the history
Add missing DELETE column documentation
  • Loading branch information
alexmojaki authored Nov 14, 2023
2 parents 10e3eaf + 80cc1ed commit 51a2071
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
20 changes: 20 additions & 0 deletions api/grist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,19 @@ paths:
responses:
200:
description: Success
/docs/{docId}/tables/{tableId}/columns/{colId}:
delete:
operationId: "deleteColumn"
tags:
- columns
summary: "Delete a column of a table"
parameters:
- $ref: '#/components/parameters/docIdPathParam'
- $ref: '#/components/parameters/tableIdPathParam'
- $ref: '#/components/parameters/colIdPathParam'
responses:
200:
description: Success

/docs/{docId}/webhooks:
get:
Expand Down Expand Up @@ -2115,6 +2128,13 @@ components:
description: "Same as `limit` query parameter."
example: "5"
required: false
colIdPathParam:
in: path
name: colId
schema:
type: string
description: The column id (without the starting `$`) as shown in the column configuration below the label
required: true
tableIdPathParam:
in: path
name: tableId
Expand Down
Loading

0 comments on commit 51a2071

Please sign in to comment.