@meshery/schemas 1.3.62 → 1.3.63

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.
@@ -1,45 +1,41 @@
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
1
+ var e={openapi:"3.0.0",info:{title:"BlowhornProfile",description:`OpenAPI schema for Blowhorn profile settings - the Blowhorn-specific
2
+ slug and attributes for an existing Layer5 user, scoped by organization.
3
+ Identity and organization membership are not modelled here; resolve them
4
+ through the existing identity user and organization operations.
5
+ `,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 settings as persisted by meshery-cloud.
6
+ A profile holds only the Blowhorn-specific slug and free-form attributes
7
+ for an existing Layer5 user, scoped by organization and keyed by userId.
8
+ User identity and organization membership are reused from the existing
9
+ identity constructs and are not re-modelled here. Profiles soft-delete, and renames are guarded
8
10
  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
11
+ `,type:"object",additionalProperties:false,required:["id","organizationId","userId","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"}},userId:{description:"ID of the existing Layer5 user the profile settings belong to.","x-go-name":"UserID","x-oapi-codegen-extra-tags":{db:"user_id"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},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:["userId","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"}},userId:{description:"ID of the existing Layer5 user the profile settings belong to.","x-go-name":"UserID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},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 settings as persisted by meshery-cloud.
12
+ A profile holds only the Blowhorn-specific slug and free-form attributes
13
+ for an existing Layer5 user, scoped by organization and keyed by userId.
14
+ User identity and organization membership are reused from the existing
15
+ identity constructs and are not re-modelled here. Profiles soft-delete, and renames are guarded
14
16
  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
17
+ `,type:"object",additionalProperties:false,required:["id","organizationId","userId","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"}},userId:{description:"ID of the existing Layer5 user the profile settings belong to.","x-go-name":"UserID","x-oapi-codegen-extra-tags":{db:"user_id"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},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/{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 settings as persisted by meshery-cloud.
18
+ A profile holds only the Blowhorn-specific slug and free-form attributes
19
+ for an existing Layer5 user, scoped by organization and keyed by userId.
20
+ User identity and organization membership are reused from the existing
21
+ identity constructs and are not re-modelled here. Profiles soft-delete, and renames are guarded
20
22
  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
23
+ `,type:"object",additionalProperties:false,required:["id","organizationId","userId","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"}},userId:{description:"ID of the existing Layer5 user the profile settings belong to.","x-go-name":"UserID","x-oapi-codegen-extra-tags":{db:"user_id"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},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:["userId","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"}},userId:{description:"ID of the existing Layer5 user the profile settings belong to.","x-go-name":"UserID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},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 settings as persisted by meshery-cloud.
24
+ A profile holds only the Blowhorn-specific slug and free-form attributes
25
+ for an existing Layer5 user, scoped by organization and keyed by userId.
26
+ User identity and organization membership are reused from the existing
27
+ identity constructs and are not re-modelled here. Profiles soft-delete, and renames are guarded
26
28
  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
29
+ `,type:"object",additionalProperties:false,required:["id","organizationId","userId","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"}},userId:{description:"ID of the existing Layer5 user the profile settings belong to.","x-go-name":"UserID","x-oapi-codegen-extra-tags":{db:"user_id"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},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 settings as persisted by meshery-cloud.
30
+ A profile holds only the Blowhorn-specific slug and free-form attributes
31
+ for an existing Layer5 user, scoped by organization and keyed by userId.
32
+ User identity and organization membership are reused from the existing
33
+ identity constructs and are not re-modelled here. Profiles soft-delete, and renames are guarded
32
34
  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
35
+ `,type:"object",additionalProperties:false,required:["id","organizationId","userId","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"}},userId:{description:"ID of the existing Layer5 user the profile settings belong to.","x-go-name":"UserID","x-oapi-codegen-extra-tags":{db:"user_id"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},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:["userId","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"}},userId:{description:"ID of the existing Layer5 user the profile settings belong to.","x-go-name":"UserID",type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},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 settings as persisted by meshery-cloud.
36
+ A profile holds only the Blowhorn-specific slug and free-form attributes
37
+ for an existing Layer5 user, scoped by organization and keyed by userId.
38
+ User identity and organization membership are reused from the existing
39
+ identity constructs and are not re-modelled here. Profiles soft-delete, and renames are guarded
38
40
  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};
41
+ `,type:"object",additionalProperties:false,required:["id","organizationId","userId","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"}},userId:{description:"ID of the existing Layer5 user the profile settings belong to.","x-go-name":"UserID","x-oapi-codegen-extra-tags":{db:"user_id"},"x-order":3,type:"string",format:"uuid","x-go-type":"uuid.UUID","x-go-type-import":{path:"github.com/gofrs/uuid"}},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};