Blog tags
Flat labels a post can carry — the cross-cutting counterpart of a category — each with a per-view overlay of its name and URL segment.
List blog tags
A flat label a post can carry — the cross-cutting counterpart of a category, which is a place in a tree. A tag is two fields and its per-view overlay; posts are attached from the post's own tag_ids.
path Parameters
website_idId of the parent website.
query Parameters
page_sizeRows per page. Over the maximum is clamped, not rejected.
page_tokenOpaque token from a previous next_page_token. A token minted under a different order_by/filter is rejected.
skipRows to skip before the page (AIP-158). skip + page_size is capped at 10000; beyond that is OUT_OF_RANGE.
order_byComma-separated field [asc|desc], at most 3 keys. Default: display_name asc. Sortable: create_time, display_name, slug.
filterAIP-160 subset (§8). Filterable: audience, create_time, display_name, slug. A field outside the list is INVALID_ARGUMENT.
List blog tags › Responses
One page of blog_tags.
This page of blog_tags, in the requested order.
next_page_tokenOpaque. Absent or empty means this was the last page.
total_sizeRows in the whole filtered collection, not in this page.
Create blog tag
A flat label a post can carry — the cross-cutting counterpart of a category, which is a place in a tree. A tag is two fields and its per-view overlay; posts are attached from the post's own tag_ids.
path Parameters
website_idId of the parent website.
Create blog tag › Request Body
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
audienceWho the tag's own page is for, with the values of a post's audience. It hides the tag's archive and the tag itself on shared surfaces — the tag list, a post's tag chips — from other readers; it never hides a post that carries the tag.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
Create blog tag › Responses
The created resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
audienceWho the tag's own page is for, with the values of a post's audience. It hides the tag's archive and the tag itself on shared surfaces — the tag list, a post's tag chips — from other readers; it never hides a post that carries the tag.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
Get blog tag
A flat label a post can carry — the cross-cutting counterpart of a category, which is a place in a tree. A tag is two fields and its per-view overlay; posts are attached from the post's own tag_ids.
path Parameters
website_idId of the parent website.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
Headers
If-None-MatchA matching etag answers 304 with no body (§16).
Get blog tag › Responses
The resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
audienceWho the tag's own page is for, with the values of a post's audience. It hides the tag's archive and the tag itself on shared surfaces — the tag list, a post's tag chips — from other readers; it never hides a post that carries the tag.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
Delete blog tag
A flat label a post can carry — the cross-cutting counterpart of a category, which is a place in a tree. A tag is two fields and its per-view overlay; posts are attached from the post's own tag_ids.
path Parameters
website_idId of the parent website.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
Headers
If-MatchThe etag the client last read. A mismatch is ABORTED (409) with the current resource in the error details (§14).
Delete blog tag › Responses
Deleted. No body (§7).
Update blog tag
A flat label a post can carry — the cross-cutting counterpart of a category, which is a place in a tree. A tag is two fields and its per-view overlay; posts are attached from the post's own tag_ids.
path Parameters
website_idId of the parent website.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
query Parameters
update_maskComma-separated field paths to merge. A field named here and sent as null is cleared; without the mask a null is dropped (§7, §11).
Headers
If-MatchThe etag the client last read. A mismatch is ABORTED (409) with the current resource in the error details (§14).
Update blog tag › Request Body
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
audienceWho the tag's own page is for, with the values of a post's audience. It hides the tag's archive and the tag itself on shared surfaces — the tag list, a post's tag chips — from other readers; it never hides a post that carries the tag.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
Update blog tag › Responses
The updated resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
audienceWho the tag's own page is for, with the values of a post's audience. It hides the tag's archive and the tag itself on shared surfaces — the tag list, a post's tag chips — from other readers; it never hides a post that carries the tag.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
List blog tag views
What one view says instead of the master tag: its name and its URL segment. Which posts carry the tag is not a per-view decision.
path Parameters
website_idId of the parent website.
tag_idId of the parent tag.
query Parameters
page_sizeRows per page. Over the maximum is clamped, not rejected.
page_tokenOpaque token from a previous next_page_token. A token minted under a different order_by/filter is rejected.
skipRows to skip before the page (AIP-158). skip + page_size is capped at 10000; beyond that is OUT_OF_RANGE.
order_byComma-separated field [asc|desc], at most 3 keys. Default: create_time desc. Sortable: none — this collection serves its documented order only.
filterAIP-160 subset (§8). Filterable: none. A field outside the list is INVALID_ARGUMENT.
List blog tag views › Responses
One page of views.
This page of views, in the requested order.
next_page_tokenOpaque. Absent or empty means this was the last page.
total_sizeRows in the whole filtered collection, not in this page.
Create blog tag view
What one view says instead of the master tag: its name and its URL segment. Which posts carry the tag is not a per-view decision.
path Parameters
website_idId of the parent website.
tag_idId of the parent tag.
Create blog tag view › Request Body
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
slugThis view's URL segment for the tag.
Create blog tag view › Responses
The created resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
blog_tag_idThe resource this overlay belongs to. Fixed by the URL — an overlay cannot change master.
view_idThe view this overlay speaks for. Fixed by the URL.
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
slugThis view's URL segment for the tag.
Get blog tag view
What one view says instead of the master tag: its name and its URL segment. Which posts carry the tag is not a per-view decision.
path Parameters
website_idId of the parent website.
tag_idId of the parent tag.
view_idThe view this overlay speaks for. Fixed by the URL.
Headers
If-None-MatchA matching etag answers 304 with no body (§16).
Get blog tag view › Responses
The resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
blog_tag_idThe resource this overlay belongs to. Fixed by the URL — an overlay cannot change master.
view_idThe view this overlay speaks for. Fixed by the URL.
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
slugThis view's URL segment for the tag.
Delete blog tag view
What one view says instead of the master tag: its name and its URL segment. Which posts carry the tag is not a per-view decision.
path Parameters
website_idId of the parent website.
tag_idId of the parent tag.
view_idThe view this overlay speaks for. Fixed by the URL.
Headers
If-MatchThe etag the client last read. A mismatch is ABORTED (409) with the current resource in the error details (§14).
Delete blog tag view › Responses
Deleted. No body (§7).
Update blog tag view
What one view says instead of the master tag: its name and its URL segment. Which posts carry the tag is not a per-view decision.
path Parameters
website_idId of the parent website.
tag_idId of the parent tag.
view_idThe view this overlay speaks for. Fixed by the URL.
query Parameters
update_maskComma-separated field paths to merge. A field named here and sent as null is cleared; without the mask a null is dropped (§7, §11).
Headers
If-MatchThe etag the client last read. A mismatch is ABORTED (409) with the current resource in the error details (§14).
Update blog tag view › Request Body
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
slugThis view's URL segment for the tag.
Update blog tag view › Responses
The updated resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
blog_tag_idThe resource this overlay belongs to. Fixed by the URL — an overlay cannot change master.
view_idThe view this overlay speaks for. Fixed by the URL.
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
slugThis view's URL segment for the tag.