@opusdns/api 1.4.0 → 1.5.0
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/package.json +1 -1
- package/src/helpers/constants.ts +69 -260
- package/src/helpers/keys.ts +46 -57
- package/src/helpers/requests.d.ts +9 -12
- package/src/helpers/responses.d.ts +13 -19
- package/src/helpers/schemas.d.ts +7 -6
- package/src/openapi.yaml +76 -237
- package/src/schema.d.ts +50 -130
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -348,8 +348,6 @@ export type Period = components['schemas']['Period'];
|
|
|
348
348
|
export type PeriodList = components['schemas']['PeriodList'];
|
|
349
349
|
export type PeriodStr = components['schemas']['PeriodStr'];
|
|
350
350
|
export type PeriodUnit = components['schemas']['PeriodUnit'];
|
|
351
|
-
export type Permission = components['schemas']['Permission'];
|
|
352
|
-
export type PermissionSet = components['schemas']['PermissionSet'];
|
|
353
351
|
export type PlatformStatsBucket = components['schemas']['PlatformStatsBucket'];
|
|
354
352
|
export type PostTransferRequirements = components['schemas']['PostTransferRequirements'];
|
|
355
353
|
export type PostalAddressType = components['schemas']['PostalAddressType'];
|
|
@@ -365,16 +363,20 @@ export type PricingPeriod = components['schemas']['PricingPeriod'];
|
|
|
365
363
|
export type Problem = components['schemas']['Problem'];
|
|
366
364
|
export type Protocol = components['schemas']['Protocol'];
|
|
367
365
|
export type PublicAuthRequestForm = components['schemas']['PublicAuthRequestForm'];
|
|
366
|
+
export type PublicPermission = components['schemas']['PublicPermission'];
|
|
367
|
+
export type PublicPermissionSet = components['schemas']['PublicPermissionSet'];
|
|
368
368
|
export type PublicReportListRes = components['schemas']['PublicReportListRes'];
|
|
369
369
|
export type PublicReportRes = components['schemas']['PublicReportRes'];
|
|
370
|
+
export type PublicResource = components['schemas']['PublicResource'];
|
|
371
|
+
export type PublicRole = components['schemas']['PublicRole'];
|
|
372
|
+
export type PublicRoleAssignment = components['schemas']['PublicRoleAssignment'];
|
|
373
|
+
export type PublicScope = components['schemas']['PublicScope'];
|
|
370
374
|
export type RdapBase = components['schemas']['RdapBase'];
|
|
371
375
|
export type RedirectCode = components['schemas']['RedirectCode'];
|
|
372
376
|
export type ReferrerStatsBucket = components['schemas']['ReferrerStatsBucket'];
|
|
373
377
|
export type RegistrantChangeType = components['schemas']['RegistrantChangeType'];
|
|
374
378
|
export type RegistryHandleAttributeType = components['schemas']['RegistryHandleAttributeType'];
|
|
375
379
|
export type RegistryLockBase = components['schemas']['RegistryLockBase'];
|
|
376
|
-
export type Relation = components['schemas']['Relation'];
|
|
377
|
-
export type RelationSet = components['schemas']['RelationSet'];
|
|
378
380
|
export type RenewalMode = components['schemas']['RenewalMode'];
|
|
379
381
|
export type ReportStatus = components['schemas']['ReportStatus'];
|
|
380
382
|
export type ReportTriggerType = components['schemas']['ReportTriggerType'];
|
|
@@ -386,7 +388,6 @@ export type ReservedSourceType = components['schemas']['ReservedSourceType'];
|
|
|
386
388
|
export type RgpOperations = components['schemas']['RgpOperations'];
|
|
387
389
|
export type SldLength = components['schemas']['SldLength'];
|
|
388
390
|
export type SortOrder = components['schemas']['SortOrder'];
|
|
389
|
-
export type SpiceDbRelationshipUpdate = components['schemas']['SpiceDbRelationshipUpdate'];
|
|
390
391
|
export type StatusChanges = components['schemas']['StatusChanges'];
|
|
391
392
|
export type StatusCodeStatsBucket = components['schemas']['StatusCodeStatsBucket'];
|
|
392
393
|
export type StatusTag = components['schemas']['StatusTagResponse'];
|
|
@@ -431,7 +432,7 @@ export type UserSortField = components['schemas']['UserSortField'];
|
|
|
431
432
|
export type UserStatus = components['schemas']['UserStatus'];
|
|
432
433
|
export type UserToken = components['schemas']['UserTokenResponse'];
|
|
433
434
|
export type UserUpdate = components['schemas']['UserUpdate'];
|
|
434
|
-
export type
|
|
435
|
+
export type UserWithPermissions = components['schemas']['UserWithPermissions'];
|
|
435
436
|
export type ValidationError = components['schemas']['ValidationError'];
|
|
436
437
|
export type VerificationClaimType = components['schemas']['VerificationClaimType'];
|
|
437
438
|
export type VerificationDeadline = components['schemas']['VerificationDeadline'];
|
package/src/openapi.yaml
CHANGED
|
@@ -9090,90 +9090,6 @@ components:
|
|
|
9090
9090
|
- d
|
|
9091
9091
|
title: PeriodUnit
|
|
9092
9092
|
type: string
|
|
9093
|
-
Permission:
|
|
9094
|
-
enum:
|
|
9095
|
-
- bulk_create
|
|
9096
|
-
- bulk_delete
|
|
9097
|
-
- bulk_renew_expire
|
|
9098
|
-
- bulk_transfer_trade
|
|
9099
|
-
- bulk_update
|
|
9100
|
-
- corporate_plan
|
|
9101
|
-
- create
|
|
9102
|
-
- create_vanity_ns
|
|
9103
|
-
- delete
|
|
9104
|
-
- delete_api_keys
|
|
9105
|
-
- delete_contacts
|
|
9106
|
-
- delete_dns_zones
|
|
9107
|
-
- delete_domains
|
|
9108
|
-
- delete_domain_forwards
|
|
9109
|
-
- delete_email_forwards
|
|
9110
|
-
- delete_events
|
|
9111
|
-
- delete_hosts
|
|
9112
|
-
- delete_jobs
|
|
9113
|
-
- delete_parking
|
|
9114
|
-
- delete_registrar_credentials
|
|
9115
|
-
- delete_tags
|
|
9116
|
-
- delete_users
|
|
9117
|
-
- enterprise_plan
|
|
9118
|
-
- has_accepted_tos
|
|
9119
|
-
- manage_api_keys
|
|
9120
|
-
- manage_billing
|
|
9121
|
-
- manage_chats
|
|
9122
|
-
- manage_cms_content
|
|
9123
|
-
- manage_contacts
|
|
9124
|
-
- manage_dns_zones
|
|
9125
|
-
- manage_domains
|
|
9126
|
-
- manage_domain_forwards
|
|
9127
|
-
- manage_email_forwards
|
|
9128
|
-
- manage_events
|
|
9129
|
-
- manage_hosts
|
|
9130
|
-
- manage_jobs
|
|
9131
|
-
- manage_opusdns_api_keys
|
|
9132
|
-
- manage_parking
|
|
9133
|
-
- manage_products
|
|
9134
|
-
- manage_registrar_credentials
|
|
9135
|
-
- manage_reseller
|
|
9136
|
-
- manage_sub_zones
|
|
9137
|
-
- manage_tags
|
|
9138
|
-
- manage_users
|
|
9139
|
-
- manage_user_relations
|
|
9140
|
-
- manage_vanity_ns
|
|
9141
|
-
- plan_manager
|
|
9142
|
-
- premium_plan
|
|
9143
|
-
- renew_expire
|
|
9144
|
-
- starter_plan
|
|
9145
|
-
- transfer_trade
|
|
9146
|
-
- update
|
|
9147
|
-
- update_domain_forwards
|
|
9148
|
-
- verify
|
|
9149
|
-
- view
|
|
9150
|
-
- view_api_keys
|
|
9151
|
-
- view_audit_logs
|
|
9152
|
-
- view_billing
|
|
9153
|
-
- view_contacts
|
|
9154
|
-
- view_dns_zones
|
|
9155
|
-
- view_domains
|
|
9156
|
-
- view_domain_forwards
|
|
9157
|
-
- view_email_forwards
|
|
9158
|
-
- view_events
|
|
9159
|
-
- view_hosts
|
|
9160
|
-
- view_jobs
|
|
9161
|
-
- view_parking
|
|
9162
|
-
- view_registrar_credentials
|
|
9163
|
-
- view_tags
|
|
9164
|
-
- view_users
|
|
9165
|
-
- view_vanity_ns
|
|
9166
|
-
title: Permission
|
|
9167
|
-
type: string
|
|
9168
|
-
PermissionSet:
|
|
9169
|
-
properties:
|
|
9170
|
-
permissions:
|
|
9171
|
-
items:
|
|
9172
|
-
$ref: '#/components/schemas/Permission'
|
|
9173
|
-
title: Permissions
|
|
9174
|
-
type: array
|
|
9175
|
-
title: PermissionSet
|
|
9176
|
-
type: object
|
|
9177
9093
|
PlatformStatsBucket:
|
|
9178
9094
|
properties:
|
|
9179
9095
|
key:
|
|
@@ -9424,6 +9340,21 @@ components:
|
|
|
9424
9340
|
- client_secret
|
|
9425
9341
|
title: PublicAuthRequestForm
|
|
9426
9342
|
type: object
|
|
9343
|
+
PublicPermission:
|
|
9344
|
+
examples:
|
|
9345
|
+
- domains:read
|
|
9346
|
+
- domains:manage
|
|
9347
|
+
- domains:delete
|
|
9348
|
+
type: string
|
|
9349
|
+
PublicPermissionSet:
|
|
9350
|
+
properties:
|
|
9351
|
+
permissions:
|
|
9352
|
+
items:
|
|
9353
|
+
$ref: '#/components/schemas/PublicPermission'
|
|
9354
|
+
title: Permissions
|
|
9355
|
+
type: array
|
|
9356
|
+
title: PublicPermissionSet
|
|
9357
|
+
type: object
|
|
9427
9358
|
PublicReportListRes:
|
|
9428
9359
|
properties:
|
|
9429
9360
|
pagination:
|
|
@@ -9496,6 +9427,50 @@ components:
|
|
|
9496
9427
|
- updated_on
|
|
9497
9428
|
title: PublicReportRes
|
|
9498
9429
|
type: object
|
|
9430
|
+
PublicResource:
|
|
9431
|
+
enum:
|
|
9432
|
+
- domains
|
|
9433
|
+
- contacts
|
|
9434
|
+
- dns
|
|
9435
|
+
- hosts
|
|
9436
|
+
- email_forwards
|
|
9437
|
+
- domain_forwards
|
|
9438
|
+
- parking
|
|
9439
|
+
- events
|
|
9440
|
+
- jobs
|
|
9441
|
+
- billing
|
|
9442
|
+
- users
|
|
9443
|
+
- api_keys
|
|
9444
|
+
- registrar_credentials
|
|
9445
|
+
- tags
|
|
9446
|
+
- audit_logs
|
|
9447
|
+
- vanity_ns
|
|
9448
|
+
title: PublicResource
|
|
9449
|
+
type: string
|
|
9450
|
+
PublicRole:
|
|
9451
|
+
enum:
|
|
9452
|
+
- admin
|
|
9453
|
+
- viewer
|
|
9454
|
+
- domain_manager
|
|
9455
|
+
- dns_manager
|
|
9456
|
+
- billing_manager
|
|
9457
|
+
title: PublicRole
|
|
9458
|
+
type: string
|
|
9459
|
+
PublicRoleAssignment:
|
|
9460
|
+
properties:
|
|
9461
|
+
role:
|
|
9462
|
+
anyOf:
|
|
9463
|
+
- $ref: '#/components/schemas/PublicRole'
|
|
9464
|
+
- type: 'null'
|
|
9465
|
+
title: PublicRoleAssignment
|
|
9466
|
+
type: object
|
|
9467
|
+
PublicScope:
|
|
9468
|
+
enum:
|
|
9469
|
+
- read
|
|
9470
|
+
- manage
|
|
9471
|
+
- delete
|
|
9472
|
+
title: PublicScope
|
|
9473
|
+
type: string
|
|
9499
9474
|
RdapBase:
|
|
9500
9475
|
properties:
|
|
9501
9476
|
rdap_server:
|
|
@@ -9617,71 +9592,6 @@ components:
|
|
|
9617
9592
|
- supported
|
|
9618
9593
|
title: RegistryLockBase
|
|
9619
9594
|
type: object
|
|
9620
|
-
Relation:
|
|
9621
|
-
enum:
|
|
9622
|
-
- accepted_tos
|
|
9623
|
-
- root_admin
|
|
9624
|
-
- owner
|
|
9625
|
-
- parent
|
|
9626
|
-
- admin
|
|
9627
|
-
- member
|
|
9628
|
-
- client_api_key
|
|
9629
|
-
- opusdns_internal_api_key
|
|
9630
|
-
- reseller_manager
|
|
9631
|
-
- chat_manager
|
|
9632
|
-
- domain_view
|
|
9633
|
-
- domain_manage
|
|
9634
|
-
- domain_delete
|
|
9635
|
-
- contact_view
|
|
9636
|
-
- contact_manage
|
|
9637
|
-
- contact_delete
|
|
9638
|
-
- dns_zone_view
|
|
9639
|
-
- dns_zone_manage
|
|
9640
|
-
- dns_zone_delete
|
|
9641
|
-
- host_view
|
|
9642
|
-
- host_manage
|
|
9643
|
-
- host_delete
|
|
9644
|
-
- email_forward_view
|
|
9645
|
-
- email_forward_manage
|
|
9646
|
-
- email_forward_delete
|
|
9647
|
-
- domain_forward_view
|
|
9648
|
-
- domain_forward_manage
|
|
9649
|
-
- domain_forward_delete
|
|
9650
|
-
- parking_view
|
|
9651
|
-
- parking_manage
|
|
9652
|
-
- parking_delete
|
|
9653
|
-
- events_view
|
|
9654
|
-
- events_manage
|
|
9655
|
-
- events_delete
|
|
9656
|
-
- jobs_view
|
|
9657
|
-
- jobs_manage
|
|
9658
|
-
- jobs_delete
|
|
9659
|
-
- tag_view
|
|
9660
|
-
- tag_manage
|
|
9661
|
-
- tag_delete
|
|
9662
|
-
- registrar_credential_view
|
|
9663
|
-
- registrar_credential_manage
|
|
9664
|
-
- registrar_credential_delete
|
|
9665
|
-
- user_view
|
|
9666
|
-
- user_manage
|
|
9667
|
-
- user_delete
|
|
9668
|
-
- api_key_view
|
|
9669
|
-
- api_key_manage
|
|
9670
|
-
- api_key_delete
|
|
9671
|
-
- billing_view
|
|
9672
|
-
- billing_manage
|
|
9673
|
-
- audit_log_view
|
|
9674
|
-
title: Relation
|
|
9675
|
-
type: string
|
|
9676
|
-
RelationSet:
|
|
9677
|
-
properties:
|
|
9678
|
-
relations:
|
|
9679
|
-
items:
|
|
9680
|
-
$ref: '#/components/schemas/Relation'
|
|
9681
|
-
title: Relations
|
|
9682
|
-
type: array
|
|
9683
|
-
title: RelationSet
|
|
9684
|
-
type: object
|
|
9685
9595
|
RenewalMode:
|
|
9686
9596
|
enum:
|
|
9687
9597
|
- renew
|
|
@@ -9872,24 +9782,6 @@ components:
|
|
|
9872
9782
|
- desc
|
|
9873
9783
|
title: SortOrder
|
|
9874
9784
|
type: string
|
|
9875
|
-
SpiceDbRelationshipUpdate:
|
|
9876
|
-
properties:
|
|
9877
|
-
add:
|
|
9878
|
-
anyOf:
|
|
9879
|
-
- items:
|
|
9880
|
-
$ref: '#/components/schemas/Relation'
|
|
9881
|
-
type: array
|
|
9882
|
-
- type: 'null'
|
|
9883
|
-
title: Add
|
|
9884
|
-
remove:
|
|
9885
|
-
anyOf:
|
|
9886
|
-
- items:
|
|
9887
|
-
$ref: '#/components/schemas/Relation'
|
|
9888
|
-
type: array
|
|
9889
|
-
- type: 'null'
|
|
9890
|
-
title: Remove
|
|
9891
|
-
title: SpiceDbRelationshipUpdate
|
|
9892
|
-
type: object
|
|
9893
9785
|
StatusChanges:
|
|
9894
9786
|
properties:
|
|
9895
9787
|
add:
|
|
@@ -11213,7 +11105,7 @@ components:
|
|
|
11213
11105
|
title: Username
|
|
11214
11106
|
title: UserUpdate
|
|
11215
11107
|
type: object
|
|
11216
|
-
|
|
11108
|
+
UserWithPermissions:
|
|
11217
11109
|
properties:
|
|
11218
11110
|
created_on:
|
|
11219
11111
|
description: The date/time the entry was created on
|
|
@@ -11262,7 +11154,7 @@ components:
|
|
|
11262
11154
|
permissions:
|
|
11263
11155
|
anyOf:
|
|
11264
11156
|
- items:
|
|
11265
|
-
$ref: '#/components/schemas/
|
|
11157
|
+
$ref: '#/components/schemas/PublicPermission'
|
|
11266
11158
|
type: array
|
|
11267
11159
|
- type: 'null'
|
|
11268
11160
|
title: Permissions
|
|
@@ -11275,13 +11167,6 @@ components:
|
|
|
11275
11167
|
examples:
|
|
11276
11168
|
- '+1.2125552368'
|
|
11277
11169
|
title: Phone
|
|
11278
|
-
relations:
|
|
11279
|
-
anyOf:
|
|
11280
|
-
- items:
|
|
11281
|
-
$ref: '#/components/schemas/Relation'
|
|
11282
|
-
type: array
|
|
11283
|
-
- type: 'null'
|
|
11284
|
-
title: Relations
|
|
11285
11170
|
status:
|
|
11286
11171
|
$ref: '#/components/schemas/UserStatus'
|
|
11287
11172
|
readOnly: true
|
|
@@ -11326,7 +11211,7 @@ components:
|
|
|
11326
11211
|
- email
|
|
11327
11212
|
- locale
|
|
11328
11213
|
- status
|
|
11329
|
-
title:
|
|
11214
|
+
title: UserWithPermissions
|
|
11330
11215
|
type: object
|
|
11331
11216
|
ValidationError:
|
|
11332
11217
|
properties:
|
|
@@ -11652,7 +11537,7 @@ info:
|
|
|
11652
11537
|
\n\n"
|
|
11653
11538
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
11654
11539
|
title: OpusDNS API
|
|
11655
|
-
version: 2026-06-
|
|
11540
|
+
version: 2026-06-10-074321
|
|
11656
11541
|
x-logo:
|
|
11657
11542
|
altText: OpusDNS API Reference
|
|
11658
11543
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -23361,52 +23246,6 @@ paths:
|
|
|
23361
23246
|
summary: Update an IP restriction
|
|
23362
23247
|
tags:
|
|
23363
23248
|
- organization
|
|
23364
|
-
/v1/organizations/roles:
|
|
23365
|
-
get:
|
|
23366
|
-
description: Retrieves a list of roles for the current organization
|
|
23367
|
-
operationId: list_roles_v1_organizations_roles_get
|
|
23368
|
-
responses:
|
|
23369
|
-
'200':
|
|
23370
|
-
content:
|
|
23371
|
-
application/json:
|
|
23372
|
-
schema: {}
|
|
23373
|
-
description: Successful Response
|
|
23374
|
-
'401':
|
|
23375
|
-
content:
|
|
23376
|
-
application/problem+json:
|
|
23377
|
-
example:
|
|
23378
|
-
code: ERROR_AUTHENTICATION
|
|
23379
|
-
detail: Additional error context.
|
|
23380
|
-
status: 401
|
|
23381
|
-
title: Authentication Error
|
|
23382
|
-
type: authentication
|
|
23383
|
-
schema:
|
|
23384
|
-
$ref: '#/components/schemas/Problem'
|
|
23385
|
-
description: Unauthorized
|
|
23386
|
-
'403':
|
|
23387
|
-
content:
|
|
23388
|
-
application/problem+json:
|
|
23389
|
-
example:
|
|
23390
|
-
code: ERROR_PERMISSION_DENIED
|
|
23391
|
-
detail: Insufficient permissions to perform this action
|
|
23392
|
-
status: 403
|
|
23393
|
-
title: Permission Denied
|
|
23394
|
-
type: permission-denied
|
|
23395
|
-
schema:
|
|
23396
|
-
$ref: '#/components/schemas/Problem'
|
|
23397
|
-
description: Forbidden
|
|
23398
|
-
'422':
|
|
23399
|
-
content:
|
|
23400
|
-
application/problem+json:
|
|
23401
|
-
schema:
|
|
23402
|
-
$ref: '#/components/schemas/HTTPValidationError'
|
|
23403
|
-
description: Validation Error
|
|
23404
|
-
security:
|
|
23405
|
-
- OAuth2PasswordBearer: []
|
|
23406
|
-
- APIKeyHeader: []
|
|
23407
|
-
summary: List all roles
|
|
23408
|
-
tags:
|
|
23409
|
-
- organization
|
|
23410
23249
|
/v1/organizations/users:
|
|
23411
23250
|
get:
|
|
23412
23251
|
description: Retrieves a paginated list of users under the current organization
|
|
@@ -25336,7 +25175,7 @@ paths:
|
|
|
25336
25175
|
content:
|
|
25337
25176
|
application/json:
|
|
25338
25177
|
schema:
|
|
25339
|
-
$ref: '#/components/schemas/
|
|
25178
|
+
$ref: '#/components/schemas/UserWithPermissions'
|
|
25340
25179
|
description: Successful Response
|
|
25341
25180
|
'422':
|
|
25342
25181
|
content:
|
|
@@ -25544,7 +25383,7 @@ paths:
|
|
|
25544
25383
|
content:
|
|
25545
25384
|
application/json:
|
|
25546
25385
|
schema:
|
|
25547
|
-
$ref: '#/components/schemas/
|
|
25386
|
+
$ref: '#/components/schemas/PublicPermissionSet'
|
|
25548
25387
|
description: Successful Response
|
|
25549
25388
|
'422':
|
|
25550
25389
|
content:
|
|
@@ -25558,10 +25397,10 @@ paths:
|
|
|
25558
25397
|
summary: Get user permissions
|
|
25559
25398
|
tags:
|
|
25560
25399
|
- user
|
|
25561
|
-
/v1/users/{user_id}/
|
|
25400
|
+
/v1/users/{user_id}/role:
|
|
25562
25401
|
get:
|
|
25563
|
-
description: Get the
|
|
25564
|
-
operationId:
|
|
25402
|
+
description: Get the role for a user
|
|
25403
|
+
operationId: get_role_v1_users__user_id__role_get
|
|
25565
25404
|
parameters:
|
|
25566
25405
|
- in: path
|
|
25567
25406
|
name: user_id
|
|
@@ -25579,7 +25418,7 @@ paths:
|
|
|
25579
25418
|
content:
|
|
25580
25419
|
application/json:
|
|
25581
25420
|
schema:
|
|
25582
|
-
$ref: '#/components/schemas/
|
|
25421
|
+
$ref: '#/components/schemas/PublicRoleAssignment'
|
|
25583
25422
|
description: Successful Response
|
|
25584
25423
|
'422':
|
|
25585
25424
|
content:
|
|
@@ -25590,12 +25429,12 @@ paths:
|
|
|
25590
25429
|
security:
|
|
25591
25430
|
- OAuth2PasswordBearer: []
|
|
25592
25431
|
- APIKeyHeader: []
|
|
25593
|
-
summary: Get user
|
|
25432
|
+
summary: Get user role
|
|
25594
25433
|
tags:
|
|
25595
25434
|
- user
|
|
25596
|
-
|
|
25597
|
-
description:
|
|
25598
|
-
operationId:
|
|
25435
|
+
put:
|
|
25436
|
+
description: Set the role for a user, replacing any existing role
|
|
25437
|
+
operationId: set_user_role_v1_users__user_id__role_put
|
|
25599
25438
|
parameters:
|
|
25600
25439
|
- in: path
|
|
25601
25440
|
name: user_id
|
|
@@ -25612,14 +25451,14 @@ paths:
|
|
|
25612
25451
|
content:
|
|
25613
25452
|
application/json:
|
|
25614
25453
|
schema:
|
|
25615
|
-
$ref: '#/components/schemas/
|
|
25454
|
+
$ref: '#/components/schemas/PublicRoleAssignment'
|
|
25616
25455
|
required: true
|
|
25617
25456
|
responses:
|
|
25618
25457
|
'200':
|
|
25619
25458
|
content:
|
|
25620
25459
|
application/json:
|
|
25621
25460
|
schema:
|
|
25622
|
-
$ref: '#/components/schemas/
|
|
25461
|
+
$ref: '#/components/schemas/PublicRoleAssignment'
|
|
25623
25462
|
description: Successful Response
|
|
25624
25463
|
'422':
|
|
25625
25464
|
content:
|
|
@@ -25630,7 +25469,7 @@ paths:
|
|
|
25630
25469
|
security:
|
|
25631
25470
|
- OAuth2PasswordBearer: []
|
|
25632
25471
|
- APIKeyHeader: []
|
|
25633
|
-
summary:
|
|
25472
|
+
summary: Set user role
|
|
25634
25473
|
tags:
|
|
25635
25474
|
- user
|
|
25636
25475
|
servers:
|