@meshery/schemas 1.3.60 → 1.3.62
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/README.md +9 -1
- package/dist/cloudApi.d.mts +19666 -6714
- package/dist/cloudApi.d.ts +19666 -6714
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtp.d.ts +2 -2
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtpSchema.js +1 -1
- package/dist/constructs/v1beta1/organization_smtp/OrganizationSmtpSchema.mjs +1 -1
- package/dist/constructs/v1beta1/registry/Registry.d.ts +6 -6
- package/dist/constructs/v1beta1/registry/RegistrySchema.js +3 -3
- package/dist/constructs/v1beta1/registry/RegistrySchema.mjs +3 -3
- package/dist/constructs/v1beta3/academy/Academy.d.ts +18 -0
- package/dist/constructs/v1beta3/academy/AcademySchema.js +2 -2
- package/dist/constructs/v1beta3/academy/AcademySchema.mjs +2 -2
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBinding.d.ts +462 -0
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBinding.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBinding.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBindingSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBindingSchema.js +23 -0
- package/dist/constructs/v1beta3/blowhorn_binding/BlowhornBindingSchema.mjs +23 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContent.d.ts +719 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContent.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContent.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContentSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContentSchema.js +43 -0
- package/dist/constructs/v1beta3/blowhorn_content/BlowhornContentSchema.mjs +43 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestination.d.ts +516 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestination.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestination.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.js +23 -0
- package/dist/constructs/v1beta3/blowhorn_destination/BlowhornDestinationSchema.mjs +23 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealth.d.ts +131 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealth.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealth.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealthSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealthSchema.js +7 -0
- package/dist/constructs/v1beta3/blowhorn_health/BlowhornHealthSchema.mjs +7 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedger.d.ts +1546 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedger.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedger.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedgerSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedgerSchema.js +69 -0
- package/dist/constructs/v1beta3/blowhorn_ledger/BlowhornLedgerSchema.mjs +69 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfile.d.ts +776 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfile.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfile.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.js +45 -0
- package/dist/constructs/v1beta3/blowhorn_profile/BlowhornProfileSchema.mjs +45 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.d.ts +784 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.js +1 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRun.mjs +0 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.js +51 -0
- package/dist/constructs/v1beta3/blowhorn_run/BlowhornRunSchema.mjs +51 -0
- package/dist/constructs/v1beta3/connection/Connection.d.ts +14 -14
- package/dist/constructs/v1beta3/connection/ConnectionSchema.js +1 -1
- package/dist/constructs/v1beta3/connection/ConnectionSchema.mjs +1 -1
- package/dist/constructs/v1beta3/environment/Environment.d.ts +12 -12
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.js +1 -1
- package/dist/constructs/v1beta3/environment/EnvironmentSchema.mjs +1 -1
- package/dist/constructs/v1beta3/invitation/Invitation.d.ts +66 -0
- package/dist/constructs/v1beta3/invitation/InvitationSchema.js +1 -1
- package/dist/constructs/v1beta3/invitation/InvitationSchema.mjs +1 -1
- package/dist/constructs/v1beta3/job_lease/JobLease.d.ts +2570 -0
- package/dist/constructs/v1beta3/job_lease/JobLease.js +1 -0
- package/dist/constructs/v1beta3/job_lease/JobLease.mjs +0 -0
- package/dist/constructs/v1beta3/job_lease/JobLeaseSchema.d.ts +2 -0
- package/dist/constructs/v1beta3/job_lease/JobLeaseSchema.js +83 -0
- package/dist/constructs/v1beta3/job_lease/JobLeaseSchema.mjs +83 -0
- package/dist/constructs/v1beta3/token/Token.d.ts +4 -2
- package/dist/constructs/v1beta3/token/TokenSchema.js +1 -1
- package/dist/constructs/v1beta3/token/TokenSchema.mjs +1 -1
- package/dist/constructs/v1beta3/workspace/Workspace.d.ts +2 -2
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.js +1 -1
- package/dist/constructs/v1beta3/workspace/WorkspaceSchema.mjs +1 -1
- package/dist/mesheryApi.d.mts +24 -24
- package/dist/mesheryApi.d.ts +24 -24
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';
|
|
File without changes
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';var e={openapi:"3.0.0",info:{title:"BlowhornProfile",description:`OpenAPI schema for Blowhorn profiles - subject-to-slug records with
|
|
2
|
+
free-form attributes, scoped by organization and keyed by subject.
|
|
3
|
+
`,version:"v1beta3",contact:{name:"Meshery Maintainers",email:"maintainers@meshery.io",url:"https://meshery.io"},license:{name:"Apache 2.0",url:"https://www.apache.org/licenses/LICENSE-2.0.html"}},security:[{jwt:[]}],tags:[{name:"blowhornProfiles",description:"Operations related to Blowhorn profiles."}],paths:{"/api/blowhorn/profiles":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"List Blowhorn profiles",operationId:"listBlowhornProfiles",description:"Returns a paginated list of Blowhorn profiles in the organization of the authenticated session.",parameters:[{name:"page",in:"query",description:"Get responses by page",schema:{type:"integer",minimum:0}},{name:"pageSize",in:"query",description:"Number of items per page (canonical camelCase form).",schema:{type:"integer",minimum:1}},{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}},{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}},{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}}],responses:{200:{description:"Blowhorn profiles page",content:{"application/json":{schema:{type:"object",description:"Paginated collection of Blowhorn profiles.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0},pageSize:{type:"integer",description:"Number of items per page.",minimum:1},totalCount:{type:"integer",description:"Total number of items available.",minimum:0},blowhornProfiles:{type:"array",items:{"x-go-type":"BlowhornProfile",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
4
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
5
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
6
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
7
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
8
|
+
server-side.
|
|
9
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},description:"Blowhorn profiles included on this page of results."}}}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},post:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Upsert Blowhorn profile",operationId:"upsertBlowhornProfile",description:"Creates a new Blowhorn profile when no `id` is supplied, or\nupdates the entry matching the provided `id`. Ownership is\nderived from the authenticated session; any client-supplied\nowner is ignored. Slug renames are guarded server-side.\n",requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Payload for creating or updating a Blowhorn profile. Contains\nonly client-settable fields; the owning `organizationId` (derived\nfrom the authenticated session) and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile ID for updates; omit on create.","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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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}}}}}},responses:{200:{description:"Blowhorn profile saved",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
10
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
11
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
12
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
13
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
14
|
+
server-side.
|
|
15
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},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"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/blowhorn/profiles/by-subject":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Get Blowhorn profile by subject",operationId:"getBlowhornProfileBySubject",description:"Returns the Blowhorn profile keyed by the given subject within the organization of the authenticated session.",parameters:[{name:"subject",in:"query",required:true,description:"Subject the profile is keyed by.",schema:{type:"string"}}],responses:{200:{description:"Blowhorn profile response",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
16
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
17
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
18
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
19
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
20
|
+
server-side.
|
|
21
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},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"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/blowhorn/profiles/{blowhornProfileId}":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Get Blowhorn profile by ID",operationId:"getBlowhornProfile",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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:"Blowhorn profile response",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
22
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
23
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
24
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
25
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
26
|
+
server-side.
|
|
27
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},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"}}}},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:["blowhornProfiles"],summary:"Update Blowhorn profile",operationId:"updateBlowhornProfile",description:"Updates the Blowhorn profile matching the path ID. Slug renames are guarded server-side.",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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 creating or updating a Blowhorn profile. Contains\nonly client-settable fields; the owning `organizationId` (derived\nfrom the authenticated session) and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile ID for updates; omit on create.","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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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}}}}}},responses:{200:{description:"Blowhorn profile updated",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
28
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
29
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
30
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
31
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
32
|
+
server-side.
|
|
33
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},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"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},delete:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Delete Blowhorn profile",operationId:"deleteBlowhornProfile",description:"Soft-deletes the Blowhorn profile.",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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:{204:{description:"Blowhorn profile deleted"},401:{description:"Expired JWT token used or insufficient privilege",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"}}}}}}}},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"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}},parameters:{blowhornProfileId:{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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:{BlowhornProfile:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
34
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
35
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
36
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
37
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
38
|
+
server-side.
|
|
39
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},BlowhornProfilePayload:{type:"object",description:"Payload for creating or updating a Blowhorn profile. Contains\nonly client-settable fields; the owning `organizationId` (derived\nfrom the authenticated session) and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile ID for updates; omit on create.","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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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}}},BlowhornProfilePage:{type:"object",description:"Paginated collection of Blowhorn profiles.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0},pageSize:{type:"integer",description:"Number of items per page.",minimum:1},totalCount:{type:"integer",description:"Total number of items available.",minimum:0},blowhornProfiles:{type:"array",items:{"x-go-type":"BlowhornProfile",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
40
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
41
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
42
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
43
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
44
|
+
server-side.
|
|
45
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},description:"Blowhorn profiles included on this page of results."}}}}}},t=e;module.exports=t;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var e={openapi:"3.0.0",info:{title:"BlowhornProfile",description:`OpenAPI schema for Blowhorn profiles - subject-to-slug records with
|
|
2
|
+
free-form attributes, scoped by organization and keyed by subject.
|
|
3
|
+
`,version:"v1beta3",contact:{name:"Meshery Maintainers",email:"maintainers@meshery.io",url:"https://meshery.io"},license:{name:"Apache 2.0",url:"https://www.apache.org/licenses/LICENSE-2.0.html"}},security:[{jwt:[]}],tags:[{name:"blowhornProfiles",description:"Operations related to Blowhorn profiles."}],paths:{"/api/blowhorn/profiles":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"List Blowhorn profiles",operationId:"listBlowhornProfiles",description:"Returns a paginated list of Blowhorn profiles in the organization of the authenticated session.",parameters:[{name:"page",in:"query",description:"Get responses by page",schema:{type:"integer",minimum:0}},{name:"pageSize",in:"query",description:"Number of items per page (canonical camelCase form).",schema:{type:"integer",minimum:1}},{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}},{name:"search",in:"query",description:"Get responses that match search param value",schema:{type:"string"}},{name:"order",in:"query",description:"Get ordered responses",schema:{type:"string"}}],responses:{200:{description:"Blowhorn profiles page",content:{"application/json":{schema:{type:"object",description:"Paginated collection of Blowhorn profiles.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0},pageSize:{type:"integer",description:"Number of items per page.",minimum:1},totalCount:{type:"integer",description:"Total number of items available.",minimum:0},blowhornProfiles:{type:"array",items:{"x-go-type":"BlowhornProfile",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
4
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
5
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
6
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
7
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
8
|
+
server-side.
|
|
9
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},description:"Blowhorn profiles included on this page of results."}}}}}},401:{description:"Expired JWT token used or insufficient privilege",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},post:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Upsert Blowhorn profile",operationId:"upsertBlowhornProfile",description:"Creates a new Blowhorn profile when no `id` is supplied, or\nupdates the entry matching the provided `id`. Ownership is\nderived from the authenticated session; any client-supplied\nowner is ignored. Slug renames are guarded server-side.\n",requestBody:{required:true,content:{"application/json":{schema:{type:"object",description:"Payload for creating or updating a Blowhorn profile. Contains\nonly client-settable fields; the owning `organizationId` (derived\nfrom the authenticated session) and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile ID for updates; omit on create.","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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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}}}}}},responses:{200:{description:"Blowhorn profile saved",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
10
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
11
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
12
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
13
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
14
|
+
server-side.
|
|
15
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},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"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/blowhorn/profiles/by-subject":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Get Blowhorn profile by subject",operationId:"getBlowhornProfileBySubject",description:"Returns the Blowhorn profile keyed by the given subject within the organization of the authenticated session.",parameters:[{name:"subject",in:"query",required:true,description:"Subject the profile is keyed by.",schema:{type:"string"}}],responses:{200:{description:"Blowhorn profile response",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
16
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
17
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
18
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
19
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
20
|
+
server-side.
|
|
21
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},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"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}}},"/api/blowhorn/profiles/{blowhornProfileId}":{get:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Get Blowhorn profile by ID",operationId:"getBlowhornProfile",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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:"Blowhorn profile response",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
22
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
23
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
24
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
25
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
26
|
+
server-side.
|
|
27
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},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"}}}},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:["blowhornProfiles"],summary:"Update Blowhorn profile",operationId:"updateBlowhornProfile",description:"Updates the Blowhorn profile matching the path ID. Slug renames are guarded server-side.",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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 creating or updating a Blowhorn profile. Contains\nonly client-settable fields; the owning `organizationId` (derived\nfrom the authenticated session) and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile ID for updates; omit on create.","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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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}}}}}},responses:{200:{description:"Blowhorn profile updated",content:{"application/json":{schema:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
28
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
29
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
30
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
31
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
32
|
+
server-side.
|
|
33
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}}}}},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"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}}},delete:{"x-internal":["cloud"],tags:["blowhornProfiles"],summary:"Delete Blowhorn profile",operationId:"deleteBlowhornProfile",description:"Soft-deletes the Blowhorn profile.",parameters:[{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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:{204:{description:"Blowhorn profile deleted"},401:{description:"Expired JWT token used or insufficient privilege",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"}}}}}}}},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"}}}},404:{description:"Result not found",content:{"text/plain":{schema:{type:"string"}}}},500:{description:"Internal server error",content:{"text/plain":{schema:{type:"string"}}}}},parameters:{blowhornProfileId:{name:"blowhornProfileId",in:"path",description:"Blowhorn profile 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:{BlowhornProfile:{$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
34
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
35
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
36
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
37
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
38
|
+
server-side.
|
|
39
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},BlowhornProfilePayload:{type:"object",description:"Payload for creating or updating a Blowhorn profile. Contains\nonly client-settable fields; the owning `organizationId` (derived\nfrom the authenticated session) and the server-generated\n`createdAt` / `updatedAt` timestamps are intentionally excluded.\n",required:["subject","slug"],properties:{id:{description:"Existing Blowhorn profile ID for updates; omit on create.","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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255},attributes:{type:"object",description:"Free-form profile attributes, 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}}},BlowhornProfilePage:{type:"object",description:"Paginated collection of Blowhorn profiles.",properties:{page:{type:"integer",description:"Current page number of the result set.",minimum:0},pageSize:{type:"integer",description:"Number of items per page.",minimum:1},totalCount:{type:"integer",description:"Total number of items available.",minimum:0},blowhornProfiles:{type:"array",items:{"x-go-type":"BlowhornProfile",$schema:"http://json-schema.org/draft-07/schema#",title:"Blowhorn Profile Schema",description:`Server-returned Blowhorn profile as persisted by meshery-cloud. A profile
|
|
40
|
+
binds a subject to a slug with free-form attributes, scoped by
|
|
41
|
+
organization and keyed by subject. Subject-to-slug resolution stays
|
|
42
|
+
Blowhorn-side; organization, user and team identity are reused from the
|
|
43
|
+
existing constructs. Profiles soft-delete, and renames are guarded
|
|
44
|
+
server-side.
|
|
45
|
+
`,type:"object",additionalProperties:false,required:["id","organizationId","subject","slug","createdAt","updatedAt"],properties:{id:{description:"Server-generated Blowhorn profile 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"}},subject:{type:"string",description:"Subject the profile is keyed by.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"subject"},"x-order":3},slug:{type:"string",description:"Unique slug for the profile within the organization. Renames are guarded server-side.",minLength:1,maxLength:255,"x-oapi-codegen-extra-tags":{db:"slug"},"x-order":4},attributes:{type:"object",description:"Free-form profile attributes, 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:"attributes"},"x-order":5},createdAt:{description:"Timestamp of Blowhorn profile creation.","x-oapi-codegen-extra-tags":{db:"created_at"},"x-order":6,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},updatedAt:{description:"Timestamp of last Blowhorn profile modification.","x-oapi-codegen-extra-tags":{db:"updated_at"},"x-order":7,type:"string",format:"date-time","x-go-type-skip-optional-pointer":true},deletedAt:{type:"string",format:"date-time",description:"Timestamp when the Blowhorn profile 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":8}}},description:"Blowhorn profiles included on this page of results."}}}}}},t=e;export{t as default};
|