|
1448 | 1448 | } |
1449 | 1449 | }, |
1450 | 1450 | "requestBody": { |
1451 | | - "description": "<h3>Notes:</h3> <ul> <li>**providerMetadata** is set by the server. If provided, it will be overwritten.</li> <li>**datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server. </li> </ul>", |
| 1451 | + "description": "<h3>Notes:</h3> <ul> <li>**providerMetadata** is set by the server. If provided, it will be overwritten.</li> <li>**datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server. </li> </ul>", |
1452 | 1452 | "required": true, |
1453 | 1453 | "content": { |
1454 | 1454 | "application/json": { |
|
1560 | 1560 | } |
1561 | 1561 | }, |
1562 | 1562 | "requestBody": { |
1563 | | - "description": "<h3>Notes:</h3> <ul> <li>When updating a rejected record to published, it is recommended to confirm that both the Cve-Id and CVE record are in the correct state after calling this endpoint. Though very unlikely, a race condition can occur causing the two states to be out of sync. </li> <li>**providerMetadata** is set by the server. If provided, it will be overwritten.</li> <li>**datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server. </li> </ul>", |
| 1563 | + "description": "<h3>Notes:</h3> <ul> <li>When updating a rejected record to published, it is recommended to confirm that both the Cve-Id and CVE record are in the correct state after calling this endpoint. Though very unlikely, a race condition can occur causing the two states to be out of sync. </li> <li>**providerMetadata** is set by the server. If provided, it will be overwritten.</li> <li>**datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server. </li> </ul>", |
1564 | 1564 | "required": true, |
1565 | 1565 | "content": { |
1566 | 1566 | "application/json": { |
|
1671 | 1671 | } |
1672 | 1672 | }, |
1673 | 1673 | "requestBody": { |
1674 | | - "description": "<h3>Notes:</h3> <ul> <li>**providerMetadata** is set by the server. If provided, it will be overwritten.</li> <li>**datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server. </li> </ul>", |
| 1674 | + "description": "<h3>Notes:</h3> <ul> <li>**providerMetadata** is set by the server. If provided, it will be overwritten.</li> <li>**datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server. </li> </ul>", |
1675 | 1675 | "required": true, |
1676 | 1676 | "content": { |
1677 | 1677 | "application/json": { |
|
1772 | 1772 | } |
1773 | 1773 | }, |
1774 | 1774 | "requestBody": { |
1775 | | - "description": "<h3>Notes:</h3> <ul> <li>It is recommended to confirm that both the Cve-Id and CVE record are in the REJECTED state after calling this endpoint. Though very unlikely, a race condition can occur causing the two states to be out of sync. </li> <li>**providerMetadata** is set by the server. If provided, it will be overwritten.</li> <li>**datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server. </li> </ul>", |
| 1775 | + "description": "<h3>Notes:</h3> <ul> <li>It is recommended to confirm that both the Cve-Id and CVE record are in the REJECTED state after calling this endpoint. Though very unlikely, a race condition can occur causing the two states to be out of sync. </li> <li>**providerMetadata** is set by the server. If provided, it will be overwritten.</li> <li>**datePublished** and **assignerShortname** are optional fields in the schema, but are set by the server. </li> </ul>", |
1776 | 1776 | "required": true, |
1777 | 1777 | "content": { |
1778 | 1778 | "application/json": { |
|
3130 | 3130 | "content": { |
3131 | 3131 | "application/json": { |
3132 | 3132 | "schema": { |
3133 | | - "$ref": "../schemas/registry-org/get-registry-org-response.json" |
| 3133 | + "$ref": "../schemas/registry-org/list-registry-orgs-response.json" |
3134 | 3134 | } |
3135 | 3135 | } |
3136 | 3136 | } |
|
3201 | 3201 | "content": { |
3202 | 3202 | "application/json": { |
3203 | 3203 | "schema": { |
3204 | | - "$ref": "../schemas/org/create-org-response.json" |
| 3204 | + "$ref": "../schemas/registry-org/create-registry-org-response.json" |
3205 | 3205 | } |
3206 | 3206 | } |
3207 | 3207 | } |
|
3252 | 3252 | "content": { |
3253 | 3253 | "application/json": { |
3254 | 3254 | "schema": { |
3255 | | - "$ref": "#/components/schemas/CreateOrgPayload" |
| 3255 | + "$ref": "../schemas/registry-org/create-registry-org-request.json" |
3256 | 3256 | } |
3257 | 3257 | } |
3258 | 3258 | } |
|
3293 | 3293 | "content": { |
3294 | 3294 | "application/json": { |
3295 | 3295 | "schema": { |
3296 | | - "$ref": "../schemas/org/get-org-response.json" |
| 3296 | + "$ref": "../schemas/registry-org/get-registry-org-response.json" |
3297 | 3297 | } |
3298 | 3298 | } |
3299 | 3299 | } |
|
3376 | 3376 | "content": { |
3377 | 3377 | "application/json": { |
3378 | 3378 | "schema": { |
3379 | | - "$ref": "../schemas/org/delete-org-response.json" |
| 3379 | + "type": "object", |
| 3380 | + "properties": { |
| 3381 | + "message": { |
| 3382 | + "type": "string", |
| 3383 | + "description": "Message describing successful deletion operation" |
| 3384 | + } |
| 3385 | + } |
3380 | 3386 | } |
3381 | 3387 | } |
3382 | 3388 | } |
|
3458 | 3464 | "content": { |
3459 | 3465 | "application/json": { |
3460 | 3466 | "schema": { |
3461 | | - "$ref": "../schemas/org/update-org-response.json" |
| 3467 | + "$ref": "../schemas/registry-org/update-registry-org-response.json" |
3462 | 3468 | } |
3463 | 3469 | } |
3464 | 3470 | } |
|
3519 | 3525 | "content": { |
3520 | 3526 | "application/json": { |
3521 | 3527 | "schema": { |
3522 | | - "$ref": "#/components/schemas/UpdateOrgPayload" |
| 3528 | + "$ref": "../schemas/registry-org/update-registry-org-request.json" |
3523 | 3529 | } |
3524 | 3530 | } |
3525 | 3531 | } |
|
3563 | 3569 | "content": { |
3564 | 3570 | "application/json": { |
3565 | 3571 | "schema": { |
3566 | | - "$ref": "../schemas/user/list-users-response.json" |
| 3572 | + "$ref": "../schemas/registry-user/list-registry-users-response.json" |
3567 | 3573 | } |
3568 | 3574 | } |
3569 | 3575 | } |
|
3655 | 3661 | "content": { |
3656 | 3662 | "application/json": { |
3657 | 3663 | "schema": { |
3658 | | - "$ref": "../schemas/user/create-user-response.json" |
| 3664 | + "$ref": "../schemas/registry-user/create-registry-user-response.json" |
3659 | 3665 | } |
3660 | 3666 | } |
3661 | 3667 | } |
|
3716 | 3722 | "content": { |
3717 | 3723 | "application/json": { |
3718 | 3724 | "schema": { |
3719 | | - "$ref": "../schemas/user/create-user-request.json" |
| 3725 | + "$ref": "../schemas/registry-user/create-registry-user-request.json" |
3720 | 3726 | } |
3721 | 3727 | } |
3722 | 3728 | } |
|
3747 | 3753 | ], |
3748 | 3754 | "responses": { |
3749 | 3755 | "200": { |
3750 | | - "description": "A list of all registry organizations, along with pagination fields if results span multiple pages of data", |
| 3756 | + "description": "A list of all registry users, along with pagination fields if results span multiple pages of data", |
3751 | 3757 | "content": { |
3752 | 3758 | "application/json": { |
3753 | 3759 | "schema": { |
3754 | | - "$ref": "../schemas/registry-user/get-registry-users-response.json" |
| 3760 | + "$ref": "../schemas/registry-user/list-registry-users-response.json" |
3755 | 3761 | } |
3756 | 3762 | } |
3757 | 3763 | } |
|
3822 | 3828 | "content": { |
3823 | 3829 | "application/json": { |
3824 | 3830 | "schema": { |
3825 | | - "$ref": "../schemas/user/create-user-response.json" |
| 3831 | + "$ref": "../schemas/registry-user/create-registry-user-response.json" |
3826 | 3832 | } |
3827 | 3833 | } |
3828 | 3834 | } |
|
3873 | 3879 | "content": { |
3874 | 3880 | "application/json": { |
3875 | 3881 | "schema": { |
3876 | | - "$ref": "#/components/schemas/CreateUserPayload" |
| 3882 | + "$ref": "../schemas/registry-user/create-registry-user-request.json" |
3877 | 3883 | } |
3878 | 3884 | } |
3879 | 3885 | } |
|
3914 | 3920 | "content": { |
3915 | 3921 | "application/json": { |
3916 | 3922 | "schema": { |
3917 | | - "$ref": "../schemas/user/get-user-response.json" |
| 3923 | + "$ref": "../schemas/registry-user/get-registry-user-response.json" |
3918 | 3924 | } |
3919 | 3925 | } |
3920 | 3926 | } |
|
3997 | 4003 | "content": { |
3998 | 4004 | "application/json": { |
3999 | 4005 | "schema": { |
4000 | | - "$ref": "../schemas/user/update-user-response.json" |
| 4006 | + "$ref": "../schemas/registry-user/update-registry-user-response.json" |
4001 | 4007 | } |
4002 | 4008 | } |
4003 | 4009 | } |
|
4058 | 4064 | "content": { |
4059 | 4065 | "application/json": { |
4060 | 4066 | "schema": { |
4061 | | - "$ref": "#/components/schemas/UpdateUserPayload" |
| 4067 | + "$ref": "../schemas/registry-user/update-registry-user-request.json" |
4062 | 4068 | } |
4063 | 4069 | } |
4064 | 4070 | } |
|
4097 | 4103 | "content": { |
4098 | 4104 | "application/json": { |
4099 | 4105 | "schema": { |
4100 | | - "$ref": "../schemas/user/delete-user-response.json" |
| 4106 | + "type": "object", |
| 4107 | + "properties": { |
| 4108 | + "message": { |
| 4109 | + "type": "string", |
| 4110 | + "description": "Message describing successful deletion operation" |
| 4111 | + } |
| 4112 | + } |
4101 | 4113 | } |
4102 | 4114 | } |
4103 | 4115 | } |
|
0 commit comments