Skip to content

Commit 8fc0065

Browse files
committed
Minor adjustments
1 parent 6b06ed6 commit 8fc0065

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/admin-api-migration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Admin REST API Migration Guide
22

3-
The admin REST API response shapes have changed as part of the authorization system refactoring. All endpoints use the same URL paths and HTTP methods. Request bodies are unchanged. Only response JSON shapes differ.
3+
The admin REST API response shapes have changed as part of the authorization system refactoring. All endpoints use the same URL paths and HTTP methods. Request bodies are unchanged (both integer and string enum values are accepted). Only response JSON shapes differ.
44

55
## Unchanged endpoints
66

@@ -170,7 +170,7 @@ All permissions endpoints now return a generic `ObjectPermissions` shape instead
170170
| Parent as type-specific field (`tenant` on groups, `group` on feeds) | `parent` with `{type, id, name}` |
171171
| Children as type-specific field (`groups` on tenants, `feeds` on groups) | `children` array of `{type, id, name}` |
172172
| Users grouped by role (`admins`, `members`, `managers`, `editors`, `viewers`) | `subjects` flat array with `.relation` field |
173-
| Actions include `false` values via `omitempty` (absent = false) | Actions only include `true` values (absent = false) |
173+
| Actions included both granted (`true`) and denied (`false`) values | Actions only include granted (`true`) values (absent = not granted) |
174174
| Feed-specific fields in children (`onestop_id`) | Only `name` available on children |
175175

176176
### Key differences summary

0 commit comments

Comments
 (0)