Updating specs again.

This commit is contained in:
mike12345567 2024-10-30 14:40:13 +00:00
parent d6b8642b7c
commit 38760897bf
4 changed files with 40 additions and 0 deletions

View File

@ -32,6 +32,15 @@
"type": "string" "type": "string"
} }
}, },
"viewId": {
"in": "path",
"name": "viewId",
"required": true,
"description": "The ID of the view which this request is targeting.",
"schema": {
"type": "string"
}
},
"rowId": { "rowId": {
"in": "path", "in": "path",
"name": "rowId", "name": "rowId",

View File

@ -23,6 +23,13 @@ components:
description: The ID of the table which this request is targeting. description: The ID of the table which this request is targeting.
schema: schema:
type: string type: string
viewId:
in: path
name: viewId
required: true
description: The ID of the view which this request is targeting.
schema:
type: string
rowId: rowId:
in: path in: path
name: rowId name: rowId

View File

@ -8,6 +8,16 @@ export const tableId = {
}, },
} }
export const viewId = {
in: "path",
name: "viewId",
required: true,
description: "The ID of the view which this request is targeting.",
schema: {
type: "string",
},
}
export const rowId = { export const rowId = {
in: "path", in: "path",
name: "rowId", name: "rowId",

View File

@ -897,6 +897,8 @@ export interface components {
parameters: { parameters: {
/** @description The ID of the table which this request is targeting. */ /** @description The ID of the table which this request is targeting. */
tableId: string; tableId: string;
/** @description The ID of the view which this request is targeting. */
viewId: string;
/** @description The ID of the row which this request is targeting. */ /** @description The ID of the row which this request is targeting. */
rowId: string; rowId: string;
/** @description The ID of the app which this request is targeting. */ /** @description The ID of the app which this request is targeting. */
@ -1514,6 +1516,10 @@ export interface operations {
/** Lookup a view, this could be internal or external. */ /** Lookup a view, this could be internal or external. */
viewGetById: { viewGetById: {
parameters: { parameters: {
path: {
/** The ID of the view which this request is targeting. */
viewId: components["parameters"]["viewId"];
};
header: { header: {
/** The ID of the app which this request is targeting. */ /** The ID of the app which this request is targeting. */
"x-budibase-app-id": components["parameters"]["appId"]; "x-budibase-app-id": components["parameters"]["appId"];
@ -1531,6 +1537,10 @@ export interface operations {
/** Update a view, this can be against an internal or external table. */ /** Update a view, this can be against an internal or external table. */
viewUpdate: { viewUpdate: {
parameters: { parameters: {
path: {
/** The ID of the view which this request is targeting. */
viewId: components["parameters"]["viewId"];
};
header: { header: {
/** The ID of the app which this request is targeting. */ /** The ID of the app which this request is targeting. */
"x-budibase-app-id": components["parameters"]["appId"]; "x-budibase-app-id": components["parameters"]["appId"];
@ -1553,6 +1563,10 @@ export interface operations {
/** Delete a view, this can be against an internal or external table. */ /** Delete a view, this can be against an internal or external table. */
viewDestroy: { viewDestroy: {
parameters: { parameters: {
path: {
/** The ID of the view which this request is targeting. */
viewId: components["parameters"]["viewId"];
};
header: { header: {
/** The ID of the app which this request is targeting. */ /** The ID of the app which this request is targeting. */
"x-budibase-app-id": components["parameters"]["appId"]; "x-budibase-app-id": components["parameters"]["appId"];