Skip to content
Snippets Groups Projects

fix: Remove basic auth from oenapi spec + add user_delete examples

1 file
+ 76
13
Compare changes
  • Side-by-side
  • Inline
+ 76
13
@@ -77,7 +77,6 @@ paths:
description: Retrieve profile information about a specified user.
operationId: RetrieveUserEf
security:
- BasicAuth: []
- OAuth2:
- eclipsefdn_view_all_profiles
parameters:
@@ -114,7 +113,6 @@ paths:
description: Retrieve profile information about a specified user.
operationId: RetrieveUserGh
security:
- BasicAuth: []
- OAuth2:
- eclipsefdn_view_all_profiles
parameters:
@@ -150,8 +148,6 @@ paths:
summary: Retrieve user eca status via username
description: Retrieve eca status about a specified user.
operationId: RetrieveEca
security:
- BasicAuth: []
parameters:
- name: name
in: path
@@ -182,8 +178,6 @@ paths:
summary: Retrieve user mailing-list subscriptions via username
description: Retrieve mailing-list subscriptions for a specified user.
operationId: RetrieveMailingList
security:
- BasicAuth: []
parameters:
- name: name
in: path
@@ -211,8 +205,6 @@ paths:
summary: Retrieve user projects via username
description: Retrieve projects for a specified user.
operationId: RetrieveProjects
security:
- BasicAuth: []
parameters:
- name: name
in: path
@@ -240,8 +232,6 @@ paths:
summary: Retrieve user gerrit merge count via username
description: Retrieve gerrit merge count data about a specified user.
operationId: RetrieveGerrit
security:
- BasicAuth: []
parameters:
- name: name
in: path
@@ -481,9 +471,6 @@ paths:
components:
securitySchemes:
BasicAuth:
type: http
scheme: basic
OAuth2:
type: oauth2
flows:
@@ -902,6 +889,70 @@ components:
type: array
items:
$ref: "#/components/schemas/UserDeleteRequest"
example:
- id: 1
uid: 606609
name: zacharysabourin
mail: zachary.sabourin@eclipse-foundation.org
host: projects.eclipse.org
status: 0
created: 1686086484
changed: 1686086484
url: https://api.eclipse.org/account/user_delete_request/1
- id: 2
uid: 606609
name: zacharysabourin
mail: zachary.sabourin@eclipse-foundation.org
host: marketplace.eclipse.org
status: 0
created: 1686086484
changed: 1686086484
url: https://api.eclipse.org/account/user_delete_request/2
- id: 3
uid: 606609
name: zacharysabourin
mail: zachary.sabourin@eclipse-foundation.org
host: eclipse.org/downloads/packages
status: 0
created: 1686086484
changed: 1686086484
url: https://api.eclipse.org/account/user_delete_request/3
- id: 4
uid: 606609
name: zacharysabourin
mail: zachary.sabourin@eclipse-foundation.org
host: blogs.eclipse.org
status: 0
created: 1686086484
changed: 1686086484
url: https://api.eclipse.org/account/user_delete_request/4
- id: 5
uid: 606609
name: zacharysabourin
mail: zachary.sabourin@eclipse-foundation.org
host: accounts.eclipse.org
status: 0
created: 1686086484
changed: 1686086484
url: https://api.eclipse.org/account/user_delete_request/5
- id: 6
uid: 606609
name: zacharysabourin
mail: zachary.sabourin@eclipse-foundation.org
host: eclipsecon.org
status: 0
created: 1686086484
changed: 1686086484
url: https://api.eclipse.org/account/user_delete_request/6
- id: 7
uid: 606609
name: zacharysabourin
mail: zachary.sabourin@eclipse-foundation.org
host: newsroom.eclipse.org
status: 0
created: 1686086484
changed: 1686086484
url: https://api.eclipse.org/account/user_delete_request/7
UserDeleteRequest:
type: object
@@ -933,6 +984,16 @@ components:
url:
type: string
description: The URL pointing to the resource
example:
id: 1
uid: 606609
name: zacharysabourin
mail: zachary.sabourin@eclipse-foundation.org
host: "projects.eclipse.org"
status: 0
created: 1686086484
changed: 1686086484
url: https://api.eclipse.org/account/user_delete_request/1
RequestStatusUpdate:
type: object
@@ -940,3 +1001,5 @@ components:
status:
type: integer
description: The desired status for updating the delete request.
example:
status: 2
Loading