Editorial slots
The rolling calendar that turns the plan and the backlog into dated drafts: a slot becomes a post with :materialize and goes live with :publish, and :skip drops a date without giving it up.
List editorial slots
One cell of the content calendar: a moment, the topic that fills it, and the content it produced. A slot is created by the desk from the plan's schedule, or by hand for a date you want yourself. Its moment is unique, which is how a date you chose is never overwritten — the desk simply never plans on a taken moment. :skip drops the date and returns its topic to the backlog, :materialize prepares the draft now rather than waiting, and :publish makes that draft live.
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: scheduled_time asc. Sortable: scheduled_time.
filterAIP-160 subset (§8). Filterable: origin, review_verdict, scheduled_time, status, target_id, target_type, title, topic_id. A field outside the list is INVALID_ARGUMENT.
List editorial slots › Responses
One page of editorial_slots.
This page of editorial_slots, 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 editorial slot
Puts your own piece on a date, instead of waiting for the desk to plan one. Send at least a scheduled_time; name a topic_id to take an idea off the backlog, or just a title to schedule something that was never on it.
A moment carries one slot, so a date that already has one answers ALREADY_EXISTS — edit the slot that is there rather than adding a second. A slot created here belongs to you from then on: the desk never plans over it and never changes it.
path Parameters
website_idId of the parent website.
Create editorial slot › Request Body
scheduled_timeWhen this piece goes out. Unique across the website — one slot per moment — and the order the calendar is read in. Moving a slot is a write of this field, and it takes the slot out of the desk's hands.
topic_idThe editorial_topics resource filling this slot. Empty on a slot someone put on the calendar with a title and no backlog entry.
titleThe headline this slot stands for, copied from its topic when the slot was made. It is a snapshot, so a month of calendar draws without reading every topic — and so a topic renamed later does not rewrite a slot that already produced a draft.
target_typeWhat this slot produces. Defaults to the plan's and cannot be changed afterwards: a slot that switched kind mid-flight would leave its draft behind with nothing pointing at it.
content_modeWho fills this one slot, overriding the plan's content_mode for this date alone — "I am writing this Friday myself". Absent, the plan decides. It can be set while the slot is still PLANNED or FAILED, not once its draft exists.
Create editorial slot › 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).
scheduled_timeWhen this piece goes out. Unique across the website — one slot per moment — and the order the calendar is read in. Moving a slot is a write of this field, and it takes the slot out of the desk's hands.
topic_idThe editorial_topics resource filling this slot. Empty on a slot someone put on the calendar with a title and no backlog entry.
titleThe headline this slot stands for, copied from its topic when the slot was made. It is a snapshot, so a month of calendar draws without reading every topic — and so a topic renamed later does not rewrite a slot that already produced a draft.
target_typeWhat this slot produces. Defaults to the plan's and cannot be changed afterwards: a slot that switched kind mid-flight would leave its draft behind with nothing pointing at it.
target_idThe blog_posts resource this slot created. It is also what makes preparing a draft safe to repeat — a slot that already names its post never gets a second one.
statusWhere the slot stands: PLANNED before its draft exists, GENERATING while a producer is writing it, DRAFTED once it does, PUBLISHED once that post is live, SKIPPED if the date was dropped, FAILED if preparing the draft did not work. FAILED is retried where the retry is free, and left to you where it is not.
originAUTO while the slot is the desk's to manage, MANUAL once a person created or edited it — after which the desk leaves it alone for good. This is the whole of "a person outranks the schedule".
last_errorWhy the last attempt to prepare this slot's draft did not work. Cleared as soon as one succeeds, so it always describes the present.
content_modeWho fills this one slot, overriding the plan's content_mode for this date alone — "I am writing this Friday myself". Absent, the plan decides. It can be set while the slot is still PLANNED or FAILED, not once its draft exists.
generation_idThe latest editorial_generations run producing this slot's content, when a producer other than a person is writing it. Absent on a slot nobody generated.
review_verdictWhat the producer's own check made of the content: PASSED, or NEEDS_REVIEW when a person should read it before it goes out. A snapshot of the run's verdict, kept here so a month of calendar draws its badges without reading every run.
Get editorial slot
One cell of the content calendar: a moment, the topic that fills it, and the content it produced. A slot is created by the desk from the plan's schedule, or by hand for a date you want yourself. Its moment is unique, which is how a date you chose is never overwritten — the desk simply never plans on a taken moment. :skip drops the date and returns its topic to the backlog, :materialize prepares the draft now rather than waiting, and :publish makes that draft live.
path Parameters
website_idId of the parent website.
editorial_slot_idId of the parent editorial_slot.
Headers
If-None-MatchA matching etag answers 304 with no body (§16).
Get editorial slot › 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).
scheduled_timeWhen this piece goes out. Unique across the website — one slot per moment — and the order the calendar is read in. Moving a slot is a write of this field, and it takes the slot out of the desk's hands.
topic_idThe editorial_topics resource filling this slot. Empty on a slot someone put on the calendar with a title and no backlog entry.
titleThe headline this slot stands for, copied from its topic when the slot was made. It is a snapshot, so a month of calendar draws without reading every topic — and so a topic renamed later does not rewrite a slot that already produced a draft.
target_typeWhat this slot produces. Defaults to the plan's and cannot be changed afterwards: a slot that switched kind mid-flight would leave its draft behind with nothing pointing at it.
target_idThe blog_posts resource this slot created. It is also what makes preparing a draft safe to repeat — a slot that already names its post never gets a second one.
statusWhere the slot stands: PLANNED before its draft exists, GENERATING while a producer is writing it, DRAFTED once it does, PUBLISHED once that post is live, SKIPPED if the date was dropped, FAILED if preparing the draft did not work. FAILED is retried where the retry is free, and left to you where it is not.
originAUTO while the slot is the desk's to manage, MANUAL once a person created or edited it — after which the desk leaves it alone for good. This is the whole of "a person outranks the schedule".
last_errorWhy the last attempt to prepare this slot's draft did not work. Cleared as soon as one succeeds, so it always describes the present.
content_modeWho fills this one slot, overriding the plan's content_mode for this date alone — "I am writing this Friday myself". Absent, the plan decides. It can be set while the slot is still PLANNED or FAILED, not once its draft exists.
generation_idThe latest editorial_generations run producing this slot's content, when a producer other than a person is writing it. Absent on a slot nobody generated.
review_verdictWhat the producer's own check made of the content: PASSED, or NEEDS_REVIEW when a person should read it before it goes out. A snapshot of the run's verdict, kept here so a month of calendar draws its badges without reading every run.
Delete editorial slot
Removes the date from the calendar. Its topic goes back to the backlog, and any draft it already produced is left alone — that is a post with a life of its own, and dropping a calendar cell is not a reason to delete somebody's article.
Deleting frees the moment, so the desk may plan something else there. To keep a date deliberately empty, use :skip instead.
path Parameters
website_idId of the parent website.
editorial_slot_idId of the parent editorial_slot.
Headers
If-MatchThe etag the client last read. A mismatch is ABORTED (409) with the current resource in the error details (§14).
Delete editorial slot › Responses
Deleted. No body (§7).
Update editorial slot
Moves a slot, or changes what fills it: scheduled_time to publish on another date, topic_id to swap the idea, title to reword the headline the calendar shows. There is no separate reschedule call — moving a slot is writing its time.
Any edit here hands the slot to you permanently: the desk stops planning it and will not change it again. Swapping the topic returns the previous one to the backlog and takes the new one out of it.
path Parameters
website_idId of the parent website.
editorial_slot_idId of the parent editorial_slot.
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 editorial slot › Request Body
scheduled_timeWhen this piece goes out. Unique across the website — one slot per moment — and the order the calendar is read in. Moving a slot is a write of this field, and it takes the slot out of the desk's hands.
topic_idThe editorial_topics resource filling this slot. Empty on a slot someone put on the calendar with a title and no backlog entry.
titleThe headline this slot stands for, copied from its topic when the slot was made. It is a snapshot, so a month of calendar draws without reading every topic — and so a topic renamed later does not rewrite a slot that already produced a draft.
content_modeWho fills this one slot, overriding the plan's content_mode for this date alone — "I am writing this Friday myself". Absent, the plan decides. It can be set while the slot is still PLANNED or FAILED, not once its draft exists.
Update editorial slot › 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).
scheduled_timeWhen this piece goes out. Unique across the website — one slot per moment — and the order the calendar is read in. Moving a slot is a write of this field, and it takes the slot out of the desk's hands.
topic_idThe editorial_topics resource filling this slot. Empty on a slot someone put on the calendar with a title and no backlog entry.
titleThe headline this slot stands for, copied from its topic when the slot was made. It is a snapshot, so a month of calendar draws without reading every topic — and so a topic renamed later does not rewrite a slot that already produced a draft.
target_typeWhat this slot produces. Defaults to the plan's and cannot be changed afterwards: a slot that switched kind mid-flight would leave its draft behind with nothing pointing at it.
target_idThe blog_posts resource this slot created. It is also what makes preparing a draft safe to repeat — a slot that already names its post never gets a second one.
statusWhere the slot stands: PLANNED before its draft exists, GENERATING while a producer is writing it, DRAFTED once it does, PUBLISHED once that post is live, SKIPPED if the date was dropped, FAILED if preparing the draft did not work. FAILED is retried where the retry is free, and left to you where it is not.
originAUTO while the slot is the desk's to manage, MANUAL once a person created or edited it — after which the desk leaves it alone for good. This is the whole of "a person outranks the schedule".
last_errorWhy the last attempt to prepare this slot's draft did not work. Cleared as soon as one succeeds, so it always describes the present.
content_modeWho fills this one slot, overriding the plan's content_mode for this date alone — "I am writing this Friday myself". Absent, the plan decides. It can be set while the slot is still PLANNED or FAILED, not once its draft exists.
generation_idThe latest editorial_generations run producing this slot's content, when a producer other than a person is writing it. Absent on a slot nobody generated.
review_verdictWhat the producer's own check made of the content: PASSED, or NEEDS_REVIEW when a person should read it before it goes out. A snapshot of the run's verdict, kept here so a month of calendar draws its badges without reading every run.
Materialize (editorial slot)
Prepares this slot's draft now, rather than waiting until its date comes near. The draft is created switched off, dated at the slot's moment, with the topic's note as its teaser and the categories, tags and byline the topic or the plan calls for — so whoever writes it opens a post that already knows what it is for.
Safe to repeat: a slot that already has content answers with the same content instead of making a second copy. It never publishes anything — that is :publish.
path Parameters
website_idId of the parent website.
editorial_slot_idId of the parent editorial_slot.
Materialize (editorial slot) › Request Body optional
Materialize (editorial slot) › Responses
The affected resource, or the method’s own response object (§10).
Publish (editorial slot)
Makes this slot's draft live. The date was already set when the draft was prepared, so this only flips it on; the slot reaches its published state and its topic is marked used.
Nothing publishes on its own — an article the platform wrote nothing into going out unread is a defect, not a feature — so this call is the only way a planned piece becomes visible.
path Parameters
website_idId of the parent website.
editorial_slot_idId of the parent editorial_slot.
Publish (editorial slot) › Request Body optional
Publish (editorial slot) › Responses
The affected resource, or the method’s own response object (§10).
Skip (editorial slot)
Drops this date without giving it up: the slot stays on the calendar as skipped, its topic returns to the backlog, and — because the moment is still taken — the desk will not quietly plan something else there. That is the difference from Delete, and it is how «not this week» survives the next time the calendar is filled.
A slot whose post is already published cannot be skipped.
path Parameters
website_idId of the parent website.
editorial_slot_idId of the parent editorial_slot.
Skip (editorial slot) › Request Body optional
Skip (editorial slot) › Responses
The affected resource, or the method’s own response object (§10).