Skip to content
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

middleware for 18.1 #1065

Merged
merged 1 commit into from
Sep 11, 2023
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
15 changes: 14 additions & 1 deletion platform/authorized_api/apps/public_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ components:
schema:
type: integer
default: 10000
permission:
name: permission
in: query
description: Filter apps by permission (actually by an `action`)
required: false
schema:
type: string
enum:
- view
- edit
- publish
- manage
search:
name: search
in: query
Expand Down Expand Up @@ -474,7 +486,7 @@ paths:
Get list of apps<br><br>
Full example:
```
/api/apps/v2?offset=100&limit=10&sort=name&search=nifty+marketing
/api/apps/v2?offset=100&limit=10&sort=name&search=nifty+marketing&permission=view
```
this will list 10 apps ordered ascending by `name` starting on 101th matching search query "nifty marketing".
operationId: api_app_list_v2
Expand All @@ -484,6 +496,7 @@ paths:
- $ref: "#/components/parameters/search_query"
- $ref: "#/components/parameters/sort"
- $ref: "#/components/parameters/search"
- $ref: "#/components/parameters/permission"
responses:
200:
description: OK
Expand Down
Loading