/list
GET /collection/list — Retrieve a list of collections.
GET /collection/list — Retrieve a list of collections.- Requires an authenticated user.
- Only collections the user has
BAG_READpermissions for are returned. - This call is slow for non-root users if there are many collections in the system.
Access token in the Authorization header:
Authorization: Bearer <token>.
The offset when requesting the collection list.
The limit when requesting the collection list. Default is 1000.
The access token in form of Bearer <token>. You can also use authorization
which does the same. authorization is looked at first.
The access token in form of Bearer <token>.
The list of collections.
Array of collections.
The number of objects in this collection.
The number of objects in this collection and and all descendant collections (recursive).
Flag that indicates that this collection has an active _acl (even if inherited).
Flag that inidicates if this collection has children. This flag is indpendent of the actual permissions of
the user for that collection. So, if the user cannot access the only sub collection of this collection, the
_has_children flag will still be set.
Flag that inidicates if this collection contains at least one foreign collection object.
Starting with 1, _level states the depth of the collection in the collection tree. The top level from the user's
perspective is 3. The 1st level is the root collection, the 2nd level the user's top level collection which is a system
collection and automatically created to hold all the user's collections underneath.
Flag which indicates a private ACL. With this setting ACL from the parent are ignored (except for the items
which set sticky.
Collection can share permissions to other users. The owner of the
collection must carry the grantable permission for each object in the
collection in order to share the collection. fylr determines for the
whole collection if sharing is allowed or not. If it is not allowed, the
collection will be put in _invalid_acl: true state which disables the
ACL attached to the collection.
This flag indicates that the collection has a pin code. The actual pin code is only visible
to system.root users and users with the BAG_ACL.
Flag to indicate that the pin was entered correctly for the current user. system.root and
all users with the BAG_ACL permission will always see pin_ok.
Timestamp when this collection was created.
Timestamp when this collection was updated.
No authenticated user. The request must carry a valid access token.
The authenticated user lacks a required permission. See code
for the specific reason.
PUT /collection/list — Create new collections.
PUT /collection/list — Create new collections.- The user needs
BAG_CREATEin the parent collection to create a collection. - The
_ownerneeds to be the owner of the parent. - To set
_private_aclor_aclthe user needsBAG_ACL. - ACL items with
send_email_notificationwill sent out and email. COLLECTION_INSERTevent is written.
Access token in the Authorization header:
Authorization: Bearer <token>.
Allow storing the collection even if the owner doesn't have the necessary
permissions for all objects to share the rights defined in the _acl property
of the collection. The _invalid_acl flag will be set, if the user doesn't
have sufficient permissions to share all objects of the collection. The user
needs the permission BAG_ACL for the collection in order to use this
parameter.
Differs from easydb 5: this confirmation is driven by the boolean
allow_invalid_acl parameter. easydb 5 instead resolves the 202
confirmation with a collection_rights_policy query parameter; there is no
allow_invalid_acl parameter in easydb 5.
If set, the invalid-ACL validity check (whether the collection owner may
grant the rights of all linked objects) is not run inline. Instead a queued
ACTION_COLLECTION_ACL_CHECK job is scheduled and the request returns
immediately, before the check has resolved.
The access token in form of Bearer <token>. You can also use authorization
which does the same. authorization is looked at first.
The access token in form of Bearer <token>.
The number of objects in this collection.
The number of objects in this collection and and all descendant collections (recursive).
Flag that indicates that this collection has an active _acl (even if inherited).
Flag that inidicates if this collection has children. This flag is indpendent of the actual permissions of
the user for that collection. So, if the user cannot access the only sub collection of this collection, the
_has_children flag will still be set.
Flag that inidicates if this collection contains at least one foreign collection object.
Starting with 1, _level states the depth of the collection in the collection tree. The top level from the user's
perspective is 3. The 1st level is the root collection, the 2nd level the user's top level collection which is a system
collection and automatically created to hold all the user's collections underneath.
Flag which indicates a private ACL. With this setting ACL from the parent are ignored (except for the items
which set sticky.
Collection can share permissions to other users. The owner of the
collection must carry the grantable permission for each object in the
collection in order to share the collection. fylr determines for the
whole collection if sharing is allowed or not. If it is not allowed, the
collection will be put in _invalid_acl: true state which disables the
ACL attached to the collection.
This flag indicates that the collection has a pin code. The actual pin code is only visible
to system.root users and users with the BAG_ACL.
Flag to indicate that the pin was entered correctly for the current user. system.root and
all users with the BAG_ACL permission will always see pin_ok.
Timestamp when this collection was created.
Timestamp when this collection was updated.
The list of collections.
Array of collections.
The number of objects in this collection.
The number of objects in this collection and and all descendant collections (recursive).
Flag that indicates that this collection has an active _acl (even if inherited).
Flag that inidicates if this collection has children. This flag is indpendent of the actual permissions of
the user for that collection. So, if the user cannot access the only sub collection of this collection, the
_has_children flag will still be set.
Flag that inidicates if this collection contains at least one foreign collection object.
Starting with 1, _level states the depth of the collection in the collection tree. The top level from the user's
perspective is 3. The 1st level is the root collection, the 2nd level the user's top level collection which is a system
collection and automatically created to hold all the user's collections underneath.
Flag which indicates a private ACL. With this setting ACL from the parent are ignored (except for the items
which set sticky.
Collection can share permissions to other users. The owner of the
collection must carry the grantable permission for each object in the
collection in order to share the collection. fylr determines for the
whole collection if sharing is allowed or not. If it is not allowed, the
collection will be put in _invalid_acl: true state which disables the
ACL attached to the collection.
This flag indicates that the collection has a pin code. The actual pin code is only visible
to system.root users and users with the BAG_ACL.
Flag to indicate that the pin was entered correctly for the current user. system.root and
all users with the BAG_ACL permission will always see pin_ok.
Timestamp when this collection was created.
Timestamp when this collection was updated.
The owner of one of the created collections lacks a grantable right
for a linked object and the caller has BAG_ACL. Re-send with
allow_invalid_acl=true to store with sharing disabled.
The request could not be processed.
No authenticated user. The request must carry a valid access token.
The authenticated user lacks a required permission. See code
for the specific reason.
GET /collection/list/{parentId} — Retrieve all children of the given parent collection. This returns only the immediate children.
GET /collection/list/{parentId} — Retrieve all children of the given parent collection. This returns only the immediate children.- Requires an authenticated user.
- Only collections the user has
BAG_READpermissions for are returned. - This call is slow for non-root users if there are many collections in the system.
Access token in the Authorization header:
Authorization: Bearer <token>.
The parent id of the collection to list the children for. Use null to
retrieve collections without parent.
The offset when requesting the collection list.
The limit when requesting the collection list. Default is 1000.
The access token in form of Bearer <token>. You can also use authorization
which does the same. authorization is looked at first.
The access token in form of Bearer <token>.
The list of collections.
Array of collections.
The number of objects in this collection.
The number of objects in this collection and and all descendant collections (recursive).
Flag that indicates that this collection has an active _acl (even if inherited).
Flag that inidicates if this collection has children. This flag is indpendent of the actual permissions of
the user for that collection. So, if the user cannot access the only sub collection of this collection, the
_has_children flag will still be set.
Flag that inidicates if this collection contains at least one foreign collection object.
Starting with 1, _level states the depth of the collection in the collection tree. The top level from the user's
perspective is 3. The 1st level is the root collection, the 2nd level the user's top level collection which is a system
collection and automatically created to hold all the user's collections underneath.
Flag which indicates a private ACL. With this setting ACL from the parent are ignored (except for the items
which set sticky.
Collection can share permissions to other users. The owner of the
collection must carry the grantable permission for each object in the
collection in order to share the collection. fylr determines for the
whole collection if sharing is allowed or not. If it is not allowed, the
collection will be put in _invalid_acl: true state which disables the
ACL attached to the collection.
This flag indicates that the collection has a pin code. The actual pin code is only visible
to system.root users and users with the BAG_ACL.
Flag to indicate that the pin was entered correctly for the current user. system.root and
all users with the BAG_ACL permission will always see pin_ok.
Timestamp when this collection was created.
Timestamp when this collection was updated.
No authenticated user. The request must carry a valid access token.
The authenticated user lacks a required permission. See code
for the specific reason.
The parent collection addressed by the URL does not exist.
Last updated