Publish
Publish an artifact
Changed onCreate a new artifact or push a new version of an existing one. Every files[].path must be a safe relative path (see FileEntry.path); an unsafe one returns 400 INVALID_PATH with a hint naming it.
post/v1/publish
Request
- Base URLhttps://shareout.site
- URLhttps://shareout.site/v1/publish
- AuthHTTP bearer
Request body
Example request
{
"files": [
{
"path": "img/logo@2x.png"
}
],
"agent": {
"model": "claude-sonnet-5"
}
}Response
Published. Check visibility — when it is more private than asked, visibility_downgraded is true and notice says why; tell the user.
Changes
- warning
the
//request property's maxLength was set to512
- warning
- info
added the new optional request property
- info