document
model./
(slash). Each segment can either be a literal ID or a generic ID of the collection or document. A literal ID is a plain string, such as users
, while a generic ID must be enclosed in curly braces (e.g. {userId}
).Example values:projects/{projectId}
: A document in a top-level projects
collection.users/{userId}/posts/{postId}
: A document in a posts
sub-collection.static/data/authors/{authorId}
: A document in a static authors
sub-collection.{rootColId}/{docId}/cities/london
: A document with a specific ID in a cities
sub-collection.alias
model.v0.4
. Patch version is always excluded.
validate
command as shown below: