Endpoints — Records, PUT
Every call in this family: what the card records, the edge cases that live on the call, and the verdict of every entry that measured it. Each of those lines names the door holding that entry's rules. The map is corpus/INDEX.md.
PUT /entity/<type>/<id>
Updates and returns the whole record, 77 attribute keys for a Shot. A key left out of the body is unchanged rather than cleared, and an empty body is a 200 no-op.
| you send | result |
|---|---|
{"description": "x"} |
set |
a body omitting description |
unchanged, not cleared |
{} |
200, nothing happens |
null for a clearable field |
cleared |
There is no PATCH.
PUThere is already a partial update, which is the opposite of what the verb usually means: it does not replace the record with the body.Clearing is per data type, not universal.
""on a text field storesnull;nullon acolorfield is refused outright; a bare list on amulti_entityreplaces every link.
Measured by
133_bearer_expiry(findings) — Every bearer refusal is 401 code 102Unauthorized; onlydetaildiffers:Token Expiredpast exp,Token invalidfor a bad signature, null for garbage or none. Re-mint on 401 code 102.
rules:doors/findings-auth028_loud_and_silent(findings) — A 400 is trustworthy and usually names the legal set, but a 200 proves nothing: an unknown field, sort key or query param is a no-op, and a batch can return an id for a row it never made.
rules:doors/findings-protocol144_rate_limit_burst(findings) — 300 mixed reads and writes at 28 per second for 10 s all answered 200 with no rate-limit header. Median latency doubled from 0.3 s to 0.6 s instead. Back off on latency, not on a status.
rules:doors/findings-protocol122_onset_entity_types(findings) — Slate, Camera, MocapTake, ShootDay and Scene create like Version:projectrequired,codegenerated. None hasattachments, and only Version.entity and Note.note_links reach them all.
rules:doors/findings-schema142_reverse_field(findings) — Every entity or multi_entity field makes a visible, editable multi_entity on each linked type. No create property stops it, and DELETE of the reverse field retires the forward field too.
rules:doors/findings-schema162_permission_rules_rest(findings) — Rules are readable over REST with their condition trees: an Admin person reads every group, a person only their own. No call writes one: PUT, POST and PATCH on the permission routes are 404.
rules:doors/findings-schema060_entity_dict_name(findings) — Thenamein an entity dict is the target'scached_display_name, filled on every type measured, single and multi alike. Read it, not the per-type identity field, and expect decoration.
rules:doors/findings-read068_note_read_state(findings) — read_by_current_user is per person and missing from the schema;isandis_notare evaluated, whilein,not_inand an unknownisvalue all return the unread rows at 200.
rules:doors/findings-filter150_group_resolution(findings) —task_assignees is <person>misses a Task assigned to their Group; filtertask_assignees.Group.users. Group assignment makes the members followers once, and an Artist reads Groups and members.
rules:doors/findings-filter024_read_after_write(findings) — Every write ignores ?fields. A create returns what you sent plus the server defaults, an update returns the whole record, and neither resolves a dotted path, so re-read for those and after an upload.
rules:doors/findings-write058_local_storage_roots(findings) — One create fills everylocal_path_*the storage row defines, whichever platform's root the path was under. The server picks the deepest matching root, and no conditional-write header is honoured.
rules:doors/findings-write069_client_note(findings) —client_notecannot be set over REST:trueon create is 400 and anyPUTis 400editable on create only.sg_note_type: "Client"is the one marker a caller can write.
rules:doors/findings-write070_authored_timestamps(findings) — A create body sets created_at and updated_at and they read back exactly, on Note, Task and Version, though the schema flags both editable false; every PUT on either 400s.
rules:doors/findings-write078_page_setting_write(findings) — A script cannot create a Page (HumanUser expected), a person can. settings_json writes only as a JSON string, reads back identical. DELETE on a PageSetting is 400: every created row is permanent.
rules:doors/findings-write084_task_template_reapply(findings) — Changingtask_templateto T creates a Task per T task no Task links bytemplate_task, duplicating a same-name hand-made one, and re-syncs the linked Tasks' fields and edges (probe 102).
rules:doors/findings-write085_task_dependency_types(findings) — TaskDependency takes fourdependency_typevalues, defaultfinish-to-start-next-day;offset_dayscounts working days and snaps the dependent both ways.shift_ratiomoved nothing.
rules:doors/findings-write087_dependency_cascade(findings) — An upstream date write reschedules every unpinned downstream Task, later and earlier alike; a null one moves none (097). A pinned Task stays put and flagsdependency_violationwhile broken.
rules:doors/findings-write089_task_delete_side_effects(findings) — Deleting a Task retires its TaskDependency rows, unlinks both neighbours without bridging them, and nullsVersion.sg_taskandPublishedFile.task. Revive restores all of it.
rules:doors/findings-write092_dependency_edge_reschedule(findings) — A new edge reschedules an unpinned downstream Task at once, whether POSTed or copied by a template apply on claim. A pinned one keeps its dates and flagsdependency_violation.
rules:doors/findings-write093_clear_dates_pin(findings) — On a dependent Task a start_date write pins it, null or real; a due_date write never does, null or real. A pinned null Task holds; PUT pinned:false refills both dates.
rules:doors/findings-write094_permission_preflight(findings) — Ask with a write that cannot land: a no-op PUT per field (update), a POST with a bad status (create), a _batch of [delete, 404 sentinel] (delete). Permission is checked first, and nothing is written.
rules:doors/findings-write095_dependency_remove_undo(findings) — Remove an edge withDELETEon its TaskDependency row: revive restores its type and offset. Aremoveonupstream_tasksordownstream_taskserases the row for good.
rules:doors/findings-write096_task_template_unmerge(findings) — A template write re-syncs every Task linked to it: fields but status reset, edges rewired. Undo: old template_task per Task first, then old task_template, then delete what B made.
rules:doors/findings-write097_null_dates_unpin(findings) — A Task with no upstream never pins, on a null or a real date write; nulling its dates leaves its downstream unmoved, and pinned:false refills nothing.
rules:doors/findings-write098_template_merge_in_one_batch(findings) — Recipe 015's merge fits one_batch: requests run in order, so atask_templatewrite sees claims made earlier in the batch, andnullthenTon the same Shot re-runs the apply.
rules:doors/findings-write099_template_apply_edge_copy_kept(findings) — A template apply copies a missing edge between two Tasks whosetemplate_taskalready match it, whether either was claimed, kept, or created by that same call.
rules:doors/findings-write100_duration_write_pin(findings) — Writing duration on a dependent Task does not pin it; a start_date write in the same run does. It keeps following the upstream, and a duration write upstream moves it.
rules:doors/findings-write101_template_edge_conflict(findings) — On a claimed pair, a template apply replaces an existing edge of another type, or the reverse edge, with the template's edge: the old row is erased, not retired, and the PUT is a plain 200.
rules:doors/findings-write102_task_template_resync(findings) — Writing task_template T re-syncs every Task linked to T: T's non-empty values overwrite, status kept, dates and assignees kept or filled if empty; edges between linked Tasks reset to T's.
rules:doors/findings-write104_template_unmerge_in_one_batch(findings) — Recipe 019's undo fits one_batchwith the same end state, if the batch skips edges its own task_template write removes: deleting one 404s and rolls back all. Undo to null deletes them.
rules:doors/findings-write105_offset_days_null_vs_zero(findings) — TaskDependencyoffset_daysnull and 0 are stored and compared as different: a template apply deletes an entity edge with null against a template 0 (or the reverse) and re-creates it with a new id.
rules:doors/findings-write106_template_task_linked_twice(findings) — With two Tasks linked to one template task, an apply re-syncs and wires only one of them, picked unpredictably (not by id, age or edges); the other is left as is. No error, nothing duplicated.
rules:doors/findings-write107_dependency_three_task_loop(findings) — A three-Task loop is a 400 on a direct create and inside_batch, which rolls back whole. A template apply deletes a claimed Task's upstream edge from a Task outside the template, loop or not.
rules:doors/findings-write108_task_template_resync_empties(findings) — Re-sync to T: a numeric 0 on T's task overwrites (est, duration); milestone false and "" (stored null) keep the Task's value; a Task with only start or only due keeps its null duration.
rules:doors/findings-write109_template_apply_outside_edge(findings) — A template apply erases an edge where a linked Task depends on a Task not linked to the template (root or not, other template, other Shot); it kept the edge with the outside Task downstream.
rules:doors/findings-write110_template_task_after_revive(findings) — Revive restorestemplate_task. A task_template write while the Task is retired re-creates it, so a later revive leaves two Tasks on one template task. Revive first, then write.
rules:doors/findings-write111_template_undo_outside_edge(findings) — An undo's write back to template A erases every edge whose downstream Task is A-linked and that A lacks, pre-merge edges included; recipe 022 DELETEs one such edge, 404s and rolls back.
rules:doors/findings-write143_nonadmin_rows(findings) — On the probed site an Artist may not create, edit or delete custom-entity rows (status only) and may create but not delete an Attachment, its own included. The group rights call predicts each answer.
rules:doors/findings-write145_time_fields(findings) — date_time rounds to the second on POST and PUT (.999 goes up, .5 stays) but truncates in a _batch create. A new timecode field has no rate property; it is integer ms rendered at the site's fixed rate.
rules:doors/findings-write146_note_unique_key(findings) — Aunique: truetext field works on Note as on Version (probe 127), and refuses a duplicate on PUT and under sudo too. ANote.metakey is found bycontains, case-sensitive, and enforces nothing.
rules:doors/findings-write148_note_author_fields(findings) —userandcreated_byare both honoured on a Note or Version create, though the schema flagscreated_byread only; a PUT to it is 400. Under sudo_as_login all three author fields are the person.
rules:doors/findings-write158_project_text_size(findings) — A custom text field on Project stored 1,000,000 characters of JSON byte for byte,\n,\r\nand tabs kept, with no refusal. Leading and trailing whitespace is stripped.
rules:doors/findings-write159_project_field_update_rights(findings) — An Admin updates a custom field on a Project, member or not. An Artist in the project reads it and gets 400 code 104The field is not editable for this useron a PUT; outside it, 404 on the read.
rules:doors/findings-write161_link_to_deleted_row(findings) — A link to a deleted row is hidden, not removed: it reads null or drops out, and returns on revive, even after a replace. A write naming a deleted row is 400 code 104Value is not legal.
rules:doors/findings-write164_vendor_writes(findings) — On the probed site a Vendor creates no Bid or Bid Line, by POST or_batch, and updates onlysg_status_list, each refusal 400 code 104. Both preflight reads predicted every answer.
rules:doors/findings-write166_vendor_award(findings) — On the probed site a Group added toShot.sg_vendor_groupsshows the Shot to its people on their next request; removing it hides it.sg_peoplegrants asusersdoes; other projects stay hidden.
rules:doors/findings-write168_group_create_rights(findings) — On the probed site a Manager or Admin person creates, renames, re-members and retires any Group; Artist and Vendor get 400 code 104. The person's own group rights on Group predict each answer.
rules:doors/findings-write123_photos_per_record(findings) —imagekeeps only a 480x320 thumbnail. A url field holds one original, a Note's attachments or a multi_entity to Attachment hold many; all return the bytes unchanged.
rules:doors/findings-upload135_attachment_custom_field_filename(findings) — Attachment takes a custom field over REST.filenamekeeps 90 and 200 characters but stores each space as_;isandstarts_withignore case, so filter on the name with_for spaces.
rules:doors/findings-upload049_script_events(findings) — A script's writes reach the event log only while its ApiUser has generate_event_log_entries True. The default is False and nothing errors when off. One create logs one row per field plus one _New.
rules:doors/findings-observe049_script_events(findings) — A script's writes reach the event log only while its ApiUser has generate_event_log_entries True. The default is False and nothing errors when off. One create logs one row per field plus one _New.
rules:doors/findings-observe067_notes_in_the_stream(findings) — A Reply reaches every linked stream in 33 s ascreate_reply, creates too; a script's Note create and status changes were absent after 430 s. Write as a person.
rules:doors/findings-observe090_template_task_events(findings) — A template-generated Task logs like a hand-made one plus atemplate_taskchange row,in_createtrue, credited to the caller. Filterattribute_nametemplate_taskto find them.
rules:doors/findings-observe124_updated_at_bumps(findings) —updated_atmoves on a write, a finished upload and its transcode, and on a link set from either end, but not on a no-op PUT and not when a Note names the row innote_links.
rules:doors/findings-observe149_note_update_activity(findings) — A person's Note create streams at once; a PUT tocontentoraddressings_towrites no stream row in 150 s but turns the addressee back to unread. An addressee added later follows at once.
rules:doors/findings-observe004_register_published_file(recipes) — Register the next PublishedFile without overwriting the last one, and write a path the server resolves for every platform
rules:doors/recipes006_media_round_trip(recipes) — Take media off one Version and put the same bytes on another, which is what every sync, transfer and hand-off does
rules:doors/recipes008_delivery_progress(recipes) — Keep a Delivery honest about what a long transfer is doing, including when it is cancelled and when it crashes
rules:doors/recipes009_multi_entity_safely(recipes) — Add to and remove from a multi_entity field without destroying the links you did not mean to touch
rules:doors/recipes015_apply_task_template_without_duplicates(recipes) — Apply a task template to an entity that already has Tasks, without duplicating the ones it already holds
rules:doors/recipes017_check_permission_before_writing(recipes) — Learn whether the signed-in person may update, create or delete a type before writing, with calls that change nothing
rules:doors/recipes019_undo_task_template_merge(recipes) — Undo a task template merge, returning an entity's Tasks, fields and dependencies to their state before it
rules:doors/recipes026_note_per_shot(recipes) — Keep one Note per Shot, addressed to the people on the Shot's Tasks, found again by a client key and updated in place
rules:doors/recipes028_settings_on_project(recipes) — Keep an app's settings for a project as JSON on the Project row, written by an Admin and read by everyone in the project
rules:doors/recipes030_create_a_group_as_a_person(recipes) — Create a Group as the signed-in person, once their permission group allows it, without a second Group of the same name
rules:doors/recipes004_update_mode_ignored_in_query_string(reports) — multi_entity_update_mode sent as a query parameter is accepted and ignored, and the whole link set is replaced when the caller asked to add.
rules:doors/reports005_writing_replies_deletes_rows(reports) — A write to Note.replies deletes the Reply rows rather than unlinking them, so PUT with an empty list destroys a thread at 200.
rules:doors/reports
Silent on this call
put_entity_type_id— Updates and returns the whole record, 77 attribute keys for a Shot. A key left out of the body is unchanged rather than cleared, and an empty body is a 200 no-op.028_loud_and_silent— A 400 is trustworthy and usually names the legal set, but a 200 proves nothing: an unknown field, sort key or query param is a no-op, and a batch can return an id for a row it never made.068_note_read_state— read_by_current_user is per person and missing from the schema;isandis_notare evaluated, whilein,not_inand an unknownisvalue all return the unread rows at 200.024_read_after_write— Every write ignores ?fields. A create returns what you sent plus the server defaults, an update returns the whole record, and neither resolves a dotted path, so re-read for those and after an upload.058_local_storage_roots— One create fills everylocal_path_*the storage row defines, whichever platform's root the path was under. The server picks the deepest matching root, and no conditional-write header is honoured.049_script_events— A script's writes reach the event log only while its ApiUser has generate_event_log_entries True. The default is False and nothing errors when off. One create logs one row per field plus one _New.049_script_events— A script's writes reach the event log only while its ApiUser has generate_event_log_entries True. The default is False and nothing errors when off. One create logs one row per field plus one _New.067_notes_in_the_stream— A Reply reaches every linked stream in 33 s ascreate_reply, creates too; a script's Note create and status changes were absent after 430 s. Write as a person.009_multi_entity_safely— Add to and remove from a multi_entity field without destroying the links you did not mean to touch
corpus/endpoints/put_entity_type_id.md
PUT /entity/projects/<id>/_update_last_accessed
Stamps one user's last visit to a project. Write-only: a user_id that does not exist answers the same 200, and nothing readable over REST changes.
| you send | result |
|---|---|
{"user_id": 3} |
200 |
{"user_id": "3"} |
200, the string is accepted |
{"user_id": 999999999} |
200, no error |
{} |
400 user_id is missing |
the path under shots |
404, detail null |
Project.last_accessed_by_current_useris relative to the requesting account, and a script has no HumanUser row to be current, so a script readsnullbefore and after its own call. It is not unreadable: a token acting as the stamped user reads the timestamp back. Measured on the probed site, a scriptPUTwith{"user_id": 24}then readnullas itself and'2026-09-08T16:00:59Z'throughscope=sudo_as_login:<that user>(probe 027). The write logged noEventLogEntry. Fire and forget only if you have no way to be the user you stamped.A bad
user_idis a silent 200. Validate the id againstGET /entity/human_usersfirst if it matters that the stamp landed.GETon the same path falls through to the file-field route, so the 404 names a field nobody asked for. The endpoint isPUTonly.
Measured by
048_one_record_beyond_crud(findings) — POST on one record is revive, not update:?revive=1is required and the body is ignored./<field>reads image and attachment fields only, andrelationships/<field>is the same data, unpaged.
rules:doors/findings-read
Silent on this call
put_entity_projects_id_update_last_accessed— Stamps one user's last visit to a project. Write-only: auser_idthat does not exist answers the same 200, and nothing readable over REST changes.048_one_record_beyond_crud— POST on one record is revive, not update:?revive=1is required and the body is ignored./<field>reads image and attachment fields only, andrelationships/<field>is the same data, unpaged.
corpus/endpoints/put_entity_projects_id_update_last_accessed.md