Skip to content

update access rules for /jobs endpoints in Swagger #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ paths:
description: |
Create job.

**Authorization** Topcoder token with write job scope is allowed
**Authorization** All topcoder members are allowed
security:
- bearerAuth: []
requestBody:
Expand Down Expand Up @@ -67,7 +67,7 @@ paths:
description: |
Search jobs.

**Authorization** Topcoder token with read job scope is allowed
**Authorization** All topcoder members are allowed
security:
- bearerAuth: []
parameters:
Expand Down Expand Up @@ -231,7 +231,7 @@ paths:
description: |
Get job information by id.

**Authorization** Topcoder token with read job scope is allowed
**Authorization** All topcoder members are allowed
security:
- bearerAuth: []
parameters:
Expand Down Expand Up @@ -290,7 +290,7 @@ paths:
description: |
Delete the job.

**Authorization** Topcoder token with delete job scope is allowed
**Authorization** Every topcoder member can delete the job he/she created. bookingmanager can delete all jobs.
security:
- bearerAuth: []
parameters:
Expand Down Expand Up @@ -340,7 +340,7 @@ paths:
description: |
Update the job.

**Authorization** Topcoder token with update job scope is allowed
**Authorization** Every topcoder member can update the job he/she created. bookingmanager and connectmember can update all jobs.
security:
- bearerAuth: []
parameters:
Expand Down