mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-10 12:37:55 +01:00
fix(api): describe catalog install creation response status
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
ce293f7ac7
commit
3895fcf431
1 file changed
+1
-1
@@ -3105,7 +3105,7 @@ for (const route of [
|
||||
summary: route[2],
|
||||
...(route[1].endsWith("/install") ? {
|
||||
description: "Imports team resources; HTTP success does not prove every required skill is ready. Read warnings for post-import failures and skillPreparations for required sources; a preparation plan is not proof of installation. Report unresolved requirements as partial completion and preserve existing resources. Use the actual returned portabilityImport agents and projects for company-scoped resource links. Before repeating an uncertain install, inspect installed teams and saved resource identities rather than creating another copy. resourceLinks provides canonical company-scoped hrefs for actual saved agents, projects and routines, including reused resources; share these links with the installation outcome.",
|
||||
responses: { 200: r.ok(z.object({ resourceLinks: z.array(z.object({
|
||||
responses: { 201: r.ok(z.object({ resourceLinks: z.array(z.object({
|
||||
kind: z.enum(["agent", "project", "routine"]), id: z.string(), name: z.string(), href: z.string(),
|
||||
})) }).passthrough()), 400: r.badRequest, 401: r.unauthorized, 403: r.forbidden, 404: r.notFound },
|
||||
} : {}),
|
||||
|
||||
Reference in new issue
Block a user