Desk
Put a draft on Outerport as a hosted project
Changed onTakes exactly one of name and project. With name, creates the caller's project of that name the first time, and replaces or adds files after that. With project instead (the id of a project the caller reaches, one shared with the caller's organization included, or the name of one of the caller's own), writes into that project, and deletes the stored paths remove names in the same write; a path in remove that matches no stored file (404), or that a sent file is at or under (400), refuses the deploy. Files neither sent nor removed stay. Answers the project's link, where it is read, reviewed and run in a browser.
post/api/v0/desk/drafts/deploy
Request
- Base URLhttps://api.outerport.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
object required
Changes
- info
endpoint added
- info