skills

Accept Update

Take the version you were held back from (TOS-3760, gap D5).

TOS-3713 shipped the hold and not the release. A new version that declares tools or capabilities beyond what the holder approved is deliberately NOT adopted, which is right, and until now there was no way to say yes: the hold was silent in the app and readable only by diffing two version ids nothing exposed. Seven holdings in production sit behind current.

This is a CONSENT-WIDENING write, so it is here rather than on the Marketplace router, whose docstring commits it to no writes precisely so the trust gate cannot fork. The caller is granting the current version's declared tools and capabilities; the client names that delta before asking (held_back.added_tools / added_capabilities), which is the same delta this recomputes rather than trusts from the request. There is no request body on purpose: the only thing a caller could put in one is the permission set they are approving, and accepting a set the client supplied would let a stale or hostile client widen a holding by naming permissions the user was never shown.

404 when the caller holds nothing here. 409 when nothing is held back, so a double-click cannot silently re-consent to a version that has moved on underneath the dialog.

post/api/skills/{skill_id}/accept-update

Request

  • Base URL: https://app.thinqos.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.thinqos.com/api/skills/{skill_id}/accept-update
  • Auth: none declared

Path parameters

skill_idstring uuid required

Headers

x-impersonate-identity-idstring nullable

Response

Successful Response

idstring uuid required
slugstring required
library_idstring uuid nullable
library_namestring nullable
bundle_hashstring nullable
schema_versionstring required
versioninteger required
enabledboolean required
approvedboolean required
requires_admin_approvalboolean
visibility'private' | 'public' required
source_kind'authored' | 'imported' | 'bundled' | 'plugin' required
imported_fromstring nullable
import_status'installing' | 'failed' | 'ready'
import_errorstring nullable
bodystring required
tool_reachability_warningsstring[]
bundled_programsstring[]
import_warningsstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.