@meshery/schemas 1.3.80 → 1.3.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cloudApi.d.mts +1536 -340
- package/dist/cloudApi.d.ts +1536 -340
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta1/registry/Registry.d.ts +18 -3
- package/dist/constructs/v1beta1/registry/RegistrySchema.js +3 -3
- package/dist/constructs/v1beta1/registry/RegistrySchema.mjs +3 -3
- package/dist/constructs/v1beta2/organization/Organization.d.ts +454 -2
- package/dist/constructs/v1beta2/organization/OrganizationSchema.js +1 -1
- package/dist/constructs/v1beta2/organization/OrganizationSchema.mjs +1 -1
- package/dist/constructs/v1beta3/connection/Connection.d.ts +1373 -447
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta3/content_piece/ContentPiece.d.ts +77 -22
- package/dist/constructs/v1beta3/content_piece/ContentPieceSchema.js +27 -7
- package/dist/constructs/v1beta3/content_piece/ContentPieceSchema.mjs +27 -7
- package/dist/index.d.mts +122 -1
- package/dist/index.d.ts +122 -1
- package/dist/mesheryApi.d.mts +639 -16
- package/dist/mesheryApi.d.ts +639 -16
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +1 -1
|
@@ -26,9 +26,17 @@ export interface paths {
|
|
|
26
26
|
* @description Inserts a new content piece. Insert-only: any supplied
|
|
27
27
|
* `id` and `expectedFingerprint` are ignored; existing rows change
|
|
28
28
|
* only through the conditional `updateContentPiece`. The
|
|
29
|
-
* `fingerprint` is server-computed.
|
|
30
|
-
*
|
|
31
|
-
* `rowNumber`
|
|
29
|
+
* `fingerprint` is server-computed. Row numbers are unique across
|
|
30
|
+
* the live content pieces of the organization, whatever their
|
|
31
|
+
* `profile`. When `rowNumber` is omitted the server assigns the next
|
|
32
|
+
* row number of the organization (one more than the highest row
|
|
33
|
+
* number the organization has used, counting soft-deleted content
|
|
34
|
+
* pieces so a deleted piece's number is not handed out again by
|
|
35
|
+
* assignment), atomically with the insert, so
|
|
36
|
+
* concurrent inserts never receive the same number. An organization
|
|
37
|
+
* that has never had a content piece is assigned row number 0 first. A supplied
|
|
38
|
+
* `rowNumber` that another live content piece of the organization
|
|
39
|
+
* already holds refuses the insert with a 409.
|
|
32
40
|
*/
|
|
33
41
|
post: operations["insertContentPiece"];
|
|
34
42
|
delete?: never;
|
|
@@ -51,14 +59,17 @@ export interface paths {
|
|
|
51
59
|
* @description Conditionally updates the content piece. When
|
|
52
60
|
* `expectedFingerprint` is supplied and stale, the update is
|
|
53
61
|
* refused with a 409, as is an update that would move the piece
|
|
54
|
-
* onto a `
|
|
55
|
-
* the
|
|
62
|
+
* onto a `rowNumber` another live content piece of the organization
|
|
63
|
+
* holds. An omitted `rowNumber` keeps the stored one.
|
|
56
64
|
*/
|
|
57
65
|
put: operations["updateContentPiece"];
|
|
58
66
|
post?: never;
|
|
59
67
|
/**
|
|
60
68
|
* Delete a content piece
|
|
61
|
-
* @description Soft-deletes the content piece.
|
|
69
|
+
* @description Soft-deletes the content piece. When `expectedFingerprint` is
|
|
70
|
+
* supplied, the delete applies only when the stored fingerprint
|
|
71
|
+
* still matches and is refused with a 409 otherwise; without it the
|
|
72
|
+
* delete is unconditional.
|
|
62
73
|
*/
|
|
63
74
|
delete: operations["deleteContentPiece"];
|
|
64
75
|
options?: never;
|
|
@@ -90,7 +101,7 @@ export interface components {
|
|
|
90
101
|
organizationId: string;
|
|
91
102
|
/** @description Subject of the owning profile. */
|
|
92
103
|
profile: string;
|
|
93
|
-
/** @description Row number of the content
|
|
104
|
+
/** @description Row number of the content piece, unique across the live content pieces of the organization. */
|
|
94
105
|
rowNumber: number;
|
|
95
106
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
96
107
|
fingerprint: string;
|
|
@@ -127,8 +138,13 @@ export interface components {
|
|
|
127
138
|
id?: string;
|
|
128
139
|
/** @description Subject of the owning profile. */
|
|
129
140
|
profile: string;
|
|
130
|
-
/**
|
|
131
|
-
|
|
141
|
+
/**
|
|
142
|
+
* @description Row number of the content piece, unique across the live content
|
|
143
|
+
* pieces of the organization. Optional: omitted on insert, the
|
|
144
|
+
* server assigns the next row number of the organization; omitted
|
|
145
|
+
* on update, the stored row number is kept.
|
|
146
|
+
*/
|
|
147
|
+
rowNumber?: number;
|
|
132
148
|
/** @description Content values, stored as a JSON blob. */
|
|
133
149
|
data?: Record<string, never>;
|
|
134
150
|
/**
|
|
@@ -161,7 +177,7 @@ export interface components {
|
|
|
161
177
|
organizationId: string;
|
|
162
178
|
/** @description Subject of the owning profile. */
|
|
163
179
|
profile: string;
|
|
164
|
-
/** @description Row number of the content
|
|
180
|
+
/** @description Row number of the content piece, unique across the live content pieces of the organization. */
|
|
165
181
|
rowNumber: number;
|
|
166
182
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
167
183
|
fingerprint: string;
|
|
@@ -222,7 +238,7 @@ export interface components {
|
|
|
222
238
|
"text/plain": string;
|
|
223
239
|
};
|
|
224
240
|
};
|
|
225
|
-
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content piece of the organization already holds the same
|
|
241
|
+
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content piece of the organization already holds the same rowNumber */
|
|
226
242
|
409: {
|
|
227
243
|
headers: {
|
|
228
244
|
[name: string]: unknown;
|
|
@@ -242,6 +258,11 @@ export interface components {
|
|
|
242
258
|
};
|
|
243
259
|
};
|
|
244
260
|
parameters: {
|
|
261
|
+
/**
|
|
262
|
+
* @description Optional optimistic-concurrency precondition for delete: the
|
|
263
|
+
* delete applies only when the stored fingerprint still matches.
|
|
264
|
+
*/
|
|
265
|
+
expectedFingerprint: string;
|
|
245
266
|
/** @description Content piece ID */
|
|
246
267
|
contentPieceId: string;
|
|
247
268
|
/** @description Get responses by page */
|
|
@@ -318,7 +339,7 @@ export interface operations {
|
|
|
318
339
|
organizationId: string;
|
|
319
340
|
/** @description Subject of the owning profile. */
|
|
320
341
|
profile: string;
|
|
321
|
-
/** @description Row number of the content
|
|
342
|
+
/** @description Row number of the content piece, unique across the live content pieces of the organization. */
|
|
322
343
|
rowNumber: number;
|
|
323
344
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
324
345
|
fingerprint: string;
|
|
@@ -398,8 +419,13 @@ export interface operations {
|
|
|
398
419
|
id?: string;
|
|
399
420
|
/** @description Subject of the owning profile. */
|
|
400
421
|
profile: string;
|
|
401
|
-
/**
|
|
402
|
-
|
|
422
|
+
/**
|
|
423
|
+
* @description Row number of the content piece, unique across the live content
|
|
424
|
+
* pieces of the organization. Optional: omitted on insert, the
|
|
425
|
+
* server assigns the next row number of the organization; omitted
|
|
426
|
+
* on update, the stored row number is kept.
|
|
427
|
+
*/
|
|
428
|
+
rowNumber?: number;
|
|
403
429
|
/** @description Content values, stored as a JSON blob. */
|
|
404
430
|
data?: Record<string, never>;
|
|
405
431
|
/**
|
|
@@ -432,7 +458,7 @@ export interface operations {
|
|
|
432
458
|
organizationId: string;
|
|
433
459
|
/** @description Subject of the owning profile. */
|
|
434
460
|
profile: string;
|
|
435
|
-
/** @description Row number of the content
|
|
461
|
+
/** @description Row number of the content piece, unique across the live content pieces of the organization. */
|
|
436
462
|
rowNumber: number;
|
|
437
463
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
438
464
|
fingerprint: string;
|
|
@@ -492,7 +518,7 @@ export interface operations {
|
|
|
492
518
|
"text/plain": string;
|
|
493
519
|
};
|
|
494
520
|
};
|
|
495
|
-
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content piece of the organization already holds the same
|
|
521
|
+
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content piece of the organization already holds the same rowNumber */
|
|
496
522
|
409: {
|
|
497
523
|
headers: {
|
|
498
524
|
[name: string]: unknown;
|
|
@@ -543,7 +569,7 @@ export interface operations {
|
|
|
543
569
|
organizationId: string;
|
|
544
570
|
/** @description Subject of the owning profile. */
|
|
545
571
|
profile: string;
|
|
546
|
-
/** @description Row number of the content
|
|
572
|
+
/** @description Row number of the content piece, unique across the live content pieces of the organization. */
|
|
547
573
|
rowNumber: number;
|
|
548
574
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
549
575
|
fingerprint: string;
|
|
@@ -634,8 +660,13 @@ export interface operations {
|
|
|
634
660
|
id?: string;
|
|
635
661
|
/** @description Subject of the owning profile. */
|
|
636
662
|
profile: string;
|
|
637
|
-
/**
|
|
638
|
-
|
|
663
|
+
/**
|
|
664
|
+
* @description Row number of the content piece, unique across the live content
|
|
665
|
+
* pieces of the organization. Optional: omitted on insert, the
|
|
666
|
+
* server assigns the next row number of the organization; omitted
|
|
667
|
+
* on update, the stored row number is kept.
|
|
668
|
+
*/
|
|
669
|
+
rowNumber?: number;
|
|
639
670
|
/** @description Content values, stored as a JSON blob. */
|
|
640
671
|
data?: Record<string, never>;
|
|
641
672
|
/**
|
|
@@ -668,7 +699,7 @@ export interface operations {
|
|
|
668
699
|
organizationId: string;
|
|
669
700
|
/** @description Subject of the owning profile. */
|
|
670
701
|
profile: string;
|
|
671
|
-
/** @description Row number of the content
|
|
702
|
+
/** @description Row number of the content piece, unique across the live content pieces of the organization. */
|
|
672
703
|
rowNumber: number;
|
|
673
704
|
/** @description Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates. */
|
|
674
705
|
fingerprint: string;
|
|
@@ -728,7 +759,7 @@ export interface operations {
|
|
|
728
759
|
"text/plain": string;
|
|
729
760
|
};
|
|
730
761
|
};
|
|
731
|
-
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content piece of the organization already holds the same
|
|
762
|
+
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content piece of the organization already holds the same rowNumber */
|
|
732
763
|
409: {
|
|
733
764
|
headers: {
|
|
734
765
|
[name: string]: unknown;
|
|
@@ -750,7 +781,13 @@ export interface operations {
|
|
|
750
781
|
};
|
|
751
782
|
deleteContentPiece: {
|
|
752
783
|
parameters: {
|
|
753
|
-
query?:
|
|
784
|
+
query?: {
|
|
785
|
+
/**
|
|
786
|
+
* @description Optional optimistic-concurrency precondition for delete: the
|
|
787
|
+
* delete applies only when the stored fingerprint still matches.
|
|
788
|
+
*/
|
|
789
|
+
expectedFingerprint?: string;
|
|
790
|
+
};
|
|
754
791
|
header?: never;
|
|
755
792
|
path: {
|
|
756
793
|
/** @description Content piece ID */
|
|
@@ -767,6 +804,15 @@ export interface operations {
|
|
|
767
804
|
};
|
|
768
805
|
content?: never;
|
|
769
806
|
};
|
|
807
|
+
/** @description Invalid request body or request param */
|
|
808
|
+
400: {
|
|
809
|
+
headers: {
|
|
810
|
+
[name: string]: unknown;
|
|
811
|
+
};
|
|
812
|
+
content: {
|
|
813
|
+
"text/plain": string;
|
|
814
|
+
};
|
|
815
|
+
};
|
|
770
816
|
/** @description Expired JWT token used or insufficient privilege */
|
|
771
817
|
401: {
|
|
772
818
|
headers: {
|
|
@@ -794,6 +840,15 @@ export interface operations {
|
|
|
794
840
|
"text/plain": string;
|
|
795
841
|
};
|
|
796
842
|
};
|
|
843
|
+
/** @description Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content piece of the organization already holds the same rowNumber */
|
|
844
|
+
409: {
|
|
845
|
+
headers: {
|
|
846
|
+
[name: string]: unknown;
|
|
847
|
+
};
|
|
848
|
+
content: {
|
|
849
|
+
"text/plain": string;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
797
852
|
/** @description Internal server error */
|
|
798
853
|
500: {
|
|
799
854
|
headers: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict';var e={openapi:"3.0.0",info:{title:"ContentPiece",description:`OpenAPI schema for content pieces - fingerprinted content
|
|
2
|
-
values keyed by
|
|
2
|
+
values keyed by organization and row number, with conditional
|
|
3
3
|
updates.
|
|
4
4
|
Organization scope: every operation acts only in the organization the
|
|
5
5
|
session resolved to (X-Current-Orgid, then the user's selected
|
|
@@ -16,7 +16,11 @@ organization's rows is never disclosed.
|
|
|
16
16
|
Content pieces carry a row number and a server-computed fingerprint over
|
|
17
17
|
their canonical values; updates are conditional on the fingerprint the
|
|
18
18
|
writer read, so stale writes are refused rather than silently applied.
|
|
19
|
-
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content
|
|
19
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content piece, unique across the live content pieces of the organization.",minimum:0,"x-oapi-codegen-extra-tags":{db:"row_number"},"x-order":4},fingerprint:{type:"string",description:"Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"fingerprint"},"x-order":5},data:{type:"object",description:"Content values, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"data"},"x-order":6},createdAt:{description:"Timestamp of content piece creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last content piece modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the content piece was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}},description:"Content pieces included on this page of results."}}}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},403:{description:"Forbidden",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},post:{"x-internal":["cloud"],tags:["contentPieces"],summary:"Insert a content piece",operationId:"insertContentPiece",description:"Inserts a new content piece. Insert-only: any supplied\n`id` and `expectedFingerprint` are ignored; existing rows change\nonly through the conditional `updateContentPiece`. The\n`fingerprint` is server-computed. Row numbers are unique across\nthe live content pieces of the organization, whatever their\n`profile`. When `rowNumber` is omitted the server assigns the next\nrow number of the organization (one more than the highest row\nnumber the organization has used, counting soft-deleted content\npieces so a deleted piece's number is not handed out again by\nassignment), atomically with the insert, so\nconcurrent inserts never receive the same number. An organization\nthat has never had a content piece is assigned row number 0 first. A supplied\n`rowNumber` that another live content piece of the organization\nalready holds refuses the insert with a 409.\n",requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Payload for inserting or updating a content piece.\nContains only client-settable fields; the owning\n`organizationId` (derived from the authenticated session), the\nserver-computed `fingerprint` and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["profile"],properties:{id:{description:"Existing content piece ID for updates; ignored on insert.","x-oapi-codegen-extra-tags":{json:"id,omitempty"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255},rowNumber:{type:"integer",description:`Row number of the content piece, unique across the live content
|
|
20
|
+
pieces of the organization. Optional: omitted on insert, the
|
|
21
|
+
server assigns the next row number of the organization; omitted
|
|
22
|
+
on update, the stored row number is kept.
|
|
23
|
+
`,minimum:0},data:{type:"object",description:"Content values, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true},expectedFingerprint:{type:"string",description:`Optimistic-concurrency precondition for update: when supplied,
|
|
20
24
|
the update applies only when the stored fingerprint still
|
|
21
25
|
matches, and is refused with a 409 otherwise. Ignored on
|
|
22
26
|
insert.
|
|
@@ -24,11 +28,15 @@ insert.
|
|
|
24
28
|
Content pieces carry a row number and a server-computed fingerprint over
|
|
25
29
|
their canonical values; updates are conditional on the fingerprint the
|
|
26
30
|
writer read, so stale writes are refused rather than silently applied.
|
|
27
|
-
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content
|
|
31
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content piece, unique across the live content pieces of the organization.",minimum:0,"x-oapi-codegen-extra-tags":{db:"row_number"},"x-order":4},fingerprint:{type:"string",description:"Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"fingerprint"},"x-order":5},data:{type:"object",description:"Content values, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"data"},"x-order":6},createdAt:{description:"Timestamp of content piece creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last content piece modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the content piece was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},403:{description:"Forbidden",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},409:{description:"Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content piece of the organization already holds the same rowNumber",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/content/pieces/{contentPieceId}":{get:{"x-internal":["cloud"],tags:["contentPieces"],summary:"Get a content piece by ID",operationId:"getContentPiece",parameters:[{name:"contentPieceId",in:"path",description:"Content piece ID",required:true,schema:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}],responses:{200:{description:"Content piece response",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Content Piece Schema",description:`Server-returned content piece as persisted by meshery-cloud.
|
|
28
32
|
Content pieces carry a row number and a server-computed fingerprint over
|
|
29
33
|
their canonical values; updates are conditional on the fingerprint the
|
|
30
34
|
writer read, so stale writes are refused rather than silently applied.
|
|
31
|
-
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content
|
|
35
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content piece, unique across the live content pieces of the organization.",minimum:0,"x-oapi-codegen-extra-tags":{db:"row_number"},"x-order":4},fingerprint:{type:"string",description:"Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"fingerprint"},"x-order":5},data:{type:"object",description:"Content values, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"data"},"x-order":6},createdAt:{description:"Timestamp of content piece creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last content piece modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the content piece was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},403:{description:"Forbidden",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},put:{"x-internal":["cloud"],tags:["contentPieces"],summary:"Update a content piece",operationId:"updateContentPiece",description:"Conditionally updates the content piece. When\n`expectedFingerprint` is supplied and stale, the update is\nrefused with a 409, as is an update that would move the piece\nonto a `rowNumber` another live content piece of the organization\nholds. An omitted `rowNumber` keeps the stored one.\n",parameters:[{name:"contentPieceId",in:"path",description:"Content piece ID",required:true,schema:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}}],requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Payload for inserting or updating a content piece.\nContains only client-settable fields; the owning\n`organizationId` (derived from the authenticated session), the\nserver-computed `fingerprint` and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["profile"],properties:{id:{description:"Existing content piece ID for updates; ignored on insert.","x-oapi-codegen-extra-tags":{json:"id,omitempty"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255},rowNumber:{type:"integer",description:`Row number of the content piece, unique across the live content
|
|
36
|
+
pieces of the organization. Optional: omitted on insert, the
|
|
37
|
+
server assigns the next row number of the organization; omitted
|
|
38
|
+
on update, the stored row number is kept.
|
|
39
|
+
`,minimum:0},data:{type:"object",description:"Content values, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true},expectedFingerprint:{type:"string",description:`Optimistic-concurrency precondition for update: when supplied,
|
|
32
40
|
the update applies only when the stored fingerprint still
|
|
33
41
|
matches, and is refused with a 409 otherwise. Ignored on
|
|
34
42
|
insert.
|
|
@@ -36,11 +44,23 @@ insert.
|
|
|
36
44
|
Content pieces carry a row number and a server-computed fingerprint over
|
|
37
45
|
their canonical values; updates are conditional on the fingerprint the
|
|
38
46
|
writer read, so stale writes are refused rather than silently applied.
|
|
39
|
-
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content
|
|
47
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content piece, unique across the live content pieces of the organization.",minimum:0,"x-oapi-codegen-extra-tags":{db:"row_number"},"x-order":4},fingerprint:{type:"string",description:"Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"fingerprint"},"x-order":5},data:{type:"object",description:"Content values, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"data"},"x-order":6},createdAt:{description:"Timestamp of content piece creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last content piece modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the content piece was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}}}}},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},403:{description:"Forbidden",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},409:{description:"Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content piece of the organization already holds the same rowNumber",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},delete:{"x-internal":["cloud"],tags:["contentPieces"],summary:"Delete a content piece",operationId:"deleteContentPiece",description:`Soft-deletes the content piece. When \`expectedFingerprint\` is
|
|
48
|
+
supplied, the delete applies only when the stored fingerprint
|
|
49
|
+
still matches and is refused with a 409 otherwise; without it the
|
|
50
|
+
delete is unconditional.
|
|
51
|
+
`,parameters:[{name:"contentPieceId",in:"path",description:"Content piece ID",required:true,schema:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}},{name:"expectedFingerprint",in:"query",description:`Optional optimistic-concurrency precondition for delete: the
|
|
52
|
+
delete applies only when the stored fingerprint still matches.
|
|
53
|
+
`,required:false,schema:{type:"string",maxLength:255}}],responses:{204:{description:"Content piece deleted"},400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},403:{description:"Forbidden",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},409:{description:"Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content piece of the organization already holds the same rowNumber",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}}},components:{securitySchemes:{jwt:{type:"http",scheme:"Bearer [REDACTED]",bearerFormat:"JWT"}},responses:{400:{description:"Invalid request body or request param",content:{"text/plain":{schema:{type:"string"}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},403:{description:"Forbidden",content:{"text/plain":{schema:{type:"string"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},409:{description:"Conflict - the stale expectedFingerprint precondition no longer matches the stored content fingerprint, or another live content piece of the organization already holds the same rowNumber",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}},parameters:{expectedFingerprint:{name:"expectedFingerprint",in:"query",description:`Optional optimistic-concurrency precondition for delete: the
|
|
54
|
+
delete applies only when the stored fingerprint still matches.
|
|
55
|
+
`,required:false,schema:{type:"string",maxLength:255}},contentPieceId:{name:"contentPieceId",in:"path",description:"Content piece ID",required:true,schema:{type:"string",format:"uuid",description:"A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas.","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}}},page:{name:"page",in:"query",description:"Get responses by page",schema:{type:"integer",minimum:0}},pageSize:{name:"pageSize",in:"query",description:"Number of items per page (canonical camelCase form).",schema:{type:"integer",minimum:1}},pagesize:{name:"pagesize",in:"query",description:"Number of items per page. Deprecated alias of pageSize;\ncanonical `pageSize` wins when both are present.\n",deprecated:true,schema:{type:"integer",minimum:1}},search:{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}},order:{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}}},schemas:{ContentPiece:{$schema:"http://json-schema.org/draft-07/schema#",title:"Content Piece Schema",description:`Server-returned content piece as persisted by meshery-cloud.
|
|
40
56
|
Content pieces carry a row number and a server-computed fingerprint over
|
|
41
57
|
their canonical values; updates are conditional on the fingerprint the
|
|
42
58
|
writer read, so stale writes are refused rather than silently applied.
|
|
43
|
-
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content
|
|
59
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content piece, unique across the live content pieces of the organization.",minimum:0,"x-oapi-codegen-extra-tags":{db:"row_number"},"x-order":4},fingerprint:{type:"string",description:"Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"fingerprint"},"x-order":5},data:{type:"object",description:"Content values, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"data"},"x-order":6},createdAt:{description:"Timestamp of content piece creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last content piece modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the content piece was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}},ContentPiecePayload:{type:"object",description:"Payload for inserting or updating a content piece.\nContains only client-settable fields; the owning\n`organizationId` (derived from the authenticated session), the\nserver-computed `fingerprint` and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["profile"],properties:{id:{description:"Existing content piece ID for updates; ignored on insert.","x-oapi-codegen-extra-tags":{json:"id,omitempty"},type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255},rowNumber:{type:"integer",description:`Row number of the content piece, unique across the live content
|
|
60
|
+
pieces of the organization. Optional: omitted on insert, the
|
|
61
|
+
server assigns the next row number of the organization; omitted
|
|
62
|
+
on update, the stored row number is kept.
|
|
63
|
+
`,minimum:0},data:{type:"object",description:"Content values, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true},expectedFingerprint:{type:"string",description:`Optimistic-concurrency precondition for update: when supplied,
|
|
44
64
|
the update applies only when the stored fingerprint still
|
|
45
65
|
matches, and is refused with a 409 otherwise. Ignored on
|
|
46
66
|
insert.
|
|
@@ -48,4 +68,4 @@ insert.
|
|
|
48
68
|
Content pieces carry a row number and a server-computed fingerprint over
|
|
49
69
|
their canonical values; updates are conditional on the fingerprint the
|
|
50
70
|
writer read, so stale writes are refused rather than silently applied.
|
|
51
|
-
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content
|
|
71
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","profile","rowNumber","fingerprint","createdAt","updatedAt"],properties:{id:{description:"Server-generated content piece ID.","x-oapi-codegen-extra-tags":{db:"id"},"x-order":1,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},organizationId:{description:"Owning organization ID. Derived from the authenticated session, never client-settable.","x-go-name":"OrganizationID","x-oapi-codegen-extra-tags":{db:"organization_id"},"x-order":2,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},profile:{type:"string",description:"Subject of the owning profile.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"profile"},"x-order":3},rowNumber:{type:"integer",description:"Row number of the content piece, unique across the live content pieces of the organization.",minimum:0,"x-oapi-codegen-extra-tags":{db:"row_number"},"x-order":4},fingerprint:{type:"string",description:"Hex digest over the canonical content values, typed so null, empty string, zero and false differ. Server-computed; used for conditional updates.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"fingerprint"},"x-order":5},data:{type:"object",description:"Content values, stored as a JSON blob.","x-go-type":"core.Map","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-go-type-skip-optional-pointer":true,"x-oapi-codegen-extra-tags":{db:"data"},"x-order":6},createdAt:{description:"Timestamp of content piece creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last content piece modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":8,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the content piece was soft-deleted.",nullable:true,"x-go-type":"core.NullTime","x-go-type-import":{path:"github.com/meshery/schemas/models/core",name:"core"},"x-oapi-codegen-extra-tags":{db:"deleted_at",json:"deletedAt,omitempty"},"x-order":9}}},description:"Content pieces included on this page of results."}}}}}},t=e;module.exports=t;
|