Repository navigation
docs(osapi): add secret create - #708
Conversation
30ae604 to
0631720
Compare
|
Standards review: changes requested. 1 violation.
The pages otherwise pass: no em dash, no MUST, STE-style sentences, one subject in each page. |
0631720 to
3abb3d3
Compare
|
Standards review: approved. The diff is unchanged and passed my earlier review; the title is now short. |
|
Code review: approved Checked against osapi#1708 (open): create takes the name in the body, answers 201 with Location, 200 for the same value (constant-time compare) and 409 for a different one; update of a missing key is 404; create/update read before writing, so two concurrent creates can both write (the page says so); the |
f195a2e to
9521a3f
Compare
secret create makes a key, with the name in the body. An update of a key or a file that is not there is 404. Location takes several fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9521a3f to
7765ab3
Compare
|
Standards review: approved (head 7765ab3). Checked: the pages match osapi#1708 (merged) as it is on main. |
|
Code review (head 7765ab3): approved |
Depends: osapi-io/osapi#1708
The design pages for osapi#1708 (osapi#1666). CONTRIBUTING says one endpoint does not both create and update, and an update of a thing that is absent is an error.
vaults.md: the table hasPOST /api/secret/{vault}(osapi client secret create).createtakes the name in the body and answers 201 withLocation. A key that exists is 409, whatever its value; create checks only the list of keys.updateof a key that is not there is 404. The page says that create lists the keys before it writes, and that two creates of one new key at the same time can both write. The example writes with create, then update.endpoints.md:Locationtakes one field or more, joined by/and escaped. The file row has the 404 of an update. The secret group has seven methods, and the count is 46 operations (specs#710, merged, gave 45).secrets.md,agent-skills.md: put a value in withsecret create.osapi-lab/README.md: the controller role writes a missing key withcreateand a different value withupdate(osapi-lab PR to follow).Component PR: osapi-io/osapi#1708
🤖 Generated with Claude Code