Render new API
This commit is contained in:
parent
c567cec656
commit
08fe8d8663
1 changed files with 53 additions and 9 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue