Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Release middleware docs 18.32.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kpikulski committed Nov 25, 2024
1 parent 107cc1d commit 635872e
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 75 deletions.
19 changes: 19 additions & 0 deletions platform/authorized_api/access_control/public_v2.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
openapi: 3.0.3
x-api-category: Access Control
info:
title: Access Control Api
version: auto
Expand Down Expand Up @@ -85,9 +86,11 @@ info:
- add_app_to_meta_site - allows adding apps to a meta site (owner only)
- remove_app_from_meta_site - allows removing apps from a meta site (owner only)
paths:
"/api/access-control/v2/entry/{entity_id}":
get:
x-api-publish: true
summary: Entity actions
description: Returns granted actions to a given entity for current user.
operationId: get_entity_actions_v2
Expand All @@ -106,6 +109,7 @@ paths:
description: Forbidden
"/api/access-control/v2/entry/ppms/app/action/{action}":
get:
x-api-publish: true
summary: Apps with granted action
description: Returns apps with granted action for current user.
operationId: get_apps_with_action_v2
Expand Down Expand Up @@ -136,6 +140,7 @@ paths:
description: Forbidden
"/api/access-control/v2/entry/ppms/meta-site/action/{action}":
get:
x-api-publish: true
summary: Meta sites with granted action
description: Returns meta sites with granted action for current user.
operationId: get_meta_sites_with_action_v2
Expand Down Expand Up @@ -170,6 +175,7 @@ paths:
description: Forbidden
"/api/access-control/v2/entry/ppms/user/action/{action}":
get:
x-api-publish: true
summary: Users with granted action
description: Returns users with granted action for current user.
operationId: get_users_with_action_v2
Expand Down Expand Up @@ -201,6 +207,7 @@ paths:
description: Forbidden
/api/access-control/v2/global/actions:
get:
x-api-publish: true
summary: Global actions
description: It gets actions without specific entity context for a given user.
operationId: get_global_actions_v2
Expand All @@ -213,11 +220,13 @@ paths:
$ref: "#/components/schemas/GlobalActions"
"/api/access-control/v2/app/{app_id}/permission/user":
get:
x-api-publish: true
summary: Users permissions for a given app
description: >
Lists all users (but not owners) and their permissions for a given app.
List contains both explicit permission of a user and implicit highest permission inherited from user groups which user belongs to.
operationId: list_app_permissions_for_user_v2
parameters:
- $ref: "#/components/parameters/Limit"
Expand Down Expand Up @@ -249,6 +258,7 @@ paths:
description: Not Found
"/api/access-control/v2/app/{app_id}/permission/user-group":
get:
x-api-publish: true
summary: User groups permissions for a given app
description: Lists all user groups and their permissions for a given app.
operationId: list_app_permissions_for_user_group_v2
Expand Down Expand Up @@ -285,12 +295,14 @@ paths:
description: Not Found
"/api/access-control/v2/meta-site/{meta_site_id}/permission/user":
get:
x-api-publish: true
summary: Users permissions for a given meta site
description: >
Lists all users (but not owners) and their permissions for a given meta
site.
List contains both explicit permission of a user and implicit highest permission inherited from user groups which user belongs to.
operationId: list_meta_site_permissions_for_user_v2
parameters:
- $ref: "#/components/parameters/Limit"
Expand Down Expand Up @@ -322,6 +334,7 @@ paths:
description: Not Found
"/api/access-control/v2/meta-site/{meta_site_id}/permission/user-group":
get:
x-api-publish: true
summary: User groups permissions for a given meta site
description: Lists all user groups and their permission for a given meta site.
operationId: list_meta_site_permissions_for_user_group_v2
Expand All @@ -346,6 +359,7 @@ paths:
description: Not Found
"/api/access-control/v2/app/{app_id}/permission/user/{user_id}":
post:
x-api-publish: true
summary: Set user permission for a given app
description: Sets user permission for a given app
operationId: set_app_permission_for_user_v2
Expand All @@ -372,6 +386,7 @@ paths:
description: Forbidden
"/api/access-control/v2/app/{app_id}/permission/user-group/{user_group_id}":
post:
x-api-publish: true
summary: Set user group permission for a given app
description: It sets permission for a given app for a user group
operationId: set_app_permission_for_user_group_v2
Expand All @@ -398,6 +413,7 @@ paths:
description: Forbidden
"/api/access-control/v2/meta-site/{meta_site_id}/permission/user/{user_id}":
post:
x-api-publish: true
summary: Set user permission for a given meta site
description: It sets permission for a given meta site for a user
operationId: set_meta_site_permission_for_user_v2
Expand All @@ -424,6 +440,7 @@ paths:
description: Forbidden
"/api/access-control/v2/meta-site/{meta_site_id}/permission/user-group/{user_group_id}":
post:
x-api-publish: true
summary: Set user group permission for a given meta site
description: It sets permission for a given meta site for a user group
operationId: set_meta_site_permission_for_user_group_v2
Expand All @@ -450,6 +467,7 @@ paths:
description: Forbidden
/api/access-control/v2/entry/group:
post:
x-api-publish: true
summary: Permission set
deprecated: true
description: >
Expand All @@ -475,6 +493,7 @@ paths:
description: Forbidden
"/api/access-control/v2/entry/groups/ppms/app/{entity_id}":
get:
x-api-publish: true
summary: Permissions
deprecated: true
description: >
Expand Down
36 changes: 22 additions & 14 deletions platform/authorized_api/apps/public_v2.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
openapi: 3.0.3
x-api-category: Apps
info:
title: Apps Api
version: auto
Expand Down Expand Up @@ -121,7 +122,7 @@ components:
List of URL's under which the app is available (deep linking is supported)
items:
type: string
example: [ 'http://example.com' ]
example: ['https://example.com']
App_Timezone:
type: string
description: It allows to specify the timezone for your app (using IANA format), and tracked data will show date & time of this time zone. Please note that changing the timezone will not affect previous logs in reports.
Expand Down Expand Up @@ -153,13 +154,13 @@ components:
type: string
description: App type
example: web
enum: [ web, sharepoint ]
enum: [web, sharepoint]
default: web
App_Type:
type: string
description: App type
example: web
enum: [ web, sharepoint, demo ]
enum: [web, sharepoint, demo]
default: web
JsonApi_Id:
type: string
Expand Down Expand Up @@ -240,7 +241,7 @@ components:
type: array
items:
type: string
example: [ view ]
example: [view]
App_User_Group_Permissions_JsonApi:
type: object
properties:
Expand Down Expand Up @@ -278,7 +279,7 @@ components:
properties:
type:
description: Resource type
enum: [ ppms/app ]
enum: [ppms/app]
type: string
id:
$ref: "#/components/schemas/JsonApi_Id"
Expand Down Expand Up @@ -339,18 +340,18 @@ components:
type: array
description: |
Site search query params for an app
default: [ q,query,s,search,searchword,keyword ]
default: [q, query, s, search, searchword, keyword]
items:
type: string
example: [ q,query,s,search,searchword,keyword ]
example: [q, query, s, search, searchword, keyword]
siteSearchCategoryParams:
type: array
description: |
Site search category params for an app
default: [ ]
default: []
items:
type: string
example: [ ]
example: []
delay:
type: integer
description: Delay (in ms) is used to slow down actions (e.g. redirect) when waiting for tags to be resolved
Expand All @@ -360,7 +361,7 @@ components:
type: array
description: |
List of IPs (IPv4 and IPv6) to blacklist from tracking, e.g `192.168.0.0` or `2607:f0d0:1002:51::4`. You can use wildcards, e.g. `1.2.3.*`, `1.2.*.*` or `::7:*`
default: [ ]
default: []
items:
type: string
example:
Expand All @@ -373,7 +374,7 @@ components:
type: array
description: |
URL query parameters excluded by default from tracking: `gclid`, `fb_xd_fragment`, `fb_comment_id`, `phpsessid`, `jsessid`, `aspsessid`, `doing_wp_cron`, `sid` and `pk_vid`. Regular expressions such as `/^sess.*|.*[dD]ate$/` are supported
default: [ ]
default: []
items:
type: string
example:
Expand All @@ -385,7 +386,7 @@ components:
type: array
description: |
If the visitor's user agent string contains any of the strings you specify, the visitor will be excluded from tracking
default: [ ]
default: []
items:
type: string
example:
Expand Down Expand Up @@ -414,7 +415,7 @@ components:
privacyCookieDomains:
type: array
description: List of privacy cookie domains for an app (works if `privacyCookieDomainsEnabled` is true), you can also use wildcards like ``*.example.com``
default: [ ]
default: []
items:
type: string
example:
Expand All @@ -438,7 +439,7 @@ components:
gdprDataAnonymizationMode:
type: string
description: Anonymization mode
enum: [ no_device_storage, session_cookie_id ]
enum: [no_device_storage, session_cookie_id]
default: session_cookie_id
privacyUseCookies:
type: boolean
Expand Down Expand Up @@ -537,6 +538,7 @@ components:
paths:
/api/apps/v2:
get:
x-api-publish: true
summary: Apps list
description: |
Get list of apps<br><br>
Expand All @@ -561,6 +563,7 @@ paths:
schema:
$ref: "#/components/schemas/App_List_JsonApi"
post:
x-api-publish: true
summary: App add
description: It adds app
operationId: api_app_add_v2
Expand Down Expand Up @@ -643,6 +646,7 @@ paths:
example: Limit of apps has been reached
/api/apps/v2/{app_id}:
get:
x-api-publish: true
summary: App details
description: It gets app details
operationId: api_apps_details_v2
Expand All @@ -658,6 +662,7 @@ paths:
404:
description: Not Found
delete:
x-api-publish: true
summary: App delete
description: It deletes app with given ID
operationId: api_app_delete_v2
Expand All @@ -669,6 +674,7 @@ paths:
400:
description: Bad Request
patch:
x-api-publish: true
summary: App edit
description: It edits app
operationId: api_app_edit_v2
Expand All @@ -688,6 +694,7 @@ paths:
description: Bad Request
/api/apps/v2/{app_id}/permissions:
get:
x-api-publish: true
deprecated: true
summary: App permissions
description: Get app permissions
Expand All @@ -709,6 +716,7 @@ paths:
description: Not Found
/api/apps/v2/user-group/{user_group_id}/permissions:
get:
x-api-publish: true
summary: Apps permission for user group
description: Get apps permission for user group
operationId: api_apps_user_group_permissions_v2
Expand Down
2 changes: 2 additions & 0 deletions platform/authorized_api/audit_log/public_v1.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
openapi: 3.0.3
x-api-category: Audit Log
info:
title: Audit Log Api
version: auto
Expand All @@ -7,6 +8,7 @@ servers:
paths:
/api/audit-log/v1/entries:
get:
x-api-publish: true
summary: Entry list
description: >
List of Audit Log entries<br><br>
Expand Down
Loading

0 comments on commit 635872e

Please sign in to comment.