Render new API

This commit is contained in:
Andras Schmelczer 2024-12-15 11:46:36 +00:00
parent c567cec656
commit 08fe8d8663
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -73,14 +73,40 @@ export interface paths {
}; };
}; };
put?: never; put?: never;
post?: never; post: {
parameters: {
query?: never;
header: {
authorization: string;
};
path: {
vault_id: string;
};
cookie?: never;
};
requestBody: {
content: {
"application/json": components["schemas"]["CreateDocumentVersion"];
};
};
responses: {
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["DocumentVersion"];
};
};
};
};
delete?: never; delete?: never;
options?: never; options?: never;
head?: never; head?: never;
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/vaults/{vault_id}/documents/{relative_path}": { "/vaults/{vault_id}/documents/{document_id}": {
parameters: { parameters: {
query?: never; query?: never;
header?: never; header?: never;
@ -94,7 +120,7 @@ export interface paths {
authorization: string; authorization: string;
}; };
path: { path: {
relative_path: string; document_id: string;
vault_id: string; vault_id: string;
}; };
cookie?: never; cookie?: never;
@ -118,7 +144,7 @@ export interface paths {
authorization: string; authorization: string;
}; };
path: { path: {
relative_path: string; document_id: string;
vault_id: string; vault_id: string;
}; };
cookie?: never; cookie?: never;
@ -147,7 +173,7 @@ export interface paths {
authorization: string; authorization: string;
}; };
path: { path: {
relative_path: string; document_id: string;
vault_id: string; vault_id: string;
}; };
cookie?: never; cookie?: never;
@ -213,14 +239,23 @@ export interface paths {
export type webhooks = Record<string, never>; export type webhooks = Record<string, never>;
export interface components { export interface components {
schemas: { schemas: {
CreateDocumentVersion: {
contentBase64: string;
/** Format: date-time */
createdDate: string;
relativePath: string;
};
DeleteDocumentVersion: { DeleteDocumentVersion: {
/** Format: date-time */ /** Format: date-time */
createdDate: string; createdDate: string;
relativePath: string;
}; };
DocumentVersion: { DocumentVersion: {
contentBase64: string; contentBase64: string;
/** Format: date-time */ /** Format: date-time */
createdDate: string; createdDate: string;
/** Format: uuid */
documentId: string;
isDeleted: boolean; isDeleted: boolean;
relativePath: string; relativePath: string;
/** Format: date-time */ /** Format: date-time */
@ -232,6 +267,8 @@ export interface components {
DocumentVersionWithoutContent: { DocumentVersionWithoutContent: {
/** Format: date-time */ /** Format: date-time */
createdDate: string; createdDate: string;
/** Format: uuid */
documentId: string;
isDeleted: boolean; isDeleted: boolean;
relativePath: string; relativePath: string;
/** Format: date-time */ /** Format: date-time */
@ -249,15 +286,21 @@ export interface components {
vault_id: string; vault_id: string;
}; };
PathParams2: { PathParams2: {
relative_path: string;
vault_id: string; vault_id: string;
}; };
PathParams3: { PathParams3: {
relative_path: string; /** Format: uuid */
document_id: string;
vault_id: string; vault_id: string;
}; };
PathParams4: { PathParams4: {
relative_path: string; /** Format: uuid */
document_id: string;
vault_id: string;
};
PathParams5: {
/** Format: uuid */
document_id: string;
vault_id: string; vault_id: string;
}; };
PingResponse: { PingResponse: {
@ -273,7 +316,8 @@ export interface components {
/** Format: date-time */ /** Format: date-time */
createdDate: string; createdDate: string;
/** Format: int64 */ /** Format: int64 */
parentVersionId?: number | null; parentVersionId: number;
relativePath: string;
}; };
}; };
responses: never; responses: never;