v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
Repository Granular Permissions

Get path permission details

Get details of a specific path permission rule

get/repos/{repo_id}/granular-permissions/{permission_id}

Response

Path permission details returned

idstring required

Granular permission identifier

repo_idstring required

Repository ID this permission belongs to

user_idstring

User ID this permission is assigned to

group_idstring

Group ID this permission is assigned to

path_patternstring required

Path pattern for matching files

access_level'ADMIN' | 'WRITE' | 'READ' | 'NO_ACCESS' required

Access level for path permissions. Hierarchical: ADMIN > WRITE > READ > NO_ACCESS.

permission_type'ALLOW_LT_EQ' | 'ALLOW_EQ' | 'DENY_ALL' | 'DENY_EQ' required

Permission type controlling how access levels are granted or denied. ALLOW_LT_EQ grants specified level and all lower levels. ALLOW_EQ grants only the exact level. DENY_ALL denies all level granted above in the table. DENY_EQ denies only the exact level.

evaluation_orderinteger required

Rule evaluation priority. Higher values are evaluated first (read-only).

created_unixinteger required

Creation timestamp (Unix epoch)

updated_unixinteger required

Last update timestamp (Unix epoch)

created_bystring required

User ID who created this permission

last_updated_bystring required

User ID who last updated this permission